From scott@fishballoon.org  Sun Jun  8 14:17:20 2003
Return-Path: <scott@fishballoon.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4AF5437B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  8 Jun 2003 14:17:20 -0700 (PDT)
Received: from mta02-svc.ntlworld.com (mta02-svc.ntlworld.com [62.253.162.42])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3378843FA3
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  8 Jun 2003 14:17:19 -0700 (PDT)
	(envelope-from scott@fishballoon.org)
Received: from fishballoon.org ([81.104.195.199]) by mta02-svc.ntlworld.com
          (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP
          id <20030608211717.LBJN9882.mta02-svc.ntlworld.com@fishballoon.org>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Sun, 8 Jun 2003 22:17:17 +0100
Received: from tuatara.fishballoon.org (dhcp-254.fishballoon.org [192.168.1.254])
	by fishballoon.org (8.12.8p1/8.12.8) with ESMTP id h58LGZ4o056202
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 8 Jun 2003 22:16:35 +0100 (BST)
	(envelope-from scott@tuatara.fishballoon.org)
Received: (from scott@localhost)
	by tuatara.fishballoon.org (8.12.9/8.12.9/Submit) id h58LGZ0C030869;
	Sun, 8 Jun 2003 22:16:35 +0100 (BST)
	(envelope-from scott)
Message-Id: <200306082116.h58LGZ0C030869@tuatara.fishballoon.org>
Date: Sun, 8 Jun 2003 22:16:35 +0100 (BST)
From: Scott Mitchell <scott+freebsd@fishballoon.org>
Reply-To: Scott Mitchell <scott+freebsd@fishballoon.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] Add new supported devices to aue driver
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         53066
>Category:       kern
>Synopsis:       [PATCH] Add new supported devices to aue driver
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    trhodes
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 08 14:20:00 PDT 2003
>Closed-Date:    Sat Jun 14 09:10:17 PDT 2003
>Last-Modified:  Sat Jun 14 09:10:17 PDT 2003
>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@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:
State-Changed-From-To: open->closed 
State-Changed-By: trhodes 
State-Changed-When: Sat Jun 14 09:08:51 PDT 2003 
State-Changed-Why:  
MFC complete.  Thanks! 


Responsible-Changed-From-To: freebsd-bugs->trhodes 
Responsible-Changed-By: trhodes 
Responsible-Changed-When: Sat Jun 14 09:08:51 PDT 2003 
Responsible-Changed-Why:  
Over to me. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=53066 
>Unformatted:
