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 <kongjianjun@gmail.com>
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
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.