From owner-freebsd-hackers Mon Dec 30 15:15:58 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id PAA27676 for hackers-outgoing; Mon, 30 Dec 1996 15:15:58 -0800 (PST) Received: from irbs.irbs.com (jc@irbs.irbs.com [199.182.75.129]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id PAA27661 for ; Mon, 30 Dec 1996 15:15:53 -0800 (PST) Received: (from jc@localhost) by irbs.irbs.com (8.8.4/8.8.4) id SAA01115; Mon, 30 Dec 1996 18:15:23 -0500 (EST) Message-ID: Date: Mon, 30 Dec 1996 18:15:22 -0500 From: jc@irbs.com (John Capo) To: adonai@jump.net (Lee Crites) Cc: black@squid.gage.com (Ben Black), freebsd-hackers@freebsd.org Subject: Re: de ethernet driver stomps SMC 10/100 References: <9612271830.AA25005@squid.gage.com> X-Mailer: Mutt 0.55 Mime-Version: 1.0 X-Organization: IRBS Engineering, (954) 792-9551 In-Reply-To: ; from Lee Crites on Dec 30, 1996 13:28:29 -0600 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Quoting Lee Crites (adonai@jump.net): > On Fri, 27 Dec 1996, Ben Black wrote: > > > the new chipset is the DEC 21140-A instead of the DEC 21140. though they > > are in the same family, the two are not driver compatible. the SMC cards > > with the 21140-A chip is generally labelled SMC EtherPower 10/100 B (the B is > > the important part). i just got 5 new P6 machines with the B series and > > they are useless to me. > > Well, I'm kind of in the same boat -- maybe. I am just no trying to bring > up my first FreeBSD system. I have a recently purchased SMC9332 10/100 > card. Nothing on my box or docu states it is a "B" version. I've tried Just last night I got a SMC9332BDT working with -stable. Basically I detected that the chip was a 21140A and pointed it at a new boardsw structure. I haven't tested it a 100Mbs. Works fine at 10Mps. These diff fragments are from a 11/11/96 version of if_de.c. John Capo if_de.c: TULIP_DC21140_DEC_DE500, /* Digital DE500-?? 10/100 */ TULIP_DC21140_SMC_9332, /* SMC 9332 */ + TULIP_DC21140A_SMC_9332BDT, /* SMC 9332BDT with 21140A */ TULIP_DC21140_COGENT_EM100, /* Cogent EM100 100 only */ TULIP_DC21140_ZNYX_ZX34X, /* ZNYX ZX342 10/100 */ + static const tulip_boardsw_t tulip_dc21140A_smc9332bdt_boardsw = { + TULIP_DC21140A_SMC_9332BDT, + "SMC 9332BDT ", + tulip_dc21140_smc9332_media_probe, + tulip_dc21140_mii_media_preset, + tulip_dc21140_mii_probe, + }; sc->tulip_boardsw = &tulip_dc21140_smc9332_boardsw; return; } + if (sc->tulip_chipid == TULIP_DC21140A) { + sc->tulip_boardsw = &tulip_dc21140A_smc9332bdt_boardsw; + return; + } id1 = sc->tulip_rombuf[0x60] | (sc->tulip_rombuf[0x61] << 8); id2 = sc->tulip_rombuf[0x62] | (sc->tulip_rombuf[0x63] << 8);