Re: I/O Mem access - getting confused.

Daniel Kobras (zxmfj03@fphp16.tphys.physik.uni-tuebingen.de)
Tue, 14 Sep 1999 09:52:54 +0200 (METDST)


Hi!

On Tue, 14 Sep 1999, Martin Mares wrote:

> The Right Way to access PCI/ISA memory mapped devices is to ioremap()
> the range first and then use (read|write)[bwl] and friends on the remapped
> addresses (i.e., the virtual ones).

Thanks, got it now. Well, almost. Unfortunately, in 2.0 I can't remap the
ISA legacy region. So what should I feed into readb()? bus_address or
bus_to_virt(bus_address)?

Regards,

Daniel.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/