Date: Wed, 19 Feb 1997 02:30:50 -0800 (PST) From: iwaki@jaist.ac.jp To: freebsd-gnats-submit@freebsd.org Subject: kern/2767: [2.2-970215-GAMMA] de0 doesn't work with SMC9332BDT and a solution Message-ID: <199702191030.CAA16661@freefall.freebsd.org> Resent-Message-ID: <199702191040.CAA16953@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 2767 >Category: kern >Synopsis: [2.2-970215-GAMMA] de0 doesn't work with SMC9332BDT and a solution >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Feb 19 02:40:01 PST 1997 >Last-Modified: >Originator: Mamoru IWAKI >Organization: Japan Advanced Institute of Science and Technology >Release: 2.2-970215-GAMMA >Environment: FreeBSD ais-gw2k.jaist.ac.jp 2.2-970215-GAMMA FreeBSD 2.2-970215-GAMMA #0: Thu Feb 20 01:32:04 JST 1997 root@ais-gw2k.jaist.ac.jp:/usr/src/sys/compile/GENERIC_BIG i386 >Description: I cannot ftp-install the 2.2-970215-GAMMA using its boot.flp because de0 with SMC9332BDT does not work and says "timeout". And the same problem still exists after installing the GAMMA from msdos partition. I hope the problem will have been settled in the RELEASE. >How-To-Repeat: The problem is repeated on ftp-install using boot.flp and de0-access using GENERIC kernel of 2.2-970215-GAMMA when SMC9332BDT is used. >Fix: I don't know the origin of the following patch, but it looks like working well in my environment(10baseT). *** if_de.c.orig Wed Feb 19 17:38:55 1997 --- if_de.c Wed Feb 19 17:39:41 1997 *************** *** 1826,1831 **** --- 1826,1839 ---- tulip_21140_mii_probe, }; + static const tulip_boardsw_t tulip_21140_smc9332bdt_boardsw = { + TULIP_21140_DEC_DE500, "SMC SMC9332BDT EtherPower10/100 ", + tulip_21140_de500aa_media_probe, + tulip_21140_de500aa_media_select, + tulip_21140_mii_media_preset, + tulip_21140_mii_probe, + }; + static int tulip_21041_media_probe( tulip_softc_t * const sc) *************** *** 3012,3017 **** --- 3020,3029 ---- if (sc->tulip_chipid == TULIP_21041) return; + if (sc->tulip_chipid == TULIP_21140A) { + sc->tulip_boardsw = &tulip_21140_smc9332bdt_boardsw; + return; + } if (sc->tulip_chipid == TULIP_21140) { sc->tulip_boardsw = &tulip_21140_smc9332_boardsw; return; >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702191030.CAA16661>