For rum(4) and ural(4):
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 27 May 2007 10:53:29 +0000 (10:53 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 27 May 2007 10:53:29 +0000 (10:53 +0000)
commitbfe392bdbe1bcc0dd0feebf2a5f68f1dfba1092d
tree115480016f070eb3faa71cde4ed136473ebfb302
parent32bfe47cc11c80a3b8d4f943725d242484e82736
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