From owner-FreeBSD-users-jp@jp.freebsd.org  Fri Oct 10 06:10:03 1997
Received: by jaz.jp.freebsd.org (8.8.7+2.7Wbeta7/8.7.3) id GAA04956
	Fri, 10 Oct 1997 06:10:03 +0900 (JST)
Received: by jaz.jp.freebsd.org (8.8.7+2.7Wbeta7/8.7.3) with ESMTP id GAA04951
	for <FreeBSD-users-jp@jp.freebsd.org>; Fri, 10 Oct 1997 06:10:02 +0900 (JST)
Received: by dnsgw.tmca.ac.jp (1.39.111.2/3.5Wbeta-dnsgw)
	id AA017871431; Fri, 10 Oct 1997 06:10:31 +0900
Received: from unknown(192.168.1.13) by dnsgw.tmca.ac.jp via smap (V1.3)
	id sma001774; Fri Oct 10 06:10:06 1997
Received: from i386.honkan3.tmca.ac.jp by tmca.ac.jp (1.39.111.2/3.5Wbeta-mailsv)
	id AA092401387; Fri, 10 Oct 1997 06:09:47 +0900
Received: (qmail 7909 invoked by uid 1001); 9 Oct 1997 21:08:24 -0000
Message-Id: <19971009210824.7908.qmail@i386.honkan3.tmca.ac.jp>
From: "Murakami Hiroshi" <nws830@ca2.so-net.or.jp>
To: FreeBSD-users-jp@jp.freebsd.org
Date: Fri, 10 Oct 1997 06:08:24 +0900 (JST)
X-Mailer: ELM [version 2.4ME+ PL22 (25)]
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=20]
X-Sequence: FreeBSD-users-jp 19188
Subject: [FreeBSD-users-jp 19188] PLANET ENW9501F, 100M/10M NIC.
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org


  FAQ: PLANET$@$N(JENW9501F$@$J$k(J100M/10M ether card $@$,$&$^$/F0:n$7$J$$LdBj(J
 --------------------------------------------------------------------


/sys/pci/if_de.c $@$r=$@5$7$^$9!#(J
$@<j$GD>$9$H$-$O(J New SROM format$@$,$I$&$F$i$H$$$&Cm<a$N$"$?$j$r8+IU$1$F(J

-------------------
	if (new_srom_fmt) {
	    int copy_name = 0;
	    /*
	     * New SROM format.  Copy out the Ethernet address.
	     * If it contains a DE500-XA string, then it must be
	     * a DE500-XA.
	     */
	    bcopy(sc->tulip_rombuf + 20, sc->tulip_hwaddr, 6);
	    if (bcmp(sc->tulip_rombuf + 29, "DE500-XA", 8) == 0) {
		sc->tulip_boardsw = &tulip_21140_de500xa_boardsw;
		copy_name = 1;
	    } else if (bcmp(sc->tulip_rombuf + 29, "DE500-AA", 8) == 0) {
-------------------
$@$H$J$C$F$$$k$N$r(J,$@$@$$$?$$(J
-------------------
	if (new_srom_fmt) {
	    int copy_name = 0;
	    /*
	     * New SROM format.  Copy out the Ethernet address.
	     * If it contains a DE500-XA string, then it must be
	     * a DE500-XA.
	     */
	    bcopy(sc->tulip_rombuf + 20, sc->tulip_hwaddr, 6);
#define PLANET_ENW9501F
#ifdef PLANET_ENW9501F
	    if (sc->tulip_chipid == TULIP_21140A)
		sc->tulip_boardsw = &tulip_21140_de500aa_boardsw;
#endif
	    if (bcmp(sc->tulip_rombuf + 29, "DE500-XA", 8) == 0) {
		sc->tulip_boardsw = &tulip_21140_de500xa_boardsw;
		copy_name = 1;
	    } else if (bcmp(sc->tulip_rombuf + 29, "DE500-AA", 8) == 0) {
-------------------
$@$H$$$&$U$&$K$7$^$9!#(J
	    if (sc->tulip_chipid == TULIP_21140A)
		sc->tulip_boardsw = &tulip_21140_de500aa_boardsw;
$@$O(J de0 $@7?$N%+!<%I$,(JENW9501F$@0l<oN`$@$1$J$i$P(J
		sc->tulip_boardsw = &tulip_21140_de500aa_boardsw;
$@$@$1$G$b$$$$$G$7$g$&!#(J

$@$h$&$9$k$K!"(Jsc->tulip_rombuf $@$N(J 29$@%P%$%HL\$+$i$N%G!<%?$H$7$F(J
$@J8;zNs(J DE500 $@1>!9$H$$$&J8;z$O(JPLANET$@$N(JENW9501F$@$N%+!<%I$K$O(J
$@4^$^$l$F$*$i$J$$$N$G$9!#(J

==========



FreeBSD 2.2.2 (LASER5 CD-ROM)$@$N%=!<%9$r$b$H$K$7$?%Q%C%A$N7A<0$r0J2<$K$D$1$^$9(J.
2.1.x$@$G$b0LCV$,$:$l$F$$$k$[$+$OF1MM$G$9!#(J

------- cut here -------
*** if_de.c.org	Fri Oct 10 05:53:58 1997
--- if_de.c	Fri Oct 10 05:51:31 1997
***************
*** 3134,3139 ****
--- 3134,3143 ----
  	     * a DE500-XA.
  	     */
  	    bcopy(sc->tulip_rombuf + 20, sc->tulip_hwaddr, 6);
+ /*#ifdef PLANET_ENW9501F*/
+ 	    if (sc->tulip_chipid == TULIP_21140A)
+ 		sc->tulip_boardsw = &tulip_21140_de500aa_boardsw;
+ /*#endif*/
  	    if (bcmp(sc->tulip_rombuf + 29, "DE500-XA", 8) == 0) {
  		sc->tulip_boardsw = &tulip_21140_de500xa_boardsw;
  		copy_name = 1;
------- cut here -------

$@$*$7$^$$!#(J
