From 181f295708310174fbf1179cca4e3380714939e1 Mon Sep 17 00:00:00 2001 From: Amos Kong Date: Thu, 15 Sep 2011 11:07:44 +1000 Subject: [PATCH] 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 --- Documentation/PCI/pci.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.39.5