OSDN Git Service

Documentation/DMA-ISA-LPC: fix an incorrect reference
authorChristoph Hellwig <hch@lst.de>
Mon, 11 Feb 2019 13:43:23 +0000 (14:43 +0100)
committerJonathan Corbet <corbet@lwn.net>
Mon, 11 Feb 2019 15:23:07 +0000 (08:23 -0700)
AFAIK we never had a isa_virt_to_phys, it always was
isa_virt_to_bus.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/DMA-ISA-LPC.txt

index 8c2b8be..b1ec7b1 100644 (file)
@@ -52,8 +52,8 @@ Address translation
 -------------------
 
 To translate the virtual address to a bus address, use the normal DMA
-API. Do _not_ use isa_virt_to_phys() even though it does the same
-thing. The reason for this is that the function isa_virt_to_phys()
+API. Do _not_ use isa_virt_to_bus() even though it does the same
+thing. The reason for this is that the function isa_virt_to_bus()
 will require a Kconfig dependency to ISA, not just ISA_DMA_API which
 is really all you need. Remember that even though the DMA controller
 has its origins in ISA it is used elsewhere.