Skip to contentSkip to conversation

fixes au88x0 problem with older kernel

PATCH In review Martin Langer 2 participants 2 messages Jan 16, 2004 – Jan 19, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fixes au88x0 problem with older kernel

This will fix a problem with undeclared PCI_DEVICE_ID_VIA_8365_1

Index: alsa-driver/pci/au88x0/au88x0.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/pci/au88x0/au88x0.c,v retrieving revision 1.6

pci/au88x0/au88x0.c +7 -0
diff -u -r1.6 au88x0.c
@@ -46,6 +46,13 @@
 MODULE_LICENSE("GPL");
 MODULE_DEVICES("{{Aureal Semiconductor Inc., Aureal Vortex Sound Processor}}");
 
+#ifndef PCI_VENDOR_ID_VIA 
+#define PCI_VENDOR_ID_VIA 0x1106
+#endif
+#ifndef PCI_DEVICE_ID_VIA_8365_1
+#define PCI_DEVICE_ID_VIA_8365_1 0x8305
+#endif
+
 #ifndef MODULE
 /* format is: snd-mychip=enable,index,id */
 static int __init alsa_card_vortex_setup(char *str) {

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

#1 lore raw

At Sat, 17 Jan 2004 00:47:15 +0100,

Quoted 4 lines · Martin Langer

This will fix a problem with undeclared PCI_DEVICE_ID_VIA_8365_1

thanks, i committed to cvs.

Takashi

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn