diff options
author | netchild <netchild@FreeBSD.org> | 2005-09-11 17:30:27 +0000 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2005-09-11 17:30:27 +0000 |
commit | cc33905d69e6db907da6f7b84d89bdeffcb7274e (patch) | |
tree | d58a0ec7afa42a33452a458c804b554978082ee0 /sys/dev | |
parent | 2e6261bb2be994d4cefdaa22b44dc69d7ee72c80 (diff) | |
download | FreeBSD-src-cc33905d69e6db907da6f7b84d89bdeffcb7274e.zip FreeBSD-src-cc33905d69e6db907da6f7b84d89bdeffcb7274e.tar.gz |
Fix hang at init for MagicMedia 256A[VX] chips. [1]
In case this causes trouble for some other chipsets add a comment how to
proceed. If we don't get bugreports, this should be removed after a while
(some releases?).
PR: 56617 [1], 29465, 39260, 40574, 68225
Submitted by: Matthew E. Gove <mgove@comcast.net> [1]
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/sound/pci/neomagic.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/dev/sound/pci/neomagic.c b/sys/dev/sound/pci/neomagic.c index 3ed79e5..5ef43d4 100644 --- a/sys/dev/sound/pci/neomagic.c +++ b/sys/dev/sound/pci/neomagic.c @@ -223,7 +223,16 @@ nm_initcd(kobj_t obj, void *devinfo) struct sc_info *sc = (struct sc_info *)devinfo; nm_wr(sc, 0x6c0, 0x01, 1); +#if 0 + /* + * The following code-line may cause a hang for some chipsets, see + * PR 56617. + * In case of a bugreport without this line have a look at the PR and + * conditionize the code-line based upon the specific version of + * the chip. + */ nm_wr(sc, 0x6cc, 0x87, 1); +#endif nm_wr(sc, 0x6cc, 0x80, 1); nm_wr(sc, 0x6cc, 0x00, 1); return 1; |