Set 'error' if we can't get Mac address from Xircom cards, so that caller
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 10 Oct 2006 11:34:55 +0000 (11:34 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 10 Oct 2006 11:34:55 +0000 (11:34 +0000)
commit78730e0ffaed08b3146d58ecdcb0d8adbc095be2
treee845532491ad3c19512f53e7c60f53cf92a9fcd4
parentb8f5d60db09162f56aa002daf774494ff5868f8c
Set 'error' if we can't get Mac address from Xircom cards, so that caller
of attach() will know that attaching failed.  This avoids panic on double
detach().

Paniced-by: 'Koston' on #EFnet
Reminded-by: swildner@
sys/dev/netif/dc/if_dc.c