diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-12-07 12:39:24 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-12-07 12:39:24 +0000 |
commit | 841e89e85b1b7994caa57068d4bf50127b86b3a7 (patch) | |
tree | 0524878c7f0760b11a7097aac43f70972d4997ee /sys/dev/pci/bktr | |
parent | 4534eb02981fe560239c0331b575f6d9fd46592b (diff) |
from nbsd: Handle MSP3435G the same as MSP3430G. From Scott Presnell in PR 28682
Diffstat (limited to 'sys/dev/pci/bktr')
-rw-r--r-- | sys/dev/pci/bktr/bktr_audio.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/bktr/bktr_audio.c b/sys/dev/pci/bktr/bktr_audio.c index 5f11ec3a62d..73d1336e18b 100644 --- a/sys/dev/pci/bktr/bktr_audio.c +++ b/sys/dev/pci/bktr/bktr_audio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bktr_audio.c,v 1.6 2004/06/29 12:24:57 mickey Exp $ */ +/* $OpenBSD: bktr_audio.c,v 1.7 2005/12/07 12:39:23 mickey Exp $ */ /* $FreeBSD: src/sys/dev/bktr/bktr_audio.c,v 1.8 2000/10/31 13:09:56 roger Exp $ */ /* * This is part of the Driver for Video Capture Cards (Frame grabbers) @@ -480,7 +480,8 @@ void msp_autodetect( bktr_ptr_t bktr ) { int stereo; /* MSP3430G - countries with mono and DBX stereo */ - if (strncmp("3430G", bktr->msp_version_string, 5) == 0){ + if (strncmp("3430G", bktr->msp_version_string, 5) == 0 || + strncmp("3435G", bktr->msp_version_string, 5) == 0) { msp_dpl_write(bktr, bktr->msp_addr, 0x10, 0x0030,0x2003);/* Enable Auto format detection */ msp_dpl_write(bktr, bktr->msp_addr, 0x10, 0x0020,0x0020);/* Standard Select Reg. = BTSC-Stereo*/ |