summaryrefslogtreecommitdiffstats
path: root/sys/dev/pcm
diff options
context:
space:
mode:
authorroger <roger@FreeBSD.org>1999-05-27 06:12:40 +0000
committerroger <roger@FreeBSD.org>1999-05-27 06:12:40 +0000
commit5d6a76d153c0e8e03d690b06eedfe7168b7ef532 (patch)
tree72286663415649747603a180b88f9ffeac1ed044 /sys/dev/pcm
parente54f383a255b21029ee9ea22c316f834ee932096 (diff)
downloadFreeBSD-src-5d6a76d153c0e8e03d690b06eedfe7168b7ef532.zip
FreeBSD-src-5d6a76d153c0e8e03d690b06eedfe7168b7ef532.tar.gz
Add support for ASound Gold card using the ALS120
chipset (a vibra 16x clone) Identified automatically by its PnP ID Approved by: Luigi
Diffstat (limited to 'sys/dev/pcm')
-rw-r--r--sys/dev/pcm/isa/sb.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/sys/dev/pcm/isa/sb.c b/sys/dev/pcm/isa/sb.c
index 9e453a2..7544dae 100644
--- a/sys/dev/pcm/isa/sb.c
+++ b/sys/dev/pcm/isa/sb.c
@@ -1271,9 +1271,10 @@ ess1868_attach(u_long csn, u_long vend_id, char *name,
/*
* A driver for some SB16pnp and compatibles...
*
- * Avance Asound 100 -- 0x01009305
- * Avance Logic ALS100+ -- 0x10019305
- * xxx -- 0x2b008c0e
+ * Avance Asound 100 -- 0x01009305
+ * Avance Logic ALS100+ -- 0x10019305
+ * Avance Logic ASound Gold ALS120 -- 0x20019305
+ * xxx -- 0x2b008c0e
*
*/
@@ -1311,6 +1312,8 @@ sb16pnp_probe(u_long csn, u_long vend_id)
s = "Avance Asound 100" ;
else if (vend_id == 0x10019305)
s = "Avance Logic 100+" ; /* Vibra16X-class */
+ else if (vend_id == 0x20019305)
+ s = "Avance Logic ALS120" ; /* Vibra16X-class */
if (s) {
struct pnp_cinfo d;
read_pnp_parms(&d, 0);
@@ -1348,7 +1351,8 @@ sb16pnp_attach(u_long csn, u_long vend_id, char *name,
pcm_info[dev->id_unit] = tmp_d; /* pcm_info[] will be reinitialized after */
snddev_last_probed->probe(dev); /* not really necessary but doesn't harm */
- if (vend_id == 0x10019305 || vend_id == 0xf0008c0e) {
+ if (vend_id == 0x10019305 || vend_id == 0xf0008c0e
+ || vend_id == 0x20019305) {
/*
* XXX please add here the vend_id for other vibra16X cards...
* And remember, must change tmp_d, not
OpenPOWER on IntegriCloud