From owner-freebsd-bugs Sun Mar 9 20:10:14 2003 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B88437B401 for ; Sun, 9 Mar 2003 20:10:12 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 101E443FDD for ; Sun, 9 Mar 2003 20:10:11 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h2A4AANS078970 for ; Sun, 9 Mar 2003 20:10:10 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h2A4AAH8078969; Sun, 9 Mar 2003 20:10:10 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5AED137B401 for ; Sun, 9 Mar 2003 20:00:43 -0800 (PST) Received: from daxhome.dweebsoft.com (anubis.dweebsoft.com [64.81.58.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70B3643FE1 for ; Sun, 9 Mar 2003 20:00:42 -0800 (PST) (envelope-from daxbert@daxhome.dweebsoft.com) Received: from daxhome.dweebsoft.com (localhost [127.0.0.1]) by daxhome.dweebsoft.com (8.12.8/8.12.7) with ESMTP id h2A40fZ4001035 for ; Sun, 9 Mar 2003 20:00:41 -0800 (PST) (envelope-from daxbert@daxhome.dweebsoft.com) Received: (from daxbert@localhost) by daxhome.dweebsoft.com (8.12.8/8.12.7/Submit) id h2A40fBF001034; Sun, 9 Mar 2003 20:00:41 -0800 (PST) Message-Id: <200303100400.h2A40fBF001034@daxhome.dweebsoft.com> Date: Sun, 9 Mar 2003 20:00:41 -0800 (PST) From: Dax Eckenberg Reply-To: Dax Eckenberg To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/49059: 3Com OfficeConnect 10/100 not detected Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 49059 >Category: kern >Synopsis: 3Com OfficeConnect 10/100 not detected >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Mar 09 20:10:10 PST 2003 >Closed-Date: >Last-Modified: >Originator: Dax Eckenberg >Release: FreeBSD 5.0-CURRENT i386 >Organization: dweebsoft.com >Environment: System: FreeBSD daxhome.dweebsoft.com 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Sun Mar 9 18:42:41 PST 2003 root@daxhome.dweebsoft.com:/usr/obj/usr/src/sys/DAXHOME i386 >Description: 3Com OfficeConnect 10/100 a PCI NIC, is not detected by if_dc >How-To-Repeat: Install 3Com card, enable dc, boot system >Fix: --- patch begins here --- --- sys/pci/if_dc.c Tue Feb 18 21:47:40 2003 +++ sys/pci/if_dc.c Sun Mar 9 11:40:52 2003 @@ -36,3 +36,4 @@ * DEC "tulip" clone ethernet driver. Supports the DEC/Intel 21143 * series chips and several workalikes including the following: * + * 3Com OfficeConnect 10/100 (www.3com.com) @@ -145,5 +145,7 @@ * Various supported device vendors/types and their names. */ static struct dc_type dc_devs[] = { { DC_VENDORID_DEC, DC_DEVICEID_21143, "Intel 21143 10/100BaseTX" }, + { DC_VENDORID_3COM, DC_DEVICEID_3CSOHO, + "3Com OfficeConnect 10/100" }, @@ -1989,2 +1989,3 @@ break; + case DC_DEVICEID_3CSOHO: case DC_DEVICEID_AN985: --- sys/pci/if_dcreg.h Sun Mar 9 10:48:28 2003 +++ sys/pci/if_dcreg.h Sun Mar 9 11:12:00 2003 @@ -787,6 +787,16 @@ #define DC_DEVICEID_21143 0x0019 /* + * 3COM PCI vendor ID + */ +#define DC_VENDORID_3COM 0x10b7 + +/* + * 3COM OfficeConnect 10/100 (3CSOHO100B-TX) + */ +#define DC_DEVICEID_3CSOHO 0x9300 + +/* * Macronix PCI vendor ID */ #define DC_VENDORID_MX 0x10D9 --- share/man/man4/dc.4 Sun Mar 9 18:47:19 2003 +++ share/man/man4/dc.4 Sun Mar 9 18:50:39 2003 @@ -112,4 +112,6 @@ .It Built in ethernet on LinkSys EtherFast 10/100 Instant GigaDrive (DM9102, MII) +.It +3Com OfficeConnect 10/100 .It Kingston KNE100TX (21143, MII) --- patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message