Subject: kern/14790: COREGA FEther USB-TXS and ELECOM UC-SGT support
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ura@hiru.aoba.yokohama.jp>
List: netbsd-bugs
Date: 11/30/2001 20:46:23
>Number:         14790
>Category:       kern
>Synopsis:       COREGA FEther USB-TXS and ELECOM UC-SGT support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 30 03:47:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     URA Hiroshi
>Release:        NetBSD-current (2001/11/18)
>Organization:
>Environment:
System: NetBSD minazuki.hiru.aoba.yokohama.jp 1.5Y NetBSD 1.5Y (MINAZUKI) #70: Sun Nov 18 21:56:53 JST 2001 ura@minazuki.hiru.aoba.yokohama.jp:/usr/local/src/NetBSD/current/src/sys/arch/i386/compile/MINAZUKI i386
Architecture: i386
Machine: i386
>Description:
COREGA FEther USB-TXS and ELECOM UC-SGT are not supported.
The kernel w/ below patches recognizes them.

  aue0 at uhub0 port 1
  aue0: corega K.K. corega FEther USB-TXS, rev 1.10/1.01, addr 2
  aue0: Ethernet address 00:90:99:5c:35:0e
  ukphy0 at aue0 phy 1: Generic IEEE 802.3u media interface
  ukphy0: OUI 0x0010a9, model 0x0001, rev. 0
  ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

  uplcom0 at uhub0 port 1
  uplcom0: Elecom UC-SGT serial adapter, rev 1.10/0.01, addr 2
  ucom0 at uplcom0

>How-To-Repeat:

>Fix:
apply this patch.

Index: if_aue.c
===================================================================
RCS file: /cvsroot/netbsd/syssrc/sys/dev/usb/if_aue.c,v
retrieving revision 1.69
diff -u -u -r1.69 if_aue.c
--- if_aue.c	2001/11/13 07:57:22	1.69
+++ if_aue.c	2001/11/30 11:27:50
@@ -189,6 +189,7 @@
   { USB_VENDOR_BILLIONTON,	USB_PRODUCT_BILLIONTON_USBEL100,  0 },
   { USB_VENDOR_BILLIONTON,	USB_PRODUCT_BILLIONTON_USBE100,	  PII },
   { USB_VENDOR_COREGA,		USB_PRODUCT_COREGA_FETHER_USB_TX, 0 },
+  { USB_VENDOR_COREGA,		USB_PRODUCT_COREGA_FETHER_USB_TXS, PII },
   { USB_VENDOR_DLINK,		USB_PRODUCT_DLINK_DSB650TX4,	  LSYS|PII },
   { USB_VENDOR_DLINK,		USB_PRODUCT_DLINK_DSB650TX1,	  LSYS },
   { USB_VENDOR_DLINK,		USB_PRODUCT_DLINK_DSB650TX,	  LSYS },
Index: uplcom.c
===================================================================
RCS file: /cvsroot/netbsd/syssrc/sys/dev/usb/uplcom.c,v
retrieving revision 1.21
diff -u -u -r1.21 uplcom.c
--- uplcom.c	2001/11/13 06:24:56	1.21
+++ uplcom.c	2001/11/30 11:27:50
@@ -162,6 +162,8 @@
 	{ USB_VENDOR_ATEN, USB_PRODUCT_ATEN_UC232A },
 	/* IOGEAR/ATEN UC-232A */
 	{ USB_VENDOR_PROLIFIC, USB_PRODUCT_PROLIFIC_PL2303 },
+	/* ELECOM UC-SGT */
+	{ USB_VENDOR_ELECOM, USB_PRODUCT_ELECOM_UCSGT },
 	{ 0, 0 }
 };
 
Index: usbdevs
===================================================================
RCS file: /cvsroot/netbsd/syssrc/sys/dev/usb/usbdevs,v
retrieving revision 1.200
diff -u -u -r1.200 usbdevs
--- usbdevs	2001/11/17 01:43:40	1.200
+++ usbdevs	2001/11/30 11:27:50
@@ -477,6 +477,7 @@
 /* Corega products */
 product COREGA ETHER_USB_T	0x0001	Ether USB-T
 product COREGA FETHER_USB_TX	0x0004	FEther USB-TX
+product COREGA FETHER_USB_TXS	0x000d	FEther USB-TXS
 
 /* Creative products */
 product CREATIVE NOMAD_II	0x1002	Nomad II MP3 player
@@ -528,6 +529,7 @@
 product ELECOM LDUSBTX1		0x4002	LD-USB/TX
 product ELECOM LDUSBTX2		0x400b	LD-USB/TX
 product ELECOM LDUSBTX3		0xabc1	LD-USB/TX
+product ELECOM UCSGT		0x5003	UC-SGT serial adapter
 
 /* Elsa products */
 product ELSA MODEM1		0x2265	ELSA Modem Board
>Release-Note:
>Audit-Trail:
>Unformatted: