diff options
| author | Warner Losh <imp@FreeBSD.org> | 2001-06-05 22:29:16 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2001-06-05 22:29:16 +0000 |
| commit | 64c30c9cb5a0cf1255c56e5abc0a4111ad7cbe44 (patch) | |
| tree | 45c99c8e2d11fa21db432f7a82101b1615aff16f | |
| parent | cc66540e0edd8c62bd6cb53d5a58081310147b38 (diff) | |
Notes
| -rw-r--r-- | sys/dev/ep/if_ep.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/ep/if_ep.c b/sys/dev/ep/if_ep.c index 3397de2675d9..1118f11424e0 100644 --- a/sys/dev/ep/if_ep.c +++ b/sys/dev/ep/if_ep.c @@ -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; |
