From: Amos Kong Date: Thu, 15 Sep 2011 01:07:44 +0000 (+1000) Subject: Documentation/PCI/pci.txt: fix a reference doc name X-Git-Tag: next-20110915~64^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=181f295708310174fbf1179cca4e3380714939e1;p=karo-tx-linux.git Documentation/PCI/pci.txt: fix a reference doc name IO-mapping.txt was renamed to "bus-virt-phys-mapping.txt", it does only contain a tiny reference to the ioremap(), the best reference is to Documentation/DocBook/deviceiobook.tmpl, which is all about accessing device registers. Changes from v1: - change reference doc to "Documentation/DocBook/deviceiobook.tmpl" Signed-off-by: Amos Kong Signed-off-by: Randy Dunlap --- diff --git a/Documentation/PCI/pci.txt b/Documentation/PCI/pci.txt index 6148d4080f88..b3834a93887b 100644 --- a/Documentation/PCI/pci.txt +++ b/Documentation/PCI/pci.txt @@ -314,8 +314,8 @@ from the PCI device config space. Use the values in the pci_dev structure as the PCI "bus address" might have been remapped to a "host physical" address by the arch/chip-set specific kernel support. -See Documentation/IO-mapping.txt for how to access device registers -or device memory. +See Documentation/DocBook/deviceiobook.tmpl for how to access device +registers or device memory. The device driver needs to call pci_request_region() to verify no other device is already using the same address resource.