Convert to critical sections. Use bge_detach as common error path
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Mon, 13 Jun 2005 21:24:03 +0000 (21:24 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Mon, 13 Jun 2005 21:24:03 +0000 (21:24 +0000)
commit9a717c15abd79de34335c1feb25dabdc78347505
tree9a7a601dcb071145aac682a5c99bf130bfc0edbd
parent0f20326fb28acded393bed8f7981fca870b41777
Convert to critical sections. Use bge_detach as common error path
in bge_attach and fix some bugs on the way. Use M_WAITOK now
that interrupts are no longer an issue there. Allow this by hooking
up the interrupt last.
sys/dev/netif/bge/if_bge.c