All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: linux-wireless@vger.kernel.org
Subject: [PATCH 21/35] Eliminate vendor IDs
Date: Sat, 01 Sep 2007 00:36:14 -0400	[thread overview]
Message-ID: <20070901043614.2498.37555.stgit@dv.roinet.com> (raw)
In-Reply-To: <20070901043233.2498.95850.stgit@dv.roinet.com>

They are useless next to comments with full device names.

Signed-off-by: Pavel Roskin <proski@gnu.org>
---

 drivers/net/wireless/at76_usb.c |   98 ++++++++++++++++++++-------------------
 drivers/net/wireless/at76_usb.h |   35 --------------
 2 files changed, 49 insertions(+), 84 deletions(-)


diff --git a/drivers/net/wireless/at76_usb.c b/drivers/net/wireless/at76_usb.c
index 8b9f75a..233c4c1 100644
--- a/drivers/net/wireless/at76_usb.c
+++ b/drivers/net/wireless/at76_usb.c
@@ -65,122 +65,122 @@ static struct usb_device_id dev_table[] = {
 	 * at76c503-i3861
 	 */
 	/* Generic AT76C503/3861 device */
-	{USB_DEVICE(VID_ATMEL, 0x7603), .driver_info = BOARD_503_ISL3861},
+	{USB_DEVICE(0x03eb, 0x7603), .driver_info = BOARD_503_ISL3861},
 	/* Linksys WUSB11 v2.1/v2.6 */
-	{USB_DEVICE(VID_LINKSYS_OLD, 0x2211), .driver_info = BOARD_503_ISL3861},
+	{USB_DEVICE(0x066b, 0x2211), .driver_info = BOARD_503_ISL3861},
 	/* Netgear MA 101 Rev. A */
-	{USB_DEVICE(VID_NETGEAR, 0x4100), .driver_info = BOARD_503_ISL3861},
+	{USB_DEVICE(0x0864, 0x4100), .driver_info = BOARD_503_ISL3861},
 	/* Tekram U-300C / Allnet ALL0193 */
-	{USB_DEVICE(VID_TEKRAM, 0x1612), .driver_info = BOARD_503_ISL3861},
+	{USB_DEVICE(0x0b3b, 0x1612), .driver_info = BOARD_503_ISL3861},
 	/* HP HN210W PKW-J7801A */
-	{USB_DEVICE(VID_HP, 0x011c), .driver_info = BOARD_503_ISL3861},
+	{USB_DEVICE(0x03f0, 0x011c), .driver_info = BOARD_503_ISL3861},
 	/* Sitecom/Z-Com/Zyxel M4Y-750 */
-	{USB_DEVICE(VID_ZCOM, 0x0001), .driver_info = BOARD_503_ISL3861},
+	{USB_DEVICE(0x0cde, 0x0001), .driver_info = BOARD_503_ISL3861},
 	/* Dynalink/Askey WLL013 (intersil) */
-	{USB_DEVICE(VID_ASKEY, 0x0320), .driver_info = BOARD_503_ISL3861},
+	{USB_DEVICE(0x069a, 0x0320), .driver_info = BOARD_503_ISL3861},
 	/* EZ connect 11Mpbs Wireless USB Adapter SMC2662W (v1) */
-	{USB_DEVICE(VID_SMC_OLD, 0xa001), .driver_info = BOARD_503_ISL3861},
+	{USB_DEVICE(0x0d5c, 0xa001), .driver_info = BOARD_503_ISL3861},
 	/* AWL-300 */
-	{USB_DEVICE(VID_BENQ, 0x9000), .driver_info = BOARD_503_ISL3861},
+	{USB_DEVICE(0x04a5, 0x9000), .driver_info = BOARD_503_ISL3861},
 	/* AWU-120, Compex WLU11 */
-	{USB_DEVICE(VID_ADDTRON, 0xff31), .driver_info = BOARD_503_ISL3861},
+	{USB_DEVICE(0x05dd, 0xff31), .driver_info = BOARD_503_ISL3861},
 	/* AP310 AnyPoint II USB */
-	{USB_DEVICE(VID_INTEL, 0x0200), .driver_info = BOARD_503_ISL3861},
+	{USB_DEVICE(0x8086, 0x0200), .driver_info = BOARD_503_ISL3861},
 	/* Dynalink L11U */
-	{USB_DEVICE(VID_GLOBAL_SUN, 0x7100), .driver_info = BOARD_503_ISL3861},
+	{USB_DEVICE(0x0d8e, 0x7100), .driver_info = BOARD_503_ISL3861},
 	/* Arescom WL-210, FCC id 07J-GL2411USB */
-	{USB_DEVICE(VID_GLOBAL_SUN, 0x7110), .driver_info = BOARD_503_ISL3861},
+	{USB_DEVICE(0x0d8e, 0x7110), .driver_info = BOARD_503_ISL3861},
 	/* IO-DATA WN-B11/USB */
-	{USB_DEVICE(VID_IO_DATA, 0x0919), .driver_info = BOARD_503_ISL3861},
+	{USB_DEVICE(0x04bb, 0x0919), .driver_info = BOARD_503_ISL3861},
 	/* BT Voyager 1010 */
-	{USB_DEVICE(VID_ASKEY, 0x0821), .driver_info = BOARD_503_ISL3861},
+	{USB_DEVICE(0x069a, 0x0821), .driver_info = BOARD_503_ISL3861},
 	/* at76c503-i3863 */
 	/* Generic AT76C503/3863 device */
-	{USB_DEVICE(VID_ATMEL, 0x7604), .driver_info = BOARD_503_ISL3863},
+	{USB_DEVICE(0x03eb, 0x7604), .driver_info = BOARD_503_ISL3863},
 	/* Samsung SWL-2100U */
-	{USB_DEVICE(VID_SAMSUNG, 0xa000), .driver_info = BOARD_503_ISL3863},
+	{USB_DEVICE(0x055d, 0xa000), .driver_info = BOARD_503_ISL3863},
 	/*
 	 * at76c503-rfmd
 	 */
 	/* Generic AT76C503/RFMD device */
-	{USB_DEVICE(VID_ATMEL, 0x7605), .driver_info = BOARD_503},
+	{USB_DEVICE(0x03eb, 0x7605), .driver_info = BOARD_503},
 	/* Dynalink/Askey WLL013 (rfmd) */
-	{USB_DEVICE(VID_ASKEY, 0x0321), .driver_info = BOARD_503},
+	{USB_DEVICE(0x069a, 0x0321), .driver_info = BOARD_503},
 	/* Linksys WUSB11 v2.6 */
-	{USB_DEVICE(VID_LINKSYS, 0x2219), .driver_info = BOARD_503},
+	{USB_DEVICE(0x077b, 0x2219), .driver_info = BOARD_503},
 	/* Network Everywhere NWU11B */
-	{USB_DEVICE(VID_LINKSYS, 0x2227), .driver_info = BOARD_503},
+	{USB_DEVICE(0x077b, 0x2227), .driver_info = BOARD_503},
 	/* Netgear MA 101 Rev. B */
-	{USB_DEVICE(VID_NETGEAR, 0x4102), .driver_info = BOARD_503},
+	{USB_DEVICE(0x0864, 0x4102), .driver_info = BOARD_503},
 	/* DWL-120 rev. E */
-	{USB_DEVICE(VID_DLINK, 0x3200), .driver_info = BOARD_503},
+	{USB_DEVICE(0x2001, 0x3200), .driver_info = BOARD_503},
 	/* Actiontec 802UAT1, HWU01150-01UK */
-	{USB_DEVICE(VID_ACTIONTEC, 0x7605), .driver_info = BOARD_503},
+	{USB_DEVICE(0x1668, 0x7605), .driver_info = BOARD_503},
 	/* AirVast W-Buddie WN210 */
-	{USB_DEVICE(VID_ATMEL, 0x4102), .driver_info = BOARD_503},
+	{USB_DEVICE(0x03eb, 0x4102), .driver_info = BOARD_503},
 	/* XH1153 802.11b USB adapter */
-	{USB_DEVICE(VID_DICK_SMITH, 0x5743), .driver_info = BOARD_503},
+	{USB_DEVICE(0x1371, 0x5743), .driver_info = BOARD_503},
 	/* WL-200U */
-	{USB_DEVICE(VID_DICK_SMITH, 0x0002), .driver_info = BOARD_503},
+	{USB_DEVICE(0x1371, 0x0002), .driver_info = BOARD_503},
 	/* BenQ AWL-400 USB stick */
-	{USB_DEVICE(VID_BENQ, 0x9001), .driver_info = BOARD_503},
+	{USB_DEVICE(0x04a5, 0x9001), .driver_info = BOARD_503},
 	/* 3COM 3CRSHEW696 */
-	{USB_DEVICE(VID_3COM, 0x0a01), .driver_info = BOARD_503},
+	{USB_DEVICE(0x0506, 0x0a01), .driver_info = BOARD_503},
 	/* Siemens Santis ADSL WLAN USB adapter WLL 013 */
-	{USB_DEVICE(VID_SIEMENS, 0x001b), .driver_info = BOARD_503},
+	{USB_DEVICE(0x0681, 0x001b), .driver_info = BOARD_503},
 	/* Belkin F5D6050, version 2 */
-	{USB_DEVICE(VID_BELKIN_2, 0x0050), .driver_info = BOARD_503},
+	{USB_DEVICE(0x050d, 0x0050), .driver_info = BOARD_503},
 	/* iBlitzz, BWU613 (not *B or *SB) */
-	{USB_DEVICE(VID_BLITZ, 0xb000), .driver_info = BOARD_503},
+	{USB_DEVICE(0x07b8, 0xb000), .driver_info = BOARD_503},
 	/* Gigabyte GN-WLBM101 */
-	{USB_DEVICE(VID_GIGABYTE, 0x8003), .driver_info = BOARD_503},
+	{USB_DEVICE(0x1044, 0x8003), .driver_info = BOARD_503},
 	/* Planex GW-US11S */
-	{USB_DEVICE(VID_PLANEX, 0x3220), .driver_info = BOARD_503},
+	{USB_DEVICE(0x2019, 0x3220), .driver_info = BOARD_503},
 	/* Internal WLAN adapter in h5[4,5]xx series iPAQs */
-	{USB_DEVICE(VID_COMPAQ, 0x0032), .driver_info = BOARD_503},
+	{USB_DEVICE(0x049f, 0x0032), .driver_info = BOARD_503},
 	/*
 	 * at76c503-rfmd-acc
 	 */
 	/* SMC 2664W */
-	{USB_DEVICE(VID_SMC, 0x3501), .driver_info = BOARD_503_ACC},
+	{USB_DEVICE(0x083a, 0x3501), .driver_info = BOARD_503_ACC},
 	/* Belkin F5D6050, SMC 2662W v2, SMC 2662W-AR */
-	{USB_DEVICE(VID_BELKIN, 0xa002), .driver_info = BOARD_503_ACC},
+	{USB_DEVICE(0x0d5c, 0xa002), .driver_info = BOARD_503_ACC},
 	/*
 	 * at76c505-rfmd
 	 */
 	/* Generic AT76C505/RFMD */
-	{USB_DEVICE(VID_ATMEL, 0x7606), .driver_info = BOARD_505},
+	{USB_DEVICE(0x03eb, 0x7606), .driver_info = BOARD_505},
 	/*
 	 * at76c505-rfmd2958
 	 */
 	/* Generic AT76C505/RFMD, OvisLink WL-1130USB */
-	{USB_DEVICE(VID_ATMEL, 0x7613), .driver_info = BOARD_505_2958},
+	{USB_DEVICE(0x03eb, 0x7613), .driver_info = BOARD_505_2958},
 	/* Fiberline WL-240U */
-	{USB_DEVICE(VID_CNET, 0x0014), .driver_info = BOARD_505_2958},
+	{USB_DEVICE(0x1371, 0x0014), .driver_info = BOARD_505_2958},
 	/* CNet CNUSB 611G */
-	{USB_DEVICE(VID_CNET, 0x0013), .driver_info = BOARD_505_2958},
+	{USB_DEVICE(0x1371, 0x0013), .driver_info = BOARD_505_2958},
 	/* Linksys WUSB11 v2.8 */
-	{USB_DEVICE(VID_LINKSYS_1915, 0x2233), .driver_info = BOARD_505_2958},
+	{USB_DEVICE(0x1915, 0x2233), .driver_info = BOARD_505_2958},
 	/* Xterasys XN-2122B, IBlitzz BWU613B/BWU613SB */
-	{USB_DEVICE(VID_XTERASYS, 0x1001), .driver_info = BOARD_505_2958},
+	{USB_DEVICE(0x12fd, 0x1001), .driver_info = BOARD_505_2958},
 	/* Corega WLAN USB Stick 11 */
-	{USB_DEVICE(VID_COREGA, 0x7613), .driver_info = BOARD_505_2958},
+	{USB_DEVICE(0x07aa, 0x7613), .driver_info = BOARD_505_2958},
 	/* Microstar MSI Box MS6978 */
-	{USB_DEVICE(VID_MSI, 0x1020), .driver_info = BOARD_505_2958},
+	{USB_DEVICE(0x0db0, 0x1020), .driver_info = BOARD_505_2958},
 	/*
 	 * at76c505a-rfmd2958
 	 */
 	/* Generic AT76C505A device */
-	{USB_DEVICE(VID_ATMEL, 0x7614), .driver_info = BOARD_505A},
+	{USB_DEVICE(0x03eb, 0x7614), .driver_info = BOARD_505A},
 	/* Generic AT76C505AS device */
-	{USB_DEVICE(VID_ATMEL, 0x7617), .driver_info = BOARD_505A},
+	{USB_DEVICE(0x03eb, 0x7617), .driver_info = BOARD_505A},
 	/* Siemens Gigaset USB WLAN Adapter 11 */
-	{USB_DEVICE(VID_GIGASET, 0x0701), .driver_info = BOARD_505A},
+	{USB_DEVICE(0x1690, 0x0701), .driver_info = BOARD_505A},
 	/*
 	 * at76c505amx-rfmd
 	 */
 	/* Generic AT76C505AMX device */
-	{USB_DEVICE(VID_ATMEL, 0x7615), .driver_info = BOARD_505AMX},
+	{USB_DEVICE(0x03eb, 0x7615), .driver_info = BOARD_505AMX},
 	{}
 };
 
