Commit part of the patch that I have for card eject problems with the
ep driver. The rest of the patch will wait until I can put the time into it to get it righter than the kludge it is. This protects us against card eject problems at all times,e xecpt when we're in the epintr ISR.
This commit is contained in:
parent
cc91420e2c
commit
f5e8ef092a
@ -550,6 +550,11 @@ ep_intr(arg)
|
||||
|
||||
if (sc->gone)
|
||||
return;
|
||||
/*
|
||||
* quick fix: Try to detect an interrupt when the card goes away.
|
||||
*/
|
||||
if (inw(BASE + EP_STATUS) == 0xffff)
|
||||
return;
|
||||
|
||||
ifp = &sc->arpcom.ac_if;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user