Re: [patch] read[bwl] and ioremap problem

Philipp Rumpf (prumpf@mkp.net)
Sun, 19 Dec 1999 13:12:07 +0100


> THAT case is certainly a rather strong argument for using something
> like "gsc_read[bwl]()" on HP-PA.

gsc_(read|write)[bwl] is what we currently use.

A rather different problem is how to access two PCI busses in one system, one
of which has its MMIO space directly mapped into PA IO space, the other needs
o be accessed using separate address/data registers (though DMA should work
fine on both).

> If the gsc bus is similar enough to PCI that you might end up sharing some
> drivers, that can probably be accomplished by double-compiling them, once

NCR53C710 (SCSI), 82596 (ethernet), NS16550A clone is what we know of so far.

> with "-Dwritel=gsc_writel" kinds of tricks. But trying to make the same
> driver handle both cases dynamically sounds like madness.

That would only work if either the driver wouldn't export any symbols or it
would be loaded as module, wouldn't it ?

Philipp Rumpf

-
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/