Date: Mon, 23 Oct 1995 13:58:36 -0700 (PDT) From: Julian Elischer <julian@ref.tfs.com> To: babkin@hq.icb.chel.su (Serge A. Babkin) Cc: gena@NetVision.net.il, jlc@kepler.whats.att.com, current@freebsd.org, wollman@freebsd.org Subject: Re: 3c509 in -current needs patching Message-ID: <199510232058.NAA00438@ref.tfs.com> In-Reply-To: <199510230350.IAA13131@hq.icb.chel.su> from "Serge A. Babkin" at Oct 23, 95 08:50:46 am
next in thread | previous in thread | raw e-mail | index | archive | help
HEY I HAVE'NT checked in the IPX code yet.. > > + #ifdef IPX > + #include <netipx/ipx.h> > + #include <netipx/ipx_if.h> > + #endif > + What's this? WHERE IS IT COMING FROM? > *** 308,327 **** > + #ifdef IPX > + case AF_IPX: > + { > + register struct ipx_addr *ina = &(IA_SIPX(ifa)->sipx_addr); > + > + if (ipx_nullhost(*ina)) > + ina->x_host = > + *(union ipx_host *) (sc->arpcom.ac_enaddr); > + else { > + ifp->if_flags &= ~IFF_RUNNING; > + bcopy((caddr_t) ina->x_host.c_host, > + (caddr_t) sc->arpcom.ac_enaddr, > + sizeof(sc->arpcom.ac_enaddr)); > + } > + epinit(ifp->if_unit); > + break; > + } > + #endif > if ((ifp->if_flags & IFF_UP) == 0 && ifp->if_flags & IFF_RUNNING) { > ifp->if_flags &= ~IFF_RUNNING; > epstop(ifp->if_unit); > *************** > *** 1186,1191 **** > --- 1258,1264 ---- > } > > /* NOTREACHED */ > + #if 0 > > if (ifp->if_flags & IFF_UP && (ifp->if_flags & IFF_RUNNING) == 0) > epinit(ifp->if_unit); > *************** > *** 1198,1203 **** > --- 1271,1277 ---- > ep_frst(F_PROMISC); > epinit(ifp->if_unit); > } > + #endif > > break; > #ifdef notdef > *************** > *** 1216,1223 **** > } else { > ifp->if_mtu = ifr->ifr_mtu; > } > ! break; > ! > default: > error = EINVAL; > } > --- 1290,1304 ---- > } else { > ifp->if_mtu = ifr->ifr_mtu; > } > ! break; > ! case SIOCADDMULTI: > ! case SIOCDELMULTI: > ! /* Now this driver has no support for programmable > ! * multicast filters. If some day it will gain this > ! * support this part of code must be extended. > ! */ > ! error=0; > ! break; > default: > error = EINVAL; > } > *** if_epreg.h Mon Oct 23 08:25:55 1995 > --- /sys/i386/isa/if_epreg.h Fri Aug 4 09:00:36 1995 > *************** > *** 71,76 **** > --- 70,77 ---- > > #define F_ACCESS_32_BITS 0x100 > > + struct ep_board *epb; > + > #ifdef EP_LOCAL_STATS > short tx_underrun; > short rx_no_first; > *************** > *** 80,85 **** > --- 81,97 ---- > short rx_overrunl; > #endif > }; > + > + struct ep_board { > + int epb_addr; /* address of this board */ > + char epb_used; /* was this entry already used for configuring ? */ > + /* data from EEPROM for later use */ > + char epb_isa; /* flag: this is an ISA card */ > + u_short eth_addr[3]; /* Ethernet address */ > + u_short prod_id; /* product ID */ > + u_short res_cfg; /* resource configuration */ > + }; > + > > /* > * Some global constants > ------------------------------- cut here -------------------------------- > > Serge Babkin > > ! (babkin@hq.icb.chel.su) > ! Headquarter of Joint Stock Commercial Bank "Chelindbank" > ! Chelyabinsk, Russia >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510232058.NAA00438>