* [PATCH] Documentation/DMA-ISA-LPC: fix an incorrect reference
@ 2019-02-11 13:43 Christoph Hellwig
2019-02-11 15:23 ` Jonathan Corbet
0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2019-02-11 13:43 UTC (permalink / raw)
To: corbet; +Cc: linux-doc, linux-kernel
AFAIK we never had a isa_virt_to_phys, it always was
isa_virt_to_bus.
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
Documentation/DMA-ISA-LPC.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/DMA-ISA-LPC.txt b/Documentation/DMA-ISA-LPC.txt
index 8c2b8be6e45b..b1ec7b16c21f 100644
--- a/Documentation/DMA-ISA-LPC.txt
+++ b/Documentation/DMA-ISA-LPC.txt
@@ -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.
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Documentation/DMA-ISA-LPC: fix an incorrect reference
2019-02-11 13:43 [PATCH] Documentation/DMA-ISA-LPC: fix an incorrect reference Christoph Hellwig
@ 2019-02-11 15:23 ` Jonathan Corbet
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2019-02-11 15:23 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: linux-doc, linux-kernel
On Mon, 11 Feb 2019 14:43:23 +0100
Christoph Hellwig <hch@lst.de> wrote:
> AFAIK we never had a isa_virt_to_phys, it always was
> isa_virt_to_bus.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
> Documentation/DMA-ISA-LPC.txt | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/DMA-ISA-LPC.txt b/Documentation/DMA-ISA-LPC.txt
> index 8c2b8be6e45b..b1ec7b16c21f 100644
> --- a/Documentation/DMA-ISA-LPC.txt
> +++ b/Documentation/DMA-ISA-LPC.txt
> @@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-02-11 15:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-11 13:43 [PATCH] Documentation/DMA-ISA-LPC: fix an incorrect reference Christoph Hellwig
2019-02-11 15:23 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).