cvs commit: src/sys/dev/fxp if_fxp.c if_fxpvar.h
Warner Losh
imp at FreeBSD.org
Mon Apr 28 22:45:10 PDT 2003
imp 2003/04/28 22:45:09 PDT
FreeBSD src repository
Modified files:
sys/dev/fxp if_fxp.c if_fxpvar.h
Log:
Fix 5 bugs:
1) always call fxp_stop in fxp_detach. Since we don't read from
the card, there's no need to carefully look at things with
bus_child_present.
2) Call FXP_UNLOCK() before calling bus_teardown_intr to avoid
a possible deadlock reported by jhb.
3) add gone to the softc. Set it to true in detach.
4) Return immediately if gone is true in fxp_ioctl
5) Return immediately if gone is true in fxp_intr
Revision Changes Path
1.175 +10 -8 src/sys/dev/fxp/if_fxp.c
1.26 +1 -0 src/sys/dev/fxp/if_fxpvar.h
More information about the cvs-src
mailing list