[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch to add proper identification of Gigabyte GN-WBKG



This patch fixes it so that the USB wifi device is properly identified and 
so the ural(4) driver actually loads for it.
The patch is against 3.7 source tree.

I am not on the list so please reply directly if you have any feedback.

Thanks!


Ober [AT] linbsd.org
diff -ru sys/dev/usb/if_ral.c sysmine/dev/usb/if_ral.c
--- sys/dev/usb/if_ral.c	Sat Mar 19 23:14:01 2005
+++ sysmine/dev/usb/if_ral.c	Wed Jul  6 14:53:48 2005
@@ -84,7 +84,8 @@
 	{ USB_VENDOR_CISCOLINKSYS,	USB_PRODUCT_CISCOLINKSYS_WUSB54G },
 	{ USB_VENDOR_CISCOLINKSYS,	USB_PRODUCT_CISCOLINKSYS_WUSB54GP },
 	{ USB_VENDOR_RALINK,		USB_PRODUCT_RALINK_RT2570 },
-	{ USB_VENDOR_SMC,		USB_PRODUCT_SMC_RT2570 }
+	{ USB_VENDOR_SMC,		USB_PRODUCT_SMC_RT2570 },
+	{ USB_VENDOR_GIGABYTE,		USB_PRODUCT_GIGABYTE_GNWBKG }
 };
 
 Static int		ural_alloc_tx_list(struct ural_softc *);
diff -ru sys/dev/usb/usbdevs sysmine/dev/usb/usbdevs
--- sys/dev/usb/usbdevs	Sat Mar 19 23:14:01 2005
+++ sysmine/dev/usb/usbdevs	Wed Jul  6 14:52:42 2005
@@ -905,6 +905,7 @@
 /* GIGABYTE products */
 product GIGABYTE GNBR402W	0x8002	GN-BR402W
 product GIGABYTE GNWLBM101	0x8003	GN-WLBM101
+product GIGABYTE GNWBKG	0x8007	GN-WBKG
 
 /* Gigaset products */
 product GIGASET WLAN		0x0701	WLAN
diff -ru sys/dev/usb/usbdevs.h sysmine/dev/usb/usbdevs.h
--- sys/dev/usb/usbdevs.h	Sat Mar 19 23:14:02 2005
+++ sysmine/dev/usb/usbdevs.h	Wed Jul  6 14:53:51 2005
@@ -1,4 +1,4 @@
-/*	$OpenBSD: usbdevs.h,v 1.148 2005/03/18 00:33:28 reyk Exp $	*/
+/*	$OpenBSD$	*/
 
 /*
  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -912,6 +912,7 @@
 /* GIGABYTE products */
 #define	USB_PRODUCT_GIGABYTE_GNBR402W	0x8002		/* GN-BR402W */
 #define	USB_PRODUCT_GIGABYTE_GNWLBM101	0x8003		/* GN-WLBM101 */
+#define	USB_PRODUCT_GIGABYTE_GNWBKG	0x8007		/* GN-WBKG */
 
 /* Gigaset products */
 #define	USB_PRODUCT_GIGASET_WLAN	0x0701		/* WLAN */
diff -ru sys/dev/usb/usbdevs_data.h sysmine/dev/usb/usbdevs_data.h
--- sys/dev/usb/usbdevs_data.h	Sat Mar 19 23:14:02 2005
+++ sysmine/dev/usb/usbdevs_data.h	Wed Jul  6 14:53:51 2005
@@ -1,4 +1,4 @@
-/*	$OpenBSD: usbdevs_data.h,v 1.147 2005/03/18 00:33:28 reyk Exp $	*/
+/*	$OpenBSD$	*/
 
 /*
  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -1743,6 +1743,12 @@
 	    0,
 	    "GIGABYTE",
 	    "GN-WLBM101",
+	},
+	{
+	    USB_VENDOR_GIGABYTE, USB_PRODUCT_GIGABYTE_GNWBKG,
+	    0,
+	    "GIGABYTE",
+	    "GN-WBKG",
 	},
 	{
 	    USB_VENDOR_GIGASET, USB_PRODUCT_GIGASET_WLAN,