diff --git a/drivers/net/wireless/at76_usb.h b/drivers/net/wireless/at76_usb.h
index 07bbf14..33ba517 100644
--- a/drivers/net/wireless/at76_usb.h
+++ b/drivers/net/wireless/at76_usb.h
@@ -27,41 +27,6 @@
 /* current driver version */
 #define DRIVER_VERSION	"0.16"
 
-/* USB vendor IDs */
-#define VID_3COM		0x0506
-#define VID_ACTIONTEC		0x1668
-#define VID_ADDTRON		0x05dd
-#define VID_ASKEY		0x069a
-#define VID_ATMEL		0x03eb
-#define VID_BELKIN		0x0d5c
-#define VID_BELKIN_2		0x050d
-#define VID_BENQ		0x04a5
-#define VID_BLITZ		0x07b8
-#define VID_CNET		0x1371
-#define VID_COMPAQ		0x049f
-#define VID_GLOBAL_SUN		0x0d8e
-#define VID_COREGA		0x07aa
-#define VID_DICK_SMITH		0x1371
-#define VID_DLINK		0x2001
-#define VID_GIGABYTE		0x1044
-#define VID_GIGASET		0x1690
-#define VID_HP			0x03f0
-#define VID_INTEL		0x8086
-#define VID_IO_DATA		0x04bb
-#define VID_LINKSYS		0x077b
-#define VID_LINKSYS_1915	0x1915
-#define VID_LINKSYS_OLD		0x066b
-#define VID_MSI			0x0db0
-#define VID_ZCOM		0x0cde
-#define VID_NETGEAR		0x0864
-#define VID_SAMSUNG		0x055d
-#define VID_SIEMENS		0x0681
-#define VID_SMC			0x083a
-#define VID_SMC_OLD		0x0d5c
-#define VID_PLANEX		0x2019
-#define VID_TEKRAM		0x0b3b
-#define VID_XTERASYS		0x12fd
-
 /* Board types */
 enum board_type {
 	BOARD_503_ISL3861 = 1,

  parent reply	other threads:[~2007-09-01  4:36 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-01  4:34 [PATCH 00/35] Update at76_usb to the start of mac80211 port Pavel Roskin
2007-09-01  4:34 ` [PATCH 01/35] Protect at76_get_op_mode() and at76_get_mib() against short reads Pavel Roskin
2007-09-01  4:34 ` [PATCH 02/35] Use existing macros to find bulk in and bulk out endpoints Pavel Roskin
2007-09-01  4:34 ` [PATCH 03/35] Rewrite at76_alloc_urbs() in a more linear fashion Pavel Roskin
2007-09-01  4:34 ` [PATCH 04/35] Avoid overuse of NULL Pavel Roskin
2007-09-01  4:34 ` [PATCH 05/35] Add myself to the author list Pavel Roskin
2007-09-01  4:34 ` [PATCH 06/35] Move (de)initialization functions closer to the end of file Pavel Roskin
2007-09-01  4:34 ` [PATCH 07/35] Don't use shift on numeric constants in usb_control_msg() arguments Pavel Roskin
2007-09-01  4:35 ` [PATCH 08/35] Merge at76_download_external_fw() into at76_load_external_fw() Pavel Roskin
2007-09-01  4:35 ` [PATCH 09/35] Simplify at76_usbdfu_download() Pavel Roskin
2007-09-01  4:35 ` [PATCH 10/35] Add minimal support to 505AMX Pavel Roskin
2007-09-01  4:35 ` [PATCH 11/35] Simplify logic in at76_get_reg_domain() Pavel Roskin
2007-09-01  4:35 ` [PATCH 12/35] Fix hex2str() and mac2str() to avoid buffer overlap Pavel Roskin
2007-09-01  4:35 ` [PATCH 13/35] Rename some long functions and fields Pavel Roskin
2007-09-01  4:35 ` [PATCH 14/35] Fix incorrect queue management in at76_tx_mgmt() Pavel Roskin
2007-09-01  4:35 ` [PATCH 15/35] Introduce at76_quiesce(), use it to stop network activity Pavel Roskin
2007-09-01  4:35 ` [PATCH 16/35] Don't disable and enable tasklets, it doesn't work as expected Pavel Roskin
2007-09-01  4:35 ` [PATCH 17/35] Start beacon timeout task when connected Pavel Roskin
2007-09-01  4:35 ` [PATCH 18/35] Only cancel correct timeouts for Auth and Assoc replies Pavel Roskin
2007-09-01  9:17   ` Johannes Berg
2007-09-01 10:54     ` Pavel Roskin
2007-09-01 11:04       ` Johannes Berg
2007-09-01 13:16       ` John W. Linville
2007-09-01 20:09         ` Pavel Roskin
2007-09-01  4:36 ` [PATCH 19/35] Improve output of the regdomain id Pavel Roskin
2007-09-01  4:36 ` [PATCH 20/35] Protect at76_iw_handler_set_scan() with mutex Pavel Roskin
2007-09-01  4:36 ` Pavel Roskin [this message]
2007-09-01  4:36 ` [PATCH 22/35] Only retry resubmitting rx_urb once Pavel Roskin
2007-09-01  4:36 ` [PATCH 23/35] Simplify at76_get_mib_mdomain() Pavel Roskin
2007-09-01  4:36 ` [PATCH 24/35] Do implicit scanning only with current ESSID Pavel Roskin
2007-09-01  4:36 ` [PATCH 25/35] Don't dump mib_mdomain while scanning, it's done on device startup Pavel Roskin
2007-09-01  4:36 ` [PATCH 26/35] Improve dump of MAC_ADDR Pavel Roskin
2007-09-01  4:36 ` [PATCH 27/35] Remove unneeded braces, found by checkpatch.pl Pavel Roskin
2007-09-01  4:36 ` [PATCH 28/35] Convert dbg() to at76_dbg() or remove it Pavel Roskin
2007-09-01  4:37 ` [PATCH 29/35] Eliminate at76_dbg_dumpbuf() in favor of hex2str() Pavel Roskin
2007-09-01  4:37 ` [PATCH 30/35] Eliminate pr_debug() in favor of at76_dbg() Pavel Roskin
2007-09-01  4:37 ` [PATCH 31/35] Simplify logic in at76_is_hidden_ssid() Pavel Roskin
2007-09-01  4:37 ` [PATCH 32/35] Massive cleanup of dump functions Pavel Roskin
2007-09-01  4:37 ` [PATCH 33/35] Remove international roaming support Pavel Roskin
2007-09-01  4:37 ` [PATCH 34/35] Don't do additional MIB dumps if DEBUG is defined Pavel Roskin
2007-09-01  4:37 ` [PATCH 35/35] Replace scan_runs with scan_need_any Pavel Roskin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070901043614.2498.37555.stgit@dv.roinet.com \
    --to=proski@gnu.org \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.