Skip to contentSkip to conversation

patch for detection of another SB Vibra 16C brand

PATCH Gael Queri 1 participant 1 message Dec 9, 2001 Sound

lore
Share & tools
lore

Gael Queri

author
#0 lore raw

Hello, here is a patch to enable sb_card.c to recognize another vibra 16 card. (This was tested with 2.4.16)

Regards, Gael

sound/sb_card.c renamed from sound/sb_card.c.old +11 -0
@@ -56,6 +56,9 @@
  *
  * 01-10-2001 Added a new flavor of Creative SB AWE64 PnP (CTL00E9).
  *      Jerome Cornet <[email protected]>
+ *
+ * 09-12-2001 Added a new flavor of Creative SB Vibra 16C (CTL0072).
+ *      Gaël Quéri <[email protected]> 
  */
 
 #include <linux/config.h>
@@ -337,6 +340,11 @@
 		ISAPNP_VENDOR('C','T','L'), ISAPNP_FUNCTION(0x0001),
 		0,0,0,0,
 		0,1,1,-1},
+	{"Sound Blaster Vibra16C",
+		ISAPNP_VENDOR('C','T','L'), ISAPNP_DEVICE(0x0072),
+		ISAPNP_VENDOR('C','T','L'), ISAPNP_FUNCTION(0x0001),
+		0,0,0,0,
+		0,1,1,-1},
 	{"Sound Blaster Vibra16CL", 
 		ISAPNP_VENDOR('C','T','L'), ISAPNP_DEVICE(0x0080), 
 		ISAPNP_VENDOR('C','T','L'), ISAPNP_FUNCTION(0x0041),
@@ -572,6 +580,9 @@
 		ISAPNP_VENDOR('C','T','L'), ISAPNP_FUNCTION(0x0001), 0 },
 
 	{	ISAPNP_VENDOR('C','T','L'), ISAPNP_DEVICE(0x0070), 
+		ISAPNP_VENDOR('C','T','L'), ISAPNP_FUNCTION(0x0001), 0 },
+
+	{	ISAPNP_VENDOR('C','T','L'), ISAPNP_DEVICE(0x0072),
 		ISAPNP_VENDOR('C','T','L'), ISAPNP_FUNCTION(0x0001), 0 },
 
 	{	ISAPNP_VENDOR('C','T','L'), ISAPNP_DEVICE(0x0080),