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
cc66540e0e
commit
64c30c9cb5
@ -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…
Reference in New Issue
Block a user