> % cat /dev/ioalloc
> [...]
> 400     5ff cardbus # This is the concerned card.

I think I've seen this before.  A year ago I was trying to get
a LinkSys pseudo-Tulip CardBus card working.  Before I gave up,
I ran into a situation where the CardBus driver was allocating
a hunk of I/O space for the card but the card was later unable
to use the space.  At that time I convinced myself that the
problem was in ioalloc(), around line 230 of devarch.c.  This
is what I did at the time, though I never submitted it as a
patch since I wasn't able to prove it was right by getting the
card to work, plus which I wasn't sure I was fully understanding
the code.

-  if(m->reserved && m->start == port && m->end == port + size) {
+  if(m->reserved && m->start == port && m->end >= port + size) {

Dave Eckhardt

Reply via email to