Author: delphij Date: Fri Jul 18 21:28:59 2014 New Revision: 268856 URL: http://svnweb.freebsd.org/changeset/base/268856
Log: Fix build by using the driver API (driver converted in r266979 which should be upstreamed). X-MFC with: r268854 MFC after: 5 days Modified: head/sys/dev/bxe/bxe_stats.c Modified: head/sys/dev/bxe/bxe_stats.c ============================================================================== --- head/sys/dev/bxe/bxe_stats.c Fri Jul 18 20:41:40 2014 (r268855) +++ head/sys/dev/bxe/bxe_stats.c Fri Jul 18 21:28:59 2014 (r268856) @@ -1302,7 +1302,7 @@ bxe_stats_update(struct bxe_softc *sc) if (bxe_storm_stats_update(sc)) { if (sc->stats_pending++ == 3) { - if (sc->ifnet->if_drv_flags & IFF_DRV_RUNNING) { + if (if_getdrvflags(sc->ifp) & IFF_DRV_RUNNING) { atomic_store_rel_long(&sc->chip_tq_flags, CHIP_TQ_REINIT); taskqueue_enqueue(sc->chip_tq, &sc->chip_tq_task); } _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"