patch-2.4.0-test9 linux/drivers/sound/cs46xx.c
Next file: linux/drivers/sound/dev_table.c
Previous file: linux/drivers/sound/cs4281_hwdefs.h
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Sun Sep 17 09:45:05 2000
- Orig file:
v2.4.0-test8/linux/drivers/sound/cs46xx.c
- Orig date:
Tue Aug 29 14:09:15 2000
diff -u --recursive --new-file v2.4.0-test8/linux/drivers/sound/cs46xx.c linux/drivers/sound/cs46xx.c
@@ -100,12 +100,6 @@
/* maxinum number of AC97 codecs connected, AC97 2.0 defined 4 */
#define NR_AC97 2
-/* minor number of /dev/dspW */
-#define SND_DEV_DSP8 1
-
-/* minor number of /dev/dspW */
-#define SND_DEV_DSP16 1
-
static const unsigned sample_size[] = { 1, 2, 2, 4 };
static const unsigned sample_shift[] = { 0, 1, 1, 2 };
@@ -2485,7 +2479,7 @@
void (*active)(struct cs_card *, int);
};
-static struct cs_card_type __init cards[]={
+static struct cs_card_type __initdata cards[]={
{0x1489, 0x7001, "Genius Soundmaker 128 value", amp_none, NULL},
{0x5053, 0x3357, "Voyetra", amp_voyetra, NULL},
/* MI6020/21 use the same chipset as the Thinkpads, maybe needed */
@@ -2494,7 +2488,7 @@
{PCI_VENDOR_ID_IBM, 0x0132, "Thinkpad 570", amp_none, clkrun_hack},
{PCI_VENDOR_ID_IBM, 0x0153, "Thinkpad 600X/A20/T20", amp_none, clkrun_hack},
{PCI_VENDOR_ID_IBM, 0x1010, "Thinkpad 600E (unsupported)", NULL, NULL},
- {0, 0, NULL, NULL}
+ {0, 0, NULL, NULL, NULL}
};
static int __init cs_install(struct pci_dev *pci_dev)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)