Re: uninline check_signature()

Maciej W. Rozycki
2007-07-18T11:34:12Z

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