Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Nov 1998 15:03:18 +0900 (JST)
From:      hirose@comm.yamaha.co.jp
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   i386/8639: if_de.c for Accton EN1207B-TX
Message-ID:  <199811100603.PAA16111@phoebe.comm.yamaha.co.jp>

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

>Number:         8639
>Category:       i386
>Synopsis:       Accton EN1207B-TX dosen't work
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov  9 22:10:00 PST 1998
>Last-Modified:
>Originator:     HIROSE Ryota
>Organization:
	Yamaha Co.
>Release:        FreeBSD 2.2.7-RELEASE i386
>Environment:
NIC: Accton EN1207B-TX ( DEC 21140-AF )
2.2.7-RELEASE

>Description:
 A NIC, Accton EN1207B-TX which uses DEC 21140-AF, doesn't work with
 2.2.7-RELEASE's 'if_de.c'.

>How-To-Repeat:

>Fix:
  I applied the following patch for /sys/pci/if_de.c, and it seems that
  the NIC works well.  But, I don't know this patch will affect the
  performance of other NICs or not.

--- if_de.c.dist	Tue Nov 10 09:58:50 1998
+++ if_de.c	Tue Nov 10 14:17:11 1998
@@ -2279,8 +2279,13 @@
     strcpy(sc->tulip_boardid, "ACCTON ");
     switch (sc->tulip_chipid) {
 	case TULIP_21140A:
-	    strcat(sc->tulip_boardid, "EN1207 ");
-	    sc->tulip_boardsw = &tulip_21140_accton_boardsw;
+	    if (sc->tulip_revinfo >= 0x22) {
+		strcat(sc->tulip_boardid, "EN1207B-TX ");
+		sc->tulip_boardsw = &tulip_2114x_isv_boardsw;
+	    } else {
+		strcat(sc->tulip_boardid, "EN1207 ");
+		sc->tulip_boardsw = &tulip_21140_accton_boardsw;
+	    }
 	    break;
 	case TULIP_21140:
 	    strcat(sc->tulip_boardid, "EN1207TX ");
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



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