From owner-freebsd-hackers Mon Mar 10 23:28:26 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA03144 for hackers-outgoing; Mon, 10 Mar 1997 23:28:26 -0800 (PST) Received: from verdi.nethelp.no (verdi.nethelp.no [193.91.212.2]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id XAA03120 for ; Mon, 10 Mar 1997 23:28:06 -0800 (PST) From: sthaug@nethelp.no Received: (qmail 13111 invoked by uid 1001); 11 Mar 1997 07:27:57 +0000 (GMT) To: tim@futuresouth.com Cc: dg@root.com, hackers@freebsd.org Subject: Re: performance (was: 100 Mb/s cards) In-Reply-To: Your message of "Mon, 10 Mar 1997 21:20:03 -0600 (CST)" References: <199703110320.VAA04042@shell.futuresouth.com> X-Mailer: Mew version 1.05+ on Emacs 19.28.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Tue, 11 Mar 1997 08:27:56 +0100 Message-ID: <13109.858065276@verdi.nethelp.no> Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Perhaps this can be reflected in the supported hardware file, > especially a note about 21140-AC based cards. I bought these cards > based on the hardware list and also by comments that these cards are > going to be supported soon (that was 3 months ago), well, that hasn't > turned out to be the case. The least we can do is to prevent others > from making the same mistake. It may not be supported, but it's reasonably easy to get to work with a patch. Here's what I use on a machine running 2.2-970215-GAMMA, with version 1.54.2.2 of if_de.c. The SMC Etherpower 10/100 dual channel is recognized, and works fine at 100 Mbit/s. The machine now has eight Ethernets :-) Probing for devices on PCI bus 1: de0 rev 35 int a irq 10 on pci1:4 de0: ZNYX ZX314 21040 [10Mb/s] pass 2.3 de0: address 00:c0:95:f0:1d:20 de0: enabling 10baseT port de1 rev 35 int a irq 10 on pci1:5 de1: (null)21040 [10Mb/s] pass 2.3 de1: address 00:c0:95:f0:1d:21 de1: enabling 10baseT port de2 rev 35 int a irq 11 on pci1:6 de2: (null)21040 [10Mb/s] pass 2.3 de2: address 00:c0:95:f0:1d:22 de2: enabling 10baseT port de3 rev 35 int a irq 11 on pci1:7 de3: (null)21040 [10Mb/s] pass 2.3 de3: address 00:c0:95:f0:1d:23 de3: enabling 10baseT port Probing for devices on PCI bus 2: de4 rev 35 int a irq 11 on pci2:4 de4: SMC 8434T-CH1 21040 [10Mb/s] pass 2.3 de4: address 00:00:c0:2b:0e:c0 de4: enabling 10baseT port de5 rev 35 int a irq 10 on pci2:5 de5: SMC 8434T-CH2 21040 [10Mb/s] pass 2.3 de5: address 00:00:c0:4e:10:c0 de5: enabling 10baseT port Probing for devices on PCI bus 3: de6 rev 32 int a irq 11 on pci3:4 de6: SMC 9332BDT 21140A [10-100Mb/s] pass 2.0 de6: address 00:00:c0:cd:8d:ef de7 rev 32 int a irq 11 on pci3:5 de7: SMC 9332BDT 21140A [10-100Mb/s] pass 2.0 de7: address 00:00:c0:cc:8d:ef Steinar Haug, Nethelp consulting, sthaug@nethelp.no ---------------------------------------------------------------------- *** if_de.c.orig Tue Dec 3 11:52:49 1996 --- if_de.c Sun Feb 16 23:36:43 1997 *************** *** 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 */ *************** *** 1544,1549 **** --- 1545,1558 ---- #endif } + 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 const tulip_boardsw_t tulip_21140_smc9332_boardsw = { TULIP_21140_SMC_9332, "SMC 9332 ", *************** *** 3014,3019 **** --- 3023,3032 ---- 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);