]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix 5 bugs:
authorimp <imp@FreeBSD.org>
Tue, 29 Apr 2003 05:45:09 +0000 (05:45 +0000)
committerimp <imp@FreeBSD.org>
Tue, 29 Apr 2003 05:45:09 +0000 (05:45 +0000)
commit6acb819c04fd80b98e4e35832411e903607e59a1
tree2b2f7e683cef705453c16be536814036776b3aec
parent917a0299733c2efdf3eaeb96e6aada214c83de40
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
sys/dev/fxp/if_fxp.c
sys/dev/fxp/if_fxpvar.h