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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]