From owner-freebsd-bugs Sat Feb 8 13:30:06 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA00856 for bugs-outgoing; Sat, 8 Feb 1997 13:30:06 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA00849; Sat, 8 Feb 1997 13:30:03 -0800 (PST) Resent-Date: Sat, 8 Feb 1997 13:30:03 -0800 (PST) Resent-Message-Id: <199702082130.NAA00849@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, jc@irbs.com Received: from irbs.irbs.com (smtpd@irbs.irbs.com [199.182.75.129]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA00464 for ; Sat, 8 Feb 1997 13:20:23 -0800 (PST) Received: from cleat.irbs.com (cleat.irbs.com [199.182.75.131]) by irbs.irbs.com (8.8.5/8.8.5) with ESMTP id QAA26633 for ; Sat, 8 Feb 1997 16:20:18 -0500 (EST) Received: (from jc@localhost) by cleat.irbs.com (8.8.4/8.7.3) id QAA05277; Sat, 8 Feb 1997 16:20:18 -0500 (EST) Message-Id: <199702082120.QAA05277@cleat.irbs.com> Date: Sat, 8 Feb 1997 16:20:18 -0500 (EST) From: John Capo Reply-To: jc@irbs.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/2696: de driver support for SMC9332BDT Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 2696 >Category: kern >Synopsis: de driver support for SMC9332BDT >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Feb 8 13:30:02 PST 1997 >Last-Modified: >Originator: John Capo >Organization: IRBS Engineering >Release: FreeBSD 2.2-RELEASE i386 >Environment: >Description: The de driver does not recognize the SMC9332BDT card. >How-To-Repeat: >Fix: This patch has not been tested on a 2.2 system. It has been tested on the 2.2 de driver back-ported to -stable. Index: if_de.c =================================================================== RCS file: /usr/cvs/src/sys/pci/if_de.c,v retrieving revision 1.54.2.2 diff -c -r1.54.2.2 if_de.c *** if_de.c 1996/12/03 10:52:49 1.54.2.2 --- if_de.c 1997/02/08 17:06:08 *************** *** 346,351 **** --- 346,352 ---- TULIP_21140_DEC_EB, /* Digital Semicondutor 21140 Evaluation Board */ TULIP_21140_DEC_DE500, /* Digital DE500-?? 10/100 */ TULIP_21140_SMC_9332, /* SMC 9332 */ + TULIP_21140A_SMC_9332BDT, /* SMC 9332BDT with 21140A */ TULIP_21140_COGENT_EM100, /* Cogent EM100 100 only */ TULIP_21140_ZNYX_ZX34X, /* ZNYX ZX342 10/100 */ TULIP_21041_GENERIC, /* Generic 21041 card */ *************** *** 1551,1556 **** --- 1552,1566 ---- tulip_21140_smc9332_media_select, tulip_21140_nomii_media_preset, }; + + static const tulip_boardsw_t tulip_21140A_smc9332bdt_boardsw = { + TULIP_21140A_SMC_9332BDT, + "SMC 9332BDT ", + tulip_21140_smc9332_media_probe, + tulip_21140_mii_media_preset, + tulip_21140_mii_probe, + }; + static int tulip_21140_cogent_em100_media_probe( *************** *** 3014,3019 **** --- 3024,3033 ---- return; if (sc->tulip_chipid == TULIP_21140) { sc->tulip_boardsw = &tulip_21140_smc9332_boardsw; + return; + } + if (sc->tulip_chipid == TULIP_21140A) { + sc->tulip_boardsw = &tulip_21140A_smc9332bdt_boardsw; return; } id1 = sc->tulip_rombuf[0x60] | (sc->tulip_rombuf[0x61] << 8); >Audit-Trail: >Unformatted: