cvs commit: src/sys/dev/sound/pci atiixp.c
Ariff Abdullah
ariff at FreeBSD.org
Tue Apr 4 17:24:38 UTC 2006
ariff 2006-04-04 17:24:33 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/dev/sound/pci atiixp.c
Log:
MFC (revision 1.6)
Misc. fixups:
- [1] Make the driver friendly towards kernel without PREEMPTION.
Use msleep(9) instead of simple unlock-check_variable-lock
mechanisme since the later not really effective in non-preemptible
kernel (especially during codec detection routine).
- Free most driver resources in a sane manner to avoid possible
double free and panics especially during device detach and codec
detection failure.
Approved by: re (scottl)
[1] http://lists.freebsd.org/pipermail/freebsd-questions/2006-March/116515.html
Revision Changes Path
1.2.2.4 +49 -53 src/sys/dev/sound/pci/atiixp.c
More information about the cvs-src
mailing list