kern/53066: [PATCH] Add new supported devices to aue driver
Scott Mitchell
scott+freebsd at fishballoon.org
Sun Jun 8 14:20:02 PDT 2003
>Number: 53066
>Category: kern
>Synopsis: [PATCH] Add new supported devices to aue driver
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Jun 08 14:20:00 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Scott Mitchell
>Release: FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD tuatara 4.8-STABLE FreeBSD 4.8-STABLE #0: Sun Apr 13 14:23:25 BST 2003 scott at tuatara:/local/0/obj/usr/src/sys/TUATARA i386
>Description:
The Belkin USB2LAN USB 10/100 Ethernet adapter is supported by the aue driver
in -STABLE, but for some reason the ID line for the adapter hasn't been MFCed
(the change was made in -CURRENT on 20020730, if_ue.c rev 1.62). With this
line added, the adapter just works.
There have been other adapters added to this driver in -CURRENT that will very
likely work with -STABLE as well, but I don't have examples of these to test.
>How-To-Repeat:
>Fix:
Add the adapter ID to if_aue.c:
Index: if_aue.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/usb/if_aue.c,v
retrieving revision 1.19.2.17
diff -c -r1.19.2.17 if_aue.c
*** if_aue.c 5 Mar 2003 17:12:22 -0000 1.19.2.17
--- if_aue.c 8 Jun 2003 20:49:54 -0000
***************
*** 119,124 ****
--- 119,125 ----
{ USB_VENDOR_ACCTON, USB_PRODUCT_ACCTON_SS1001, PII },
{ USB_VENDOR_ADMTEK, USB_PRODUCT_ADMTEK_PEGASUS, PNA },
{ USB_VENDOR_ADMTEK, USB_PRODUCT_ADMTEK_PEGASUSII, PII },
+ { USB_VENDOR_BELKIN, USB_PRODUCT_BELKIN_USB2LAN, PII },
{ USB_VENDOR_BILLIONTON, USB_PRODUCT_BILLIONTON_USB100, 0 },
{ USB_VENDOR_BILLIONTON, USB_PRODUCT_BILLIONTON_USBLP100, PNA },
{ USB_VENDOR_BILLIONTON, USB_PRODUCT_BILLIONTON_USBEL100, 0 },
With this change the adapter just works:
Jun 8 21:51:40 tuatara /kernel: aue0: ADMtek USB To LAN Converter, rev 1.10/1.01, addr 3
Jun 8 21:51:40 tuatara /kernel: aue0: Ethernet address: 00:05:1b:00:41:5c
Jun 8 21:51:40 tuatara /kernel: miibus1: <MII bus> on aue0
Jun 8 21:51:40 tuatara /kernel: ukphy1: <Generic IEEE 802.3u media interface> on miibus1
Jun 8 21:51:40 tuatara /kernel: ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list