For rum(4) and ural(4):
commitae9362ac56992640c8e4a837e73267f2baea5924
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 27 May 2007 10:53:29 +0000 (27 10:53 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 27 May 2007 10:53:29 +0000 (27 10:53 +0000)
treef2966fa664c57564446ab514d03c4fe70f8bd80f
parentdb7a20167489b8f44551511ae625f51cb6762b3f
For rum(4) and ural(4):
- Use crit section to protect external interfaces, callouts, USB
  task and USB operation callback functions.
- Avoid holding ifnet.if_serializer across various USB operations,
  since current USB stack does not aware of lwkt serializer.
- In various callout, USB task and USB operation callback functions,
  hold ifnet.if_serializer around ieee80211 functions.
sys/dev/netif/rum/if_rum.c
sys/dev/netif/rum/if_rumvar.h
sys/dev/netif/ural/if_ural.c
sys/dev/netif/ural/if_uralvar.h