diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2007-05-25 00:11:58 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-06-11 14:28:36 -0400 |
commit | 66fcc559042d85d57d9856d2a7fbcaa3e827a58c (patch) | |
tree | dee61e44eab400bb24bd8d7b7bf2955d243cb924 /drivers/net/wireless | |
parent | 7b1d5c0b604df6cee31b2c0160ede3f1311fbb66 (diff) |
[PATCH] libertas: move vendor & product id's into if_usb.c
For me it looks cleaner, because it removes one level of indirection.
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/libertas/if_usb.c | 8 | ||||
-rw-r--r-- | drivers/net/wireless/libertas/if_usb.h | 5 |
2 files changed, 2 insertions, 11 deletions
diff --git a/drivers/net/wireless/libertas/if_usb.c b/drivers/net/wireless/libertas/if_usb.c index 6bc78bb8d1a2..38063de9da43 100644 --- a/drivers/net/wireless/libertas/if_usb.c +++ b/drivers/net/wireless/libertas/if_usb.c | |||
@@ -19,12 +19,8 @@ static const char usbdriver_name[] = "usb8xxx"; | |||
19 | 19 | ||
20 | static struct usb_device_id if_usb_table[] = { | 20 | static struct usb_device_id if_usb_table[] = { |
21 | /* Enter the device signature inside */ | 21 | /* Enter the device signature inside */ |
22 | { | 22 | { USB_DEVICE(0x1286, 0x2001) }, |
23 | USB_DEVICE(USB8388_VID_1, USB8388_PID_1), | 23 | { USB_DEVICE(0x05a3, 0x8388) }, |
24 | }, | ||
25 | { | ||
26 | USB_DEVICE(USB8388_VID_2, USB8388_PID_2), | ||
27 | }, | ||
28 | {} /* Terminating entry */ | 24 | {} /* Terminating entry */ |
29 | }; | 25 | }; |
30 | 26 | ||
diff --git a/drivers/net/wireless/libertas/if_usb.h b/drivers/net/wireless/libertas/if_usb.h index 170dfe6809f5..e994d75c5250 100644 --- a/drivers/net/wireless/libertas/if_usb.h +++ b/drivers/net/wireless/libertas/if_usb.h | |||
@@ -7,11 +7,6 @@ | |||
7 | 7 | ||
8 | #define IPFIELD_ALIGN_OFFSET 2 | 8 | #define IPFIELD_ALIGN_OFFSET 2 |
9 | 9 | ||
10 | #define USB8388_VID_1 0x1286 | ||
11 | #define USB8388_PID_1 0x2001 | ||
12 | #define USB8388_VID_2 0x05a3 | ||
13 | #define USB8388_PID_2 0x8388 | ||
14 | |||
15 | #define BOOT_CMD_FW_BY_USB 0x01 | 10 | #define BOOT_CMD_FW_BY_USB 0x01 |
16 | #define BOOT_CMD_FW_IN_EEPROM 0x02 | 11 | #define BOOT_CMD_FW_IN_EEPROM 0x02 |
17 | #define BOOT_CMD_UPDATE_BOOT2 0x03 | 12 | #define BOOT_CMD_UPDATE_BOOT2 0x03 |