From scott@renfro.org  Sun Mar 16 20:13:47 2003
Return-Path: <scott@renfro.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4F2AB37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 16 Mar 2003 20:13:47 -0800 (PST)
Received: from smtp809.mail.sc5.yahoo.com (smtp809.mail.sc5.yahoo.com [66.163.168.188])
	by mx1.FreeBSD.org (Postfix) with SMTP id 850D243F75
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 16 Mar 2003 20:13:46 -0800 (PST)
	(envelope-from scott@renfro.org)
Received: from adsl-63-201-95-78.dsl.snfc21.pacbell.net (HELO renfro.org) (scott.renfro@sbcglobal.net@63.201.95.78 with login)
  by smtp-sbc-v1.mail.vip.sc5.yahoo.com with SMTP; 17 Mar 2003 04:13:46 -0000
Received: from 219.home.renfro.org (219.home.renfro.org [192.168.1.219])
	by renfro.org (Postfix) with ESMTP id CB719235
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 16 Mar 2003 20:14:33 -0800 (PST)
Received: from renfro.org (localhost [127.0.0.1])
	by renfro.org (8.12.8/8.12.8) with ESMTP id h2H4BfVU012831;
	Sun, 16 Mar 2003 20:11:41 -0800 (PST)
	(envelope-from scott@renfro.org)
Received: (from scott@localhost)
	by current.home.renfro.org (8.12.8/8.12.8/Submit) id h2H3vk77012639;
	Sun, 16 Mar 2003 19:57:46 -0800 (PST)
Message-Id: <200303170357.h2H3vk77012639@current>
Date: Sun, 16 Mar 2003 19:57:46 -0800 (PST)
From: Scott Renfro <scott@renfro.org>
Reply-To: Scott Renfro <scott@renfro.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: patch to add Kawasaki USB ethernet adapter to usbdevs/if_kue
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         50064
>Category:       kern
>Synopsis:       patch to add Kawasaki USB ethernet adapter to usbdevs/if_kue
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    murray
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 16 20:20:14 PST 2003
>Closed-Date:    Sat Apr 12 20:51:49 PDT 2003
>Last-Modified:  Sat Apr 12 20:51:49 PDT 2003
>Originator:     Scott Renfro
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD current 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sat Mar 15 23:03:39 PST 2003 scott@renfro.org:/usr/obj/usr/src/sys/GENERIC i386
Tested with Sony Docking Station
>Description:
The Kawasaki LSI Inc. USB-Ethernet, rev 1.00/2.02 adapter isn't
recognized by the system as supported by kue(4) since it has a  
different product id.
>How-To-Repeat:
N/A
>Fix:
The following patch was sufficient to enable the adapter.  The
product name corresponds to that used in NetBSD.

--- src/sys/dev/usb/usbdevs.orig	Sat Mar 15 20:17:15 2003
+++ src/sys/dev/usb/usbdevs	Sat Mar 15 20:18:02 2003
@@ -712,6 +712,7 @@
 
 /* Kawasaki products */
 product KLSI DUH3E10BT		0x0008	USB ethernet controller engine
+product KLSI DUH3E10BTN		0x0009	USB ethernet controller engine
 
 /* Kawatsu products */
 product KAWATSU MH4000P		0x0003	MiniHub 4000P
--- src/sys/dev/usb/if_kue.c.orig	Sat Mar 15 20:17:23 2003
+++ src/sys/dev/usb/if_kue.c	Sat Mar 15 20:18:28 2003
@@ -117,6 +117,7 @@
 	{ USB_VENDOR_SMC, USB_PRODUCT_SMC_2102USB },
 	{ USB_VENDOR_LINKSYS, USB_PRODUCT_LINKSYS_USB10T },
 	{ USB_VENDOR_KLSI, USB_PRODUCT_KLSI_DUH3E10BT },
+	{ USB_VENDOR_KLSI, USB_PRODUCT_KLSI_DUH3E10BTN },
 	{ USB_VENDOR_PERACOM, USB_PRODUCT_PERACOM_ENET3 },
 	{ USB_VENDOR_IODATA, USB_PRODUCT_IODATA_USBETT },
 	{ USB_VENDOR_ABOCOM, USB_PRODUCT_ABOCOM_URE450 },
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: murray 
State-Changed-When: Mon Apr 7 03:27:57 PDT 2003 
State-Changed-Why:  
Committed to -CURRENT.  Thanks for the submission.  I will MFC this in 
a few days. 



Responsible-Changed-From-To: freebsd-bugs->murray 
Responsible-Changed-By: murray 
Responsible-Changed-When: Mon Apr 7 03:27:57 PDT 2003 
Responsible-Changed-Why:  
Committed to -CURRENT.  Thanks for the submission.  I will MFC this in 
a few days. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=50064 
State-Changed-From-To: analyzed->closed 
State-Changed-By: murray 
State-Changed-When: Sat Apr 12 20:51:19 PDT 2003 
State-Changed-Why:  
This change has been MFCed.  Thanks for the submission. 


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