diff options
author | cg <cg@FreeBSD.org> | 2000-03-20 15:34:27 +0000 |
---|---|---|
committer | cg <cg@FreeBSD.org> | 2000-03-20 15:34:27 +0000 |
commit | 699a6893fbe2065ae352f0f6dc806c719fcc926c (patch) | |
tree | 2b08dabae8d28d9a20c3cbf20942face010bf4db /sys/dev | |
parent | effa7bc907a13c9166491626c1edcaa9d6598a96 (diff) | |
download | FreeBSD-src-699a6893fbe2065ae352f0f6dc806c719fcc926c.zip FreeBSD-src-699a6893fbe2065ae352f0f6dc806c719fcc926c.tar.gz |
make als120 cards which report dsp version 3.x whilst only supporting 4.x
and *not* 3.x commands work
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/sound/isa/sbc.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/sound/isa/sbc.c b/sys/dev/sound/isa/sbc.c index 03925fb..5170e81 100644 --- a/sys/dev/sound/isa/sbc.c +++ b/sys/dev/sound/isa/sbc.c @@ -202,9 +202,9 @@ static struct isa_pnp_id sbc_ids[] = { {0x44008c0e, "Creative SB AWE64 Gold"}, /* CTL0044 */ {0x45008c0e, "Creative SB AWE64"}, /* CTL0045 */ - {0x01000000, "Avance Logic ALS100+"}, /* @@@0001 */ + {0x01000000, "Avance Logic ALS100+"}, /* @@@0001 - ViBRA16X clone */ {0x01100000, "Avance Asound 110"}, /* @@@1001 */ - {0x01200000, "Avance Logic ALS120"}, /* @@@2001 */ + {0x01200000, "Avance Logic ALS120"}, /* @@@2001 - ViBRA16X clone */ {0x02017316, "ESS ES1688"}, /* ESS1688 */ {0x68187316, "ESS ES1868"}, /* ESS1868 */ @@ -292,6 +292,7 @@ sbc_attach(device_t dev) scp->bd_ver = sb_identify_board(scp->io[0]) & 0x00000fff; if (scp->bd_ver == 0) goto bad; f = 0; + if (logical_id == 0x01200000 && scp->bd_ver < 0x0400) scp->bd_ver = 0x0499; switch ((scp->bd_ver & 0x0f00) >> 8) { case 1: /* old sound blaster has nothing... */ break; @@ -341,6 +342,8 @@ sbc_attach(device_t dev) switch (logical_id) { case 0x43008c0e: /* CTL0043 */ + case 0x01200000: + case 0x01000000: f |= BD_F_SB16X; break; } |