NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/47245
The following reply was made to PR kern/47245; it has been noted by GNATS.
From: Toby Karyadi <toby.karyadi%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: kern/47245
Date: Sun, 25 Nov 2012 17:58:36 -0500
Below is the patchset that includes the mapping for devices that uses
the AX88772B chip. I'm incorporating changes that were already done in
OpenBSD for the following devices:
- DLINK DUB-E100 rev C1 (if_axe.c rev 1.113)
- LENOVO USB 2.0 Ethernet (if_axe.c rev 1.112)
- ASUS UX21A/UX31A (if_axe.c rev 1.110)
The revision changes are from openbsd's cvsweb. The patchset below
assumes that the prior patchset in this PR has been applied.
Since this patchset modifies usbdevs, make sure to rerun
Makefile.usbdevs in src/sys/dev/usb to regenerate usbdevs.h and
usbdevs_data.h as such:
$ TOOLDIR=<tools dir as build by build.sh> make -f Makefile.usbdevs
Below is the patchset:
--- src/sys/dev/usb/if_axe.c.orig 2012-11-24 19:15:31.000000000 -0500
+++ src/sys/dev/usb/if_axe.c 2012-11-24 17:10:10.000000000 -0500
@@ -146,6 +146,7 @@
{ { USB_VENDOR_ASIX, USB_PRODUCT_ASIX_AX88772}, AX772 },
{ { USB_VENDOR_ASIX, USB_PRODUCT_ASIX_AX88772A},
AX772 },
{ { USB_VENDOR_ASIX, USB_PRODUCT_ASIX_AX88772B},
AX772 | AX772B },
+ { { USB_VENDOR_ASIX, USB_PRODUCT_ASIX_AX88772B_1}, AX772 | AX772B },
{ { USB_VENDOR_ASIX, USB_PRODUCT_ASIX_AX88178}, AX178 },
{ { USB_VENDOR_ATEN, USB_PRODUCT_ATEN_UC210T}, 0 },
{ { USB_VENDOR_BELKIN, USB_PRODUCT_BELKIN_F5D5055 },
AX178 },
@@ -154,9 +155,11 @@
{ { USB_VENDOR_COREGA, USB_PRODUCT_COREGA_FETHER_USB2_TX }, 0},
{ { USB_VENDOR_DLINK, USB_PRODUCT_DLINK_DUBE100}, 0 },
{ { USB_VENDOR_DLINK, USB_PRODUCT_DLINK_DUBE100B1 },
AX772 },
+ { { USB_VENDOR_DLINK, USB_PRODUCT_DLINK_DUBE100C1 },
AX772 | AX772B },
{ { USB_VENDOR_GOODWAY, USB_PRODUCT_GOODWAY_GWUSB2E}, 0 },
{ { USB_VENDOR_IODATA, USB_PRODUCT_IODATA_ETGUS2 },
AX178 },
{ { USB_VENDOR_JVC, USB_PRODUCT_JVC_MP_PRX1}, 0 },
+ { { USB_VENDOR_LENOVO, USB_PRODUCT_LENOVO_ETHERNET },
AX772 | AX772B },
{ { USB_VENDOR_LINKSYS2, USB_PRODUCT_LINKSYS2_USB200M}, 0 },
{ { USB_VENDOR_LINKSYS4, USB_PRODUCT_LINKSYS4_USB1000 },
AX178 },
{ { USB_VENDOR_LOGITEC, USB_PRODUCT_LOGITEC_LAN_GTJU2}, AX178 },
--- src/sys/dev/usb/usbdevs.orig 2012-11-01 20:57:57.000000000 -0400
+++ src/sys/dev/usb/usbdevs 2012-11-24 17:17:06.000000000 -0500
@@ -518,6 +518,7 @@
vendor SWEEX2 0x177f Sweex
vendor MISC 0x1781 Misc Vendors
vendor DISPLAYLINK 0x17e9 DisplayLink
+vendor LENOVO 0x17ef Lenovo
vendor E3C 0x18b4 E3C Technologies
vendor AMIT 0x18c5 AMIT
vendor QCOM 0x18e8 Qcom
@@ -867,6 +868,7 @@
product ASIX AX88772 0x7720 AX88772 USB 2.0 10/100 ethernet
controller
product ASIX AX88772A 0x772a AX88772A USB 2.0 10/100
Ethernet adapter
product ASIX AX88772B 0x772b AX88772B USB 2.0 10/100
Ethernet adapter
+product ASIX AX88772B_1 0x7e2b AX88772B USB 2.0 10/100
Ethernet adapter
/* ASUSTeK computer products */
product ASUSTEK WL167G 0x1707 WL-167g USB2.0 WLAN Adapter
@@ -1274,6 +1276,7 @@
/* D-Link products */
/*product DLINK DSBS25 0x0100 DSB-S25 serial adapter*/
product DLINK DUBE100 0x1a00 10/100 ethernet adapter
+product DLINK DUBE100C1 0x1a02 DUB-E100 rev C1
product DLINK DSB650TX4 0x200c 10/100 ethernet adapter
product DLINK DWL120E 0x3200 DWL-120 rev E
product DLINK DWA130C 0x3301 DWA-130 rev C
@@ -1883,6 +1886,9 @@
product LACIE HD 0xa601 Hard Disk
product LACIE CDRW 0xa602 CD R/W
+/* Lenovo products */
+product LENOVO ETHERNET 0x7203 USB 2.0 Ethernet
+
/* Lexar products */
product LEXAR JUMPSHOT 0x0001 jumpSHOT CompactFlash Reader
product LEXAR 2662WAR 0xa002 2662W-AR
Home |
Main Index |
Thread Index |
Old Index