Re: how to get virtual address from dma address

From: Linux Bigot (linuxopinion@yahoo.com)
Date: Wed Oct 03 2001 - 16:11:08 EST


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/



This archive was generated by hypermail 2b29 : Sun Oct 07 2001 - 21:00:29 EST