lkml.org 
[lkml]   [2007]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: uninline check_signature()
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-07-18 13:37    [W:0.110 / U:0.972 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site