Date: Sat, 8 Feb 1997 16:20:18 -0500 (EST) From: John Capo <jc@irbs.com> To: FreeBSD-gnats-submit@freebsd.org Subject: kern/2696: de driver support for SMC9332BDT Message-ID: <199702082120.QAA05277@cleat.irbs.com> Resent-Message-ID: <199702082130.NAA00849@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702082120.QAA05277>