Re: uninline check_signature()

From: Maciej W. Rozycki
Date: Wed Jul 18 2007 - 07:34:12 EST


On Tue, 17 Jul 2007, Geert Uytterhoeven wrote:

> > > No, no revert, please. If the architecture doesn't support readb() then we
> > > need some reliable way of working that out within Kconfig.
> >
> > Isn't that CONFIG_HAS_IOMEM?
>
> No, having memory mapped I/O doesn't mean you have PCI.

Hmm, TURBOchannel is not PCI, but is still accessible with
{read,write}{b,w,l}().

> How to access memory mapped I/O depends on the bus behind the device.

I would have thought this is to be resolved within ioremap() so that
drivers can be made portable without twisting your arms. With the more
recent ioport_map() call that may be extended to port I/O type devices as
well. The Alpha with its dense and sparse I/O space proves it can be done
for arbitrarily complicated arrangements.

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