svn commit: r268856 - head/sys/dev/bxe

看板FB_svn作者時間11年前 (2014/07/19 05:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
文章代碼(AID): #1JoP9Jol (FB_svn)