diff --git u200-main u200-main index 2a3051a 3234d34 100644 --- u200-m

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff --git a/u200-main.c b/u200-main.c
index 2a3051a..3234d34 100644
--- a/u200-main.c
+++ b/u200-main.c
@@ -27,8 +27,7 @@
#include <linux/if_arp.h>
#include <linux/workqueue.h>
/* Define these values to match your devices */
-#define USB_U200_VENDOR_ID 0x04e9
-#define USB_U200_PRODUCT_ID 0x6761
+
unsigned char init_data1[] = {0x57, 0x45, 0x04, 0x00, 0x00, 0x02, 0x00, 0x74};
unsigned char init_data2[] = {0x57, 0x50, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1
unsigned char init_data3[] = {0x57, 0x43, 0x12, 0x00, 0x15, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0
@@ -36,7 +35,8 @@ char *wimax_states[] = {"INIT", "SYNC", "NEGO", "NORMAL", "SLEEP", "IDLE", "HHO"
/* table of devices that work with this driver */
static struct usb_device_id u200_table [] = {
- { USB_DEVICE(USB_U200_VENDOR_ID, USB_U200_PRODUCT_ID) },
+ { USB_DEVICE(0x04e8, 0x6761) },
+ { USB_DEVICE(0x04e9, 0x6761) },
{ } /* Terminating entry */
};
MODULE_DEVICE_TABLE(usb, u200_table);