Project

General

Profile

Bug #62 ยป if_awi.incompat.diff

slynko, 01/18/2006 04:04 PM

View differences:

/usr/src1/sys/dev/netif/awi/if_awi_pccard.c 18 Jan 2006 13:01:58 -0000
struct awi_softc *sc = &psc->sc_awi;
struct ifnet *ifp = &sc->sc_ec.ac_if;
lwkt_serialize_enter(&ifp->if_serializer);
lwkt_serialize_enter(ifp->if_serializer);
ifp->if_flags &= ~IFF_RUNNING;
if (psc->sc_intrhand) {
bus_teardown_intr(dev, psc->sc_irq_res, psc->sc_intrhand);
psc->sc_intrhand = 0;
}
lwkt_serialize_exit(&ifp->if_serializer);
lwkt_serialize_exit(ifp->if_serializer);
ether_ifdetach(ifp);
    (1-1/1)