Rework sk(4) detach code:
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 14 Dec 2007 11:37:11 +0000 (11:37 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 14 Dec 2007 11:37:11 +0000 (11:37 +0000)
commit720cce8887ce3287f3463b4be7fd205823b0c0b2
treef5e3a2f558d2eb98e3d6cda07d589de9d5db896b
parentc0b62bc30732393367cbb7a022f5ee50bbdfc04b
Rework sk(4) detach code:
- sk is detached before skc, so two interfaces must be stopped first and
  interrupt should be torn down when the first interface is detaching.
- bus_generic_detach() is not necessary
sys/dev/netif/sk/if_sk.c
sys/dev/netif/sk/if_skvar.h