Re: [PATCH] isa_virt_to_bus and co on Alpha

From: Ivan Kokshaysky (ink@jurassic.park.msu.ru)
Date: Mon Jan 27 2003 - 04:30:57 EST


On Sun, Jan 26, 2003 at 08:33:27PM +0100, Marc Zyngier wrote:
> The following trivial patchlet (against 2.5.59) adds the missing
> isa_virt_to_bus/isa_bus_to_virt API to the Alpha architecture.

Please don't do that. virt_to_bus/bus_to_virt are deprecated since 2.2,
drivers are supposed to use DMA mapping API instead.

> This is at least needed by the aha1740 driver. With this patch, the
> ol' good Jensen is back running 2.5 ;-).

And it won't work on anything but Jensen. All other alphas have
direct map window at 1 or 2 Gb, which cannot be reached by ISA
busmaster because of 24 address wires limitation.

Ivan.
-
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 : Fri Jan 31 2003 - 22:00:16 EST