From: Amos Kong Date: Sat, 17 Sep 2011 04:02:06 +0000 (+1000) Subject: Documentation/PCI/pci.txt: fix a reference doc name X-Git-Tag: next-20110919~67^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b814f0357fbe0ff8ad45a71b8733be5274edb747;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.