freebsd-nq/sys/dev/sound/pci
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
..
hda Make the newbus subsystem Giant free by adding the new newbus sxlock. 2009-08-02 14:28:40 +00:00
als4000.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
als4000.h
atiixp.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
atiixp.h
aureal.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
aureal.h
cmi.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
cmireg.h
cs4281.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
cs4281.h
csa.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
csapcm.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
csareg.h
csavar.h
ds1-fw.h
ds1.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
ds1.h
emu10k1.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
emu10kx-midi.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
emu10kx-pcm.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
emu10kx.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
emu10kx.h
envy24.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
envy24.h
envy24ht.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
envy24ht.h
es137x.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
es137x.h
fm801.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
ich.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
ich.h
maestro3.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
maestro_reg.h
maestro.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
neomagic-coeff.h
neomagic.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
neomagic.h
solo.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
spicds.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
spicds.h
t4dwave.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
t4dwave.h
via82c686.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
via82c686.h Remove license clauses 3 and 4 as per rev. 1.65 of auvia.c in NetBSD. 2009-05-20 18:31:11 +00:00
via8233.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
via8233.h
vibes.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
vibes.h