From kbyanc@kronos.alcnet.com  Sat Jan 22 12:07:36 2000
Return-Path: <kbyanc@kronos.alcnet.com>
Received: from kronos.alcnet.com (kronos.alcnet.com [63.69.28.22])
	by hub.freebsd.org (Postfix) with ESMTP id C293414C4E
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 22 Jan 2000 12:07:34 -0800 (PST)
	(envelope-from kbyanc@kronos.alcnet.com)
Received: (from kbyanc@localhost)
	by kronos.alcnet.com (8.9.3/8.9.3/antispam) id PAA98697;
	Sat, 22 Jan 2000 15:07:33 -0500 (EST)
Message-Id: <200001222007.PAA98697@kronos.alcnet.com>
Date: Sat, 22 Jan 2000 15:07:33 -0500 (EST)
From: kbyanc@posi.net
Sender: kbyanc@kronos.alcnet.com
Reply-To: kbyanc@posi.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: patch to add device ID to ep for 3c905b-TPC
X-Send-Pr-Version: 3.2

>Number:         16304
>Category:       kern
>Synopsis:       patch to add device ID to ep for 3c905b-TPC
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 22 12:10:00 PST 2000
>Closed-Date:    Sun Jan 23 00:25:57 PST 2000
>Last-Modified:  Sun Jan 23 00:26:21 PST 2000
>Originator:     Kelly Yancey
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:

FreeBSD gateway.posi.net 4.0-CURRENT FreeBSD 4.0-CURRENT #2: Sat Jan 22 14:14:11
 EST 2000    kbyanc@gateway.posi.net:/usr/src/sys/compile/GATEWAY  i386
	

>Description:

	ep driver was not recognizing my old 3C905 ISA NIC. Determined
	that the driver didn't recognize the signature on my card, so I
	added it to the signature list in the driver. Unfortunately, I'm
	not 100% sure of the correct name of the card, but from the
	description of 3Com's web site, I believe it to be a 3C905B-TPC
	(twister pair + BNC connectors, no AUI).

	-Kelly

>How-To-Repeat:

	boot -current with a 3C905B-TPC card and it won't be probed.

>Fix:

--- sys/dev/ep/if_ep_isa.c.orig	Sat Jan 22 14:11:07 2000
+++ sys/dev/ep/if_ep_isa.c	Sat Jan 22 15:05:33 2000
@@ -71,12 +71,14 @@
 #define ISA_ID_3C509_BNC   0x506d5091
 #define ISA_ID_3C509_COMBO 0x506d5094
 #define ISA_ID_3C509_TPO   0x506d5095
+#define ISA_ID_3C509_TPC   0x506d5098
 
 static struct isa_ident ep_isa_devs[] = {
 	{ ISA_ID_3C509_TP,	"3Com 3C509-TP EtherLink III" },
 	{ ISA_ID_3C509_BNC,	"3Com 3C509-BNC EtherLink III" },
 	{ ISA_ID_3C509_COMBO,	"3Com 3C509-Combo EtherLink III" },
 	{ ISA_ID_3C509_TPO,	"3Com 3C509-TPO EtherLink III" },
+	{ ISA_ID_3C509_TPC,	"3Com 3C509-TPC EtherLink III" },
 	{ 0,			NULL },
 };
 
@@ -85,6 +87,7 @@
 	{ 0x91506d50,	"3Com 3C509B-BNC EtherLink III (PnP)" },/* TCM5091 */
 	{ 0x94506d50,	"3Com 3C509B-Combo EtherLink III (PnP)" },/* TCM5094 */
 	{ 0x95506d50,	"3Com 3C509B-TPO EtherLink III (PnP)" },/* TCM5095 */
+	{ 0x98506d50,	"3Com 3C509B-TPC EtherLink III (PnP)" },/* TCM5098 */
 	{ 0xf780d041,	NULL }, /* PNP80f7 */
 	{ 0,		NULL },
 };

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mdodd 
State-Changed-When: Sun Jan 23 00:25:57 PST 2000 
State-Changed-Why:  
Patch committed.  Thanks! 
>Unformatted:
