On Tuesday 15 January 2002 04:37 pm, Erik Mouw wrote:
> On Tue, Jan 15, 2002 at 04:25:11PM -0500, Nicolas Pitre wrote:
> > On Tue, 15 Jan 2002, Erik Mouw wrote:
> > > Lots of devices function on embedded stuff without even the slightest
> > > hint of an ISA bus.
> >
> > ISA isn't just a wiring standard.  It's also lists of typical IO address
> > to probe for the existence of some particular hardware.  That stuff is of
> > course part of the .c driver file.  On the SA11x0 all those probes must
> > of course be configured out and surrounding them with #ifdef CONFIG_ISA
> > instead of #if !defined(CONFIG_SA1100_X) && !defined(CONFIG_FOO) &&
> > !defined(CONFIG_BAR) seems much more tasteful to me.
>
> Not really. It's just a matter of supplying a couple of inb()/outb()
> like functions, and slightly changing the probing code, and that's
> about it. Those kind of patches are acceptable.

After having just dealt with the inb/outb issue yet again, I'm all for 
abstracting those things out.  Another problem with CONFIG_ISA is that some 
things on ARM interface in 32 bit mode (eg, SMC91C111 Ethernet chip), and ISA 
pretty much assumes everything is 8 or 16 bit.
-- 
  Jeff Sutherland, Accelent Systems, Inc.   <http://www.accelent.com>
  -  +  -  +  -  +  -  +  -  +  -  +  -  +  -  +  -  +  -  +  -  +  -  
Whenever I return from a trip abroad, I'm always amazed by two things:
All the wide open space we have in this country,
and how bad the roads are.


_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to