Documentation/DMA-ISA-LPC: fix an incorrect reference
PATCH 1/1 Documentation/DMA-ISA-LPC: fix an incorrect reference
AFAIK we never had a isa_virt_to_phys, it always was isa_virt_to_bus.
Signed-off-by Christoph Hellwig <[email protected]>
--- Documentation/DMA-ISA-LPC.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/DMA-ISA-LPC.txt +2 -2
@@ -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.
Signature · 1 line
2.20.1
Quoted 13 lines · On Mon, 11 Feb 2019 14:43:23 +0100 Christoph Hellwig <[email protected]> wrote:
AFAIK we never had a
isa_virt_to_phys, it always wasisa_virt_to_bus.Signed-off-by Christoph Hellwig <[email protected]>--- Documentation/DMA-ISA-LPC.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)Documentation/DMA-ISA-LPC.txt +0
-0
Documentation/DMA-ISA-LPC.txt Address translation · line 59
Quoted 10 lines
Documentation/DMA-ISA-LPC.txt +2
-2@@ -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.
Applied, thanks.
jon