2003-01-27 09:22:22

by Ivan Kokshaysky

[permalink] [raw]
Subject: Re: [PATCH] isa_virt_to_bus and co on Alpha

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.