diff options
author | Yijing Wang <wangyijing@huawei.com> | 2013-09-02 02:34:40 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-09-25 17:43:33 -0400 |
commit | a37bee7956ab34785815aafbe9f920c2cfd02b97 (patch) | |
tree | 7cd0e98efc9fdb6088e1ca1df2782e17023e5015 /Documentation | |
parent | 62a276f81fca41778abd8cb6d720a36302a89473 (diff) |
PCI: Update pci_find_slot() description in pci.txt
pci_find_slot() has been removed from the kernel. Document its
closest replacement, pci_get_domain_bus_and_slot(), instead.
[bhelgaas: fix indentation, keep mention in "obsolete" section]
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/PCI/pci.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Documentation/PCI/pci.txt b/Documentation/PCI/pci.txt index bccf602a87f5..6f458564d625 100644 --- a/Documentation/PCI/pci.txt +++ b/Documentation/PCI/pci.txt | |||
@@ -525,8 +525,9 @@ corresponding register block for you. | |||
525 | 6. Other interesting functions | 525 | 6. Other interesting functions |
526 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 526 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
527 | 527 | ||
528 | pci_find_slot() Find pci_dev corresponding to given bus and | 528 | pci_get_domain_bus_and_slot() Find pci_dev corresponding to given domain, |
529 | slot numbers. | 529 | bus and slot and number. If the device is |
530 | found, its reference count is increased. | ||
530 | pci_set_power_state() Set PCI Power Management state (0=D0 ... 3=D3) | 531 | pci_set_power_state() Set PCI Power Management state (0=D0 ... 3=D3) |
531 | pci_find_capability() Find specified capability in device's capability | 532 | pci_find_capability() Find specified capability in device's capability |
532 | list. | 533 | list. |
@@ -582,7 +583,8 @@ having sane locking. | |||
582 | 583 | ||
583 | pci_find_device() Superseded by pci_get_device() | 584 | pci_find_device() Superseded by pci_get_device() |
584 | pci_find_subsys() Superseded by pci_get_subsys() | 585 | pci_find_subsys() Superseded by pci_get_subsys() |
585 | pci_find_slot() Superseded by pci_get_slot() | 586 | pci_find_slot() Superseded by pci_get_domain_bus_and_slot() |
587 | pci_get_slot() Superseded by pci_get_domain_bus_and_slot() | ||
586 | 588 | ||
587 | 589 | ||
588 | The alternative is the traditional PCI device driver that walks PCI | 590 | The alternative is the traditional PCI device driver that walks PCI |