Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jun 2004 13:27:11 -0700 (PDT)
From:      eduardo viruena silva <mrspock@esfm.ipn.mx>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/67614: 3com 3CSOHO100B-TX undetected
Message-ID:  <200406052027.i55KRBLx013894@www.freebsd.org>
Resent-Message-ID: <200406052030.i55KUKAK063602@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         67614
>Category:       kern
>Synopsis:       3com 3CSOHO100B-TX undetected
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 05 13:30:20 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     eduardo viruena silva
>Release:        5.2.1-RELEASEp5
>Organization:
esfm-ipn
>Environment:
FreeBSD Michelle.esfm.ipn.mx 5.2.1-RELEASE-p5 FreeBSD 5.2.1-RELEASE-p5#2: Thu May  6 13:58:05 CDT 2004 root@Michelle.esfm.ipn.mx:/usr/src/sys/i386/compile/eviruena  i386

>Description:
I have a 3com 3CSOHO100B-TX NIC.
It cannot be detected by FreeBSD.
>How-To-Repeat:
Install the 3com 3CSOHO100B-TX and be sure the 
"device dc" is configured in your kernel.
 
>Fix:
apply the patch:

--- 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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406052027.i55KRBLx013894>