lkml.org 
[lkml]   [2019]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Documentation/DMA-ISA-LPC: fix an incorrect reference
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

\
 
 \ /
  Last update: 2019-02-11 16:24    [W:0.023 / U:10.600 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site