diff options
author | netchild <netchild@FreeBSD.org> | 2005-10-05 20:00:12 +0000 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2005-10-05 20:00:12 +0000 |
commit | a04280c7babdec77fca1ced01b30fcc2c35642d3 (patch) | |
tree | 84af20876bc6cc18c496ef8359cc1c2797c505d3 /sys | |
parent | 6e6967d22428002c3bda53f2e6287982f7a9dc2e (diff) | |
download | FreeBSD-src-a04280c7babdec77fca1ced01b30fcc2c35642d3.zip FreeBSD-src-a04280c7babdec77fca1ced01b30fcc2c35642d3.tar.gz |
Add a comment regarding problems with NForce 2 mainboards and add disabled
code which may help.
People with a ich compatible soundcard which want to help out should
change the "#if 1" to a "#if 0" and try if the soundcard still works.
Reports about working or not-working soundcards with this change to
multimedia@ please.
PR: 73987
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/sound/pci/ich.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/sound/pci/ich.c b/sys/dev/sound/pci/ich.c index 506cd1d..3b01553 100644 --- a/sys/dev/sound/pci/ich.c +++ b/sys/dev/sound/pci/ich.c @@ -222,7 +222,12 @@ ich_resetchan(struct sc_info *sc, int num) return ENXIO; ich_wr(sc, regbase + ICH_REG_X_CR, 0, 1); +#if 1 + /* This may result in no sound output on NForce 2 MBs, see PR 73987 */ DELAY(100); +#else + (void)ich_rd(sc, regbase + ICH_REG_X_CR, 1); +#endif ich_wr(sc, regbase + ICH_REG_X_CR, ICH_X_CR_RR, 1); for (i = 0; i < ICH_TIMEOUT; i++) { cr = ich_rd(sc, regbase + ICH_REG_X_CR, 1); |