From owner-freebsd-current Mon Oct 23 14:00:38 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA27336 for current-outgoing; Mon, 23 Oct 1995 14:00:38 -0700 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA27327 ; Mon, 23 Oct 1995 14:00:35 -0700 Received: (from julian@localhost) by ref.tfs.com (8.6.11/8.6.9) id NAA00438; Mon, 23 Oct 1995 13:58:36 -0700 From: Julian Elischer Message-Id: <199510232058.NAA00438@ref.tfs.com> Subject: Re: 3c509 in -current needs patching To: babkin@hq.icb.chel.su (Serge A. Babkin) Date: Mon, 23 Oct 1995 13:58:36 -0700 (PDT) Cc: gena@NetVision.net.il, jlc@kepler.whats.att.com, current@freebsd.org, wollman@freebsd.org In-Reply-To: <199510230350.IAA13131@hq.icb.chel.su> from "Serge A. Babkin" at Oct 23, 95 08:50:46 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 2855 Sender: owner-current@freebsd.org Precedence: bulk HEY I HAVE'NT checked in the IPX code yet.. > > + #ifdef IPX > + #include > + #include > + #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 >