On 09/12/11 19:50, Amos Kong wrote: > 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@xxxxxxxxx> Applied, thanks. > --- > Documentation/PCI/pci.txt | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/PCI/pci.txt b/Documentation/PCI/pci.txt > index 6148d40..b3834a9 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. -- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html