* [PATCH] doc: pci_module_init() removal
@ 2006-07-19 23:40 Arthur Othieno
2006-07-21 10:32 ` Pekka Enberg
0 siblings, 1 reply; 3+ messages in thread
From: Arthur Othieno @ 2006-07-19 23:40 UTC (permalink / raw)
To: gregkh; +Cc: Richard Knutsson, linux-kernel
pci_module_init() is deprecated and on it's way out in favor of
pci_register_driver(). Remove all documentation references to it.
Signed-off-by: Arthur Othieno <apgo@patchbomb.org>
---
Documentation/PCIEBUS-HOWTO.txt | 2 +-
Documentation/pci.txt | 2 --
2 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/Documentation/PCIEBUS-HOWTO.txt b/Documentation/PCIEBUS-HOWTO.txt
index c93f42a..7369219 100644
--- a/Documentation/PCIEBUS-HOWTO.txt
+++ b/Documentation/PCIEBUS-HOWTO.txt
@@ -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
diff --git a/Documentation/pci.txt b/Documentation/pci.txt
index 2b395e4..b75a481 100644
--- a/Documentation/pci.txt
+++ b/Documentation/pci.txt
@@ -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
--
1.4.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] doc: pci_module_init() removal
2006-07-19 23:40 [PATCH] doc: pci_module_init() removal Arthur Othieno
@ 2006-07-21 10:32 ` Pekka Enberg
2006-07-21 10:34 ` Pekka Enberg
0 siblings, 1 reply; 3+ messages in thread
From: Pekka Enberg @ 2006-07-21 10:32 UTC (permalink / raw)
To: Arthur Othieno; +Cc: gregkh, Richard Knutsson, linux-kernel
On 7/20/06, Arthur Othieno <apgo@patchbomb.org> wrote:
> pci_module_init() is deprecated and on it's way out in favor of
> pci_register_driver(). Remove all documentation references to it.
[snip]
> diff --git a/Documentation/PCIEBUS-HOWTO.txt b/Documentation/PCIEBUS-HOWTO.txt
> index c93f42a..7369219 100644
> --- a/Documentation/PCIEBUS-HOWTO.txt
> +++ b/Documentation/PCIEBUS-HOWTO.txt
> @@ -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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] doc: pci_module_init() removal
2006-07-21 10:32 ` Pekka Enberg
@ 2006-07-21 10:34 ` Pekka Enberg
0 siblings, 0 replies; 3+ messages in thread
From: Pekka Enberg @ 2006-07-21 10:34 UTC (permalink / raw)
To: Arthur Othieno; +Cc: gregkh, Richard Knutsson, linux-kernel
On 7/20/06, Arthur Othieno <apgo@patchbomb.org> wrote:
> > -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
On 7/21/06, Pekka Enberg <penberg@cs.helsinki.fi> wrote:
> This doesn't look right.
Oh, it's just me being confused. Sorry for the noise.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-07-21 10:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-19 23:40 [PATCH] doc: pci_module_init() removal Arthur Othieno
2006-07-21 10:32 ` Pekka Enberg
2006-07-21 10:34 ` Pekka Enberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome