Use vr_detach as common error path.
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Mon, 20 Jun 2005 13:08:01 +0000 (13:08 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Mon, 20 Jun 2005 13:08:01 +0000 (13:08 +0000)
commit62c51aeefdd4e0163c22ad30dce40eac04d68ae7
tree9beb290aada9d98d55e6495ef07af7bd59c4d588
parent22602e1a24c0eee1a07dd78dcadf636d6c42f05c
Use vr_detach as common error path.
Setup interrupt last in vr_attach.
Use M_WAITOK for contigmalloc, now that we don't have to protect
against concurrent interrupts.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
sys/dev/netif/vr/if_vr.c