From 61ebfeecad1ba78d63fbeac768cb5b54b2a89562 Mon Sep 17 00:00:00 2001 From: Bill Paul Date: Sat, 8 Jan 2000 07:32:48 +0000 Subject: [PATCH] Add the vendor/device IDs for the LinkSys USB100TX. Note: the .INF file for LinkSys's driver says the vendor ID is 0x66b, however this does not agree with the vendor ID listed for LinkSys in the company list from www.usb.org. In fact, 0x66b doesn't seem to appear in the company list at all. Furthermore, this same vendor ID crops up in some of the D-Link .INF files. Frankly I don't know what the heck is going on here, but I need to add 0x66b to usbdevs and call it something, so here we are. --- sys/dev/usb/if_aue.c | 2 ++ sys/dev/usb/usb_quirks.c | 1 + sys/dev/usb/usbdevs | 4 ++++ sys/dev/usb/usbdevs.h | 6 +++++- sys/dev/usb/usbdevs_data.h | 14 +++++++++++++- 5 files changed, 25 insertions(+), 2 deletions(-) diff --git a/sys/dev/usb/if_aue.c b/sys/dev/usb/if_aue.c index b398c3cd841..c8c204c715e 100644 --- a/sys/dev/usb/if_aue.c +++ b/sys/dev/usb/if_aue.c @@ -122,6 +122,8 @@ static struct aue_type aue_devs[] = { "ADMtek AN986 Pegasus 10/100BaseTX" }, { USB_VENDOR_SMC, USB_PRODUCT_SMC_2202USB, "ADMtek AN986 Pegasus 10/100BaseTX" }, + { USB_VENDOR_LINKSYS, USB_PRODUCT_LINKSYS_USB100TX, + "ADMtek AN986 Pegasus 10/100BaseTX" }, { 0, 0, NULL } }; diff --git a/sys/dev/usb/usb_quirks.c b/sys/dev/usb/usb_quirks.c index 635c35710b2..0c1248e29b7 100644 --- a/sys/dev/usb/usb_quirks.c +++ b/sys/dev/usb/usb_quirks.c @@ -92,6 +92,7 @@ static struct usbd_quirk_entry { { USB_VENDOR_DLINK, USB_PRODUCT_DLINK_DSB650TX, 0x101, { UQ_NO_TSLEEP }}, { USB_VENDOR_DLINK, USB_PRODUCT_DLINK_DSB650TX_PNA,0x101, { UQ_NO_TSLEEP }}, { USB_VENDOR_SMC, USB_PRODUCT_SMC_2202USB, 0x101, { UQ_NO_TSLEEP }}, + { USB_VENDOR_LINKSYS, USB_PRODUCT_LINKSYS_USB100TX,0x101, { UQ_NO_TSLEEP }}, { 0, 0, 0, { 0 } } }; diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs index c4c93b42b6b..003204176a1 100644 --- a/sys/dev/usb/usbdevs +++ b/sys/dev/usb/usbdevs @@ -101,6 +101,7 @@ vendor KLSI 0x05e9 Kawasaki LSI vendor PIENGINEERING 0x05f3 P.I. Engineering vendor CHIC 0x05fe Chic Technology vendor MACALLY 0x0618 Macally +vendor LINKSYS 0x066B LinkSys vendor MULTITECH 0x06e0 MultiTech vendor ADS 0x06e1 ADS Technologies vendor SMC 0x0707 Standard Microsystems Corp @@ -312,6 +313,9 @@ product CHIC MOUSE1 0x0001 mouse /* Macally products */ product MACALLY MOUSE1 0x0101 mouse +/* LinkSys products */ +product LINKSYS USB100TX 0x2203 10/100 ethernet adapter + /* MultiTech products */ product MULTITECH ATLAS 0xf101 MT5634ZBA-USB modem diff --git a/sys/dev/usb/usbdevs.h b/sys/dev/usb/usbdevs.h index cf83727215b..2384cfc4f26 100644 --- a/sys/dev/usb/usbdevs.h +++ b/sys/dev/usb/usbdevs.h @@ -4,7 +4,7 @@ * THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. * * generated from: - * FreeBSD: src/sys/dev/usb/usbdevs,v 1.4 2000/01/05 18:25:51 wpaul Exp + * FreeBSD: src/sys/dev/usb/usbdevs,v 1.5 2000/01/07 22:18:44 wpaul Exp */ /* @@ -108,6 +108,7 @@ #define USB_VENDOR_PIENGINEERING 0x05f3 /* P.I. Engineering */ #define USB_VENDOR_CHIC 0x05fe /* Chic Technology */ #define USB_VENDOR_MACALLY 0x0618 /* Macally */ +#define USB_VENDOR_LINKSYS 0x066B /* LinkSys */ #define USB_VENDOR_MULTITECH 0x06e0 /* MultiTech */ #define USB_VENDOR_ADS 0x06e1 /* ADS Technologies */ #define USB_VENDOR_SMC 0x0707 /* Standard Microsystems Corp */ @@ -319,6 +320,9 @@ /* Macally products */ #define USB_PRODUCT_MACALLY_MOUSE1 0x0101 /* mouse */ +/* LinkSys products */ +#define USB_PRODUCT_LINKSYS_USB100TX 0x2203 /* 10/100 ethernet adapter */ + /* MultiTech products */ #define USB_PRODUCT_MULTITECH_ATLAS 0xf101 /* MT5634ZBA-USB modem */ diff --git a/sys/dev/usb/usbdevs_data.h b/sys/dev/usb/usbdevs_data.h index fd9c0f694d4..90d1af129f8 100644 --- a/sys/dev/usb/usbdevs_data.h +++ b/sys/dev/usb/usbdevs_data.h @@ -4,7 +4,7 @@ * THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. * * generated from: - * FreeBSD: src/sys/dev/usb/usbdevs,v 1.4 2000/01/05 18:25:51 wpaul Exp + * FreeBSD: src/sys/dev/usb/usbdevs,v 1.5 2000/01/07 22:18:44 wpaul Exp */ /* @@ -519,6 +519,12 @@ struct usb_knowndev usb_knowndevs[] = { "Macally", "mouse", }, + { + USB_VENDOR_LINKSYS, USB_PRODUCT_LINKSYS_USB100TX, + 0, + "LinkSys", + "10/100 ethernet adapter", + }, { USB_VENDOR_MULTITECH, USB_PRODUCT_MULTITECH_ATLAS, 0, @@ -1059,6 +1065,12 @@ struct usb_knowndev usb_knowndevs[] = { "Macally", NULL, }, + { + USB_VENDOR_LINKSYS, 0, + USB_KNOWNDEV_NOPROD, + "LinkSys", + NULL, + }, { USB_VENDOR_MULTITECH, 0, USB_KNOWNDEV_NOPROD,