[patch] ad1848.c and opl3sa2.c

Andrew Kieschnick (andrewk@mail.utexas.edu)
Sat, 2 Jan 1999 21:27:03 -0600 (CST)


These patches are against 2.2.0-pre3.

ad1848.c: add back 2 lines that disappeared sometime after 2.1.131 so
CS4231 gets detected as CS4231 and not CS4248
opl3sa2.c: report unknown chipset, but go ahead and act like its an
opl3sax. (Works for whatever flavor opl3sa I've got)

--- ad1848.c.orig Sat Jan 2 20:00:45 1999
+++ ad1848.c Sat Jan 2 21:04:20 1999
@@ -1601,6 +1601,9 @@
/*
* It's at least CS4231
*/
+
+ devc->chip_name = "CS4231";
+ devc->model = MD_4231;

/*
* It could be an AD1845 or CS4231A as well.
--- opl3sa2.c.orig Sat Jan 2 19:57:01 1999
+++ opl3sa2.c Sat Jan 2 21:07:51 1999
@@ -520,12 +520,9 @@
break;

default:
- printk(KERN_ERR "No Yamaha audio controller found\n");
- printk(KERN_INFO
- "opl3sa2.c: chipset version = %x\n",
- chipset_version);
- chipset_version = CHIPSET_UNKNOWN;
- tag = '?';
+ printk(KERN_INFO "Unknown Yamaha audio controller found, chipset version = %x\n", chipset_version);
+ chipset_version = CHIPSET_OPL3SAX;
+ tag = 'x';
break;
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/