--- ng_fec.c.orig Mon Aug 22 11:42:51 2005 +++ ng_fec.c Tue Aug 23 11:28:36 2005 @@ -544,8 +544,8 @@ struct ifnet *ifp, *bifp; struct ng_fec_portlist *p; - ifp = arg; - priv = ifp->if_softc; + priv = arg; + ifp = priv->ifp; b = &priv->fec_bundle; if (b->fec_ifcnt == 1 || b->fec_ifcnt == 3) { @@ -715,7 +715,7 @@ } ifp->if_drv_flags &= ~(IFF_DRV_OACTIVE); ifp->if_drv_flags |= IFF_DRV_RUNNING; - ng_fec_init(ifp); + ng_fec_init(priv); } /* * Bubble down changes in promisc mode to