Skip to contentSkip to conversation

doc: pci_module_init() removal

PATCH In review Arthur Othieno 2 participants 3 messages Jul 19, 2006 – Jul 21, 2006 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: pci_module_init() removal

pci_module_init() is deprecated and on it's way out in favor of pci_register_driver(). Remove all documentation references to it.

---
 Documentation/PCIEBUS-HOWTO.txt |    2 +-
 Documentation/pci.txt           |    2 --
 2 files changed, 1 insertions(+), 3 deletions(-)
Documentation/PCIEBUS-HOWTO.txt +1 -1
index c93f42a..7369219 100644
@@ -93,7 +93,7 @@ the PCI Express Port Bus driver from loa
 
 int pcie_port_service_register(struct pcie_port_service_driver *new)
 
-This API replaces the Linux Driver Model's pci_module_init API. A
+This API replaces the Linux Driver Model's pci_register_driver API. A
 service driver should always calls pcie_port_service_register at
 module init. Note that after service driver being loaded, calls
 such as pci_enable_device(dev) and pci_set_master(dev) are no longer
Documentation/pci.txt +0 -2
index 2b395e4..b75a481 100644
@@ -236,8 +236,6 @@ pci_find_slot()			Find pci_dev correspon
 pci_set_power_state()		Set PCI Power Management state (0=D0 ... 3=D3)
 pci_find_capability()		Find specified capability in device's capability
 				list.
-pci_module_init()		Inline helper function for ensuring correct
-				pci_driver initialization and error handling.
 pci_resource_start()		Returns bus start address for a given PCI region
 pci_resource_end()		Returns bus end address for a given PCI region
 pci_resource_len()		Returns the byte length of a PCI region
Signature · 1 line
1.4.0
#1 lore raw
Quoted 2 lines · Arthur Othieno

pci_module_init() is deprecated and on it's way out in favor of pci_register_driver(). Remove all documentation references to it.

[snip]

Documentation/PCIEBUS-HOWTO.txt the PCI Express Port Bus driver from loa · line 96

Quoted 10 lines
Documentation/PCIEBUS-HOWTO.txt +1 -1
index c93f42a..7369219 100644
@@ -93,7 +93,7 @@ the PCI Express Port Bus driver from loa
 
 int pcie_port_service_register(struct pcie_port_service_driver *new)
 
-This API replaces the Linux Driver Model's pci_module_init API. A
+This API replaces the Linux Driver Model's pci_register_driver API. A

This doesn't look right.

#2 lore raw
Quoted 2 lines · Arthur Othieno
Quoted 2 lines
Documentation/PCIEBUS-HOWTO.txt +1 -1
-This API replaces the Linux Driver Model's pci_module_init API. A
+This API replaces the Linux Driver Model's pci_register_driver API. A
Quoted 1 line · Pekka Enberg

This doesn't look right.

Oh, it's just me being confused. Sorry for the noise.