Netgear MA301 works
david at gibson.dropbear.id.au
Mon Jan 1 11:52:29 EST 2001
On Thu, Nov 15, 2001 at 09:33:05PM +1100, Martijn van Oosterhout wrote:
> On Thu, Nov 15, 2001 at 11:28:11AM +0100, Bjoern Giesler wrote:
> > > I'm also concerned about the i386 specificness of the patch but someone
> > > who knows about this can fix that.
> > Hmm. Do you think changing the outl/inl to outb/inb would help? We're
> > only fiddling with bit 6 on the lowest byte anyway, and the endianness /
> > word order of the PCI bus is defined.
> Actually, I'm referring to the fact that non-i386 architectures don't have
> in/out instructions, everything is memory-mapped. Like I said, I'm not sure
> how that's supposed to work.
That's ok. On non-x86 platforms the PCI/ISA io space will generally
be mapped to some part of memory, and the in/out functions in the
kernel will become accesses to that region. They'll even byte-swap
appropriately. hermes.c uses inw()/outw() throughout to access the
David Gibson | For every complex problem there is a
david at gibson.dropbear.id.au | solution which is simple, neat and
| wrong. -- H.L. Mencken
More information about the wireless