Skip to contentSkip to conversation

bus/pci: update files description

PATCH Applied Thomas Monjalon 2 participants 3 messages May 2, 2021 – Jul 6, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bus/pci: update files description

Some files were starting with some outdated introductions.

---
 drivers/bus/pci/bsd/pci.c        | 9 +--------
 drivers/bus/pci/linux/pci.c      | 6 +-----
 drivers/bus/pci/linux/pci_vfio.c | 2 +-
 drivers/bus/pci/rte_bus_pci.h    | 3 +--
 4 files changed, 4 insertions(+), 16 deletions(-)
drivers/bus/pci/bsd/pci.c +1 -8
index 4b8a208781..d189bff311 100644
@@ -45,14 +45,7 @@
 
 /**
  * @file
- * PCI probing under BSD
- *
- * This code is used to simulate a PCI probe by parsing information in
- * sysfs. Moreover, when a registered driver matches a device, the
- * kernel driver currently using it is unloaded and replaced by
- * nic_uio module, which is a very minimal userland driver for Intel
- * network card, only providing access to PCI BAR to applications, and
- * enabling bus master.
+ * PCI probing under BSD.
  */
 
 extern struct rte_pci_bus rte_pci_bus;
drivers/bus/pci/linux/pci.c +1 -5
index 0dc99e9cb2..eb12d2ff70 100644
@@ -21,11 +21,7 @@
 
 /**
  * @file
- * PCI probing under linux
- *
- * This code is used to simulate a PCI probe by parsing information in sysfs.
- * When a registered device matches a driver, it is then initialized with
- * IGB_UIO driver (or doesn't initialize, if the device wasn't bound to it).
+ * PCI probing using Linux sysfs.
  */
 
 extern struct rte_pci_bus rte_pci_bus;
drivers/bus/pci/linux/pci_vfio.c +1 -1
index 07706f7338..a024269140 100644
@@ -29,7 +29,7 @@
 
 /**
  * @file
- * PCI probing under linux (VFIO version)
+ * PCI probing using Linux VFIO.
  *
  * This code tries to determine if the PCI device is bound to VFIO driver,
  * and initialize it (map BARs, set up interrupts) if that's the case.
drivers/bus/pci/rte_bus_pci.h +1 -2
index 64886b4731..cfc804ea10 100644
@@ -8,8 +8,7 @@
 
 /**
  * @file
- *
- * RTE PCI Bus Interface
+ * PCI device & driver interface
  */
 
 #ifdef __cplusplus
Signature · 1 line
2.31.1