From owner-p4-projects@FreeBSD.ORG Fri Jun 6 16:09:08 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id EAC5410656FD; Fri, 6 Jun 2008 16:09:07 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABB0410656F6 for ; Fri, 6 Jun 2008 16:09:07 +0000 (UTC) (envelope-from piso@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B36668FC19 for ; Fri, 6 Jun 2008 16:09:07 +0000 (UTC) (envelope-from piso@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m56G97Yk047244 for ; Fri, 6 Jun 2008 16:09:07 GMT (envelope-from piso@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m56G97VL047242 for perforce@freebsd.org; Fri, 6 Jun 2008 16:09:07 GMT (envelope-from piso@freebsd.org) Date: Fri, 6 Jun 2008 16:09:07 GMT Message-Id: <200806061609.m56G97VL047242@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to piso@freebsd.org using -f From: Paolo Pisati To: Perforce Change Reviews Cc: Subject: PERFORCE change 143034 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jun 2008 16:09:08 -0000 http://perforce.freebsd.org/chv.cgi?CH=143034 Change 143034 by piso@piso_ferret on 2008/06/06 16:09:02 fix compilation of ie. Affected files ... .. //depot/projects/soc2005/libalias/sys/dev/ie/if_ie.c#5 edit .. //depot/projects/soc2005/libalias/sys/dev/ie/if_ie507.h#2 edit .. //depot/projects/soc2005/libalias/sys/dev/ie/if_ie_isa.c#6 edit .. //depot/projects/soc2005/libalias/sys/dev/ie/if_iee16.h#2 edit .. //depot/projects/soc2005/libalias/sys/dev/ie/if_iereg.h#2 edit .. //depot/projects/soc2005/libalias/sys/dev/ie/if_ievar.h#4 edit Differences ... ==== //depot/projects/soc2005/libalias/sys/dev/ie/if_ie.c#5 (text+ko) ==== @@ -51,7 +51,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/dev/ie/if_ie.c,v 1.110 2008/06/05 14:43:55 jhb Exp $"); +__FBSDID("$FreeBSD: src/sys/dev/ie/if_ie.c,v 1.106 2005/11/11 16:04:52 ru Exp $"); /* * Intel 82586 Ethernet chip @@ -319,7 +319,7 @@ ifp->if_start = iestart; ifp->if_ioctl = ieioctl; ifp->if_init = ieinit; - IFQ_SET_MAXLEN(&ifp->if_snd, IFQ_MAXLEN); + ifp->if_snd.ifq_maxlen = IFQ_MAXLEN; if (sc->hard_type == IE_EE16) EVENTHANDLER_REGISTER(shutdown_post_sync, ee16_shutdown, @@ -1639,12 +1639,12 @@ (ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) { sc->promisc = ifp->if_flags & (IFF_PROMISC | IFF_ALLMULTI); - ieinit_locked(sc); + ieinit(sc); } else if (sc->promisc ^ (ifp->if_flags & (IFF_PROMISC | IFF_ALLMULTI))) { sc->promisc = ifp->if_flags & (IFF_PROMISC | IFF_ALLMULTI); - ieinit_locked(sc); + ieinit(sc); } break; ==== //depot/projects/soc2005/libalias/sys/dev/ie/if_ie507.h#2 (text+ko) ==== ==== //depot/projects/soc2005/libalias/sys/dev/ie/if_ie_isa.c#6 (text+ko) ==== @@ -37,7 +37,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/dev/ie/if_ie_isa.c,v 1.9 2008/06/05 14:45:32 jhb Exp $"); +__FBSDID("$FreeBSD: src/sys/dev/ie/if_ie_isa.c,v 1.7 2007/02/23 12:18:43 piso Exp $"); #include #include @@ -823,13 +823,11 @@ DEVMETHOD(device_detach, ie_detach), { 0, 0 } }; - static driver_t ie_isa_3C507_driver = { "ie", ie_isa_3C507_methods, sizeof(struct ie_softc), }; - DRIVER_MODULE(ie_3C507, isa, ie_isa_3C507_driver, ie_devclass, ie_modevent, 0); MODULE_DEPEND(ie_3C507, elink, 1, 1, 1); @@ -840,14 +838,12 @@ DEVMETHOD(device_detach, ie_detach), { 0, 0 } }; - static driver_t ie_isa_ee16_driver = { "ie", ie_isa_ee16_methods, sizeof(struct ie_softc), }; - -DRIVER_MODULE(ie, isa, ie_isa_ee16_driver, ie_devclass, ie_modevent, 0); +DRIVER_MODULE(ie_EE16, isa, ie_isa_ee16_driver, ie_devclass, ie_modevent, 0); static device_method_t ie_isa_sl_methods[] = { DEVMETHOD(device_probe, ie_isa_sl_probe), @@ -855,13 +851,11 @@ DEVMETHOD(device_detach, ie_detach), { 0, 0 } }; - static driver_t ie_isa_sl_driver = { "ie", ie_isa_sl_methods, sizeof(struct ie_softc), }; - DRIVER_MODULE(ie_SL, isa, ie_isa_sl_driver, ie_devclass, ie_modevent, 0); static int ==== //depot/projects/soc2005/libalias/sys/dev/ie/if_iee16.h#2 (text+ko) ==== ==== //depot/projects/soc2005/libalias/sys/dev/ie/if_iereg.h#2 (text+ko) ==== ==== //depot/projects/soc2005/libalias/sys/dev/ie/if_ievar.h#4 (text+ko) ====