freebsd-dev/sys/dev/usb/wlan
Attilio Rao 444b91868b Make the newbus subsystem Giant free by adding the new newbus sxlock.
The newbus lock is responsible for protecting newbus internIal structures,
device states and devclass flags. It is necessary to hold it when all
such datas are accessed. For the other operations, softc locking should
ensure enough protection to avoid races.

Newbus lock is automatically held when virtual operations on the device
and bus are invoked when loading the driver or when the suspend/resume
take place. For other 'spourious' operations trying to access/modify
the newbus topology, newbus lock needs to be automatically acquired and
dropped.

For the moment Giant is also acquired in some key point (modules subsystem)
in order to avoid problems before the 8.0 release as module handlers could
make assumptions about it. This Giant locking should go just after
the release happens.

Please keep in mind that the public interface can be expanded in order
to provide more support, if there are really necessities at some point
and also some bugs could arise as long as the patch needs a bit of
further testing.

Bump __FreeBSD_version in order to reflect the newbus lock introduction.

Reviewed by:    ed, hps, jhb, imp, mav, scottl
No answer by:   ariff, thompsa, yongari
Tested by:      pho,
                G. Trematerra <giovanni dot trematerra at gmail dot com>,
                Brandon Gooch <jamesbrandongooch at gmail dot com>
Sponsored by:   Yahoo! Incorporated
Approved by:	re (ksmith)
2009-08-02 14:28:40 +00:00
..
if_rum.c - Make struct usb_xfer opaque so that drivers can not access the internals 2009-06-23 02:19:59 +00:00
if_rumfw.h
if_rumreg.h
if_rumvar.h s/usb2_/usb_/ on all C structs for the USB stack. 2009-05-28 17:36:36 +00:00
if_uath.c adds DLINK2 DWA120 device. 2009-07-27 20:17:20 +00:00
if_uathreg.h Add uath(4) wireless USB driver for Atheros AR5005UG and AR5005UX 2009-04-04 11:23:00 +00:00
if_uathvar.h s/usb2_/usb_/ on all C structs for the USB stack. 2009-05-28 17:36:36 +00:00
if_upgt.c Make the newbus subsystem Giant free by adding the new newbus sxlock. 2009-08-02 14:28:40 +00:00
if_upgtvar.h s/usb2_/usb_/ on all C structs for the USB stack. 2009-05-28 17:36:36 +00:00
if_ural.c - Make struct usb_xfer opaque so that drivers can not access the internals 2009-06-23 02:19:59 +00:00
if_uralreg.h
if_uralvar.h s/usb2_/usb_/ on all C structs for the USB stack. 2009-05-28 17:36:36 +00:00
if_urtw.c Add ids of Sitecom USB wlan gadget. 2009-06-28 10:30:53 +00:00
if_urtwreg.h ports urtw(4) for USB2. Additionally it supports a 8187B chipset weakly 2009-05-27 03:57:38 +00:00
if_urtwvar.h s/usb2_/usb_/ on all typedefs for the USB stack. 2009-05-29 18:46:57 +00:00
if_zyd.c Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/ 2009-06-26 11:45:06 +00:00
if_zydfw.h
if_zydreg.h unify zyd_tx_mgt() and zyd_tx_data() to simplify TX path and sorts 2009-06-09 04:17:08 +00:00