Re: How to replace bus_to_virt()?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Just make your own macro! When they change the "@(#*%^+@~%" kernel,
> which they will continue to do,

we're not changing 2.6.12. If you don't want changes you can just keep
using the kernel you are using ;)

>  just adapt your macro. You've
> probably already figured out that, for ix86-32 bits (no extended
> addressing), you OR in PAGE_OFFSET. That's an artifact of how the
> pages tables are set up.

and that isn't even possible like that on other architectures, like ones
which have IOMMU's. That is actually the reason stuff like this is
deprecated, and why we have a real API for dma nowadays. 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux