Re: how to get virtual address from dma address

Linux Bigot (linuxopinion@yahoo.com)
Wed, 3 Oct 2001 14:11:08 -0700 (PDT)


Then why isn't there a call like pci_unmap_single()

Thanks

--- Ben Collins <bcollins@debian.org> wrote:
> On Wed, Oct 03, 2001 at 09:37:00AM -0700, Linux
> Bigot wrote:
> > Please tell me why can't I use bus_to_virt().
>
> Because bus_to_virt/virt_to_bus is obsolete, and
> using it will make your
> driver non-portable to some architectures.
>
> --
>
>
.----------=======-=-======-=========-----------=====------------=-=-----.
> / Ben Collins -- Debian
> GNU/Linux \
> ` bcollins@debian.org -- bcollins@openldap.org
> -- bcollins@linux.com '
>
`---=========------=======-------------=-=-----=-===-======-------=--=---'

__________________________________________________
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/