Date: Mon, 17 May 2010 02:20:24 +0000 (UTC) From: Jack F Vogel <jfv@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org Subject: svn commit: r208181 - stable/7/sys/dev/e1000 Message-ID: <201005170220.o4H2KO3r085954@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jfv Date: Mon May 17 02:20:24 2010 New Revision: 208181 URL: http://svn.freebsd.org/changeset/base/208181 Log: Change lem_poll to match em Modified: stable/7/sys/dev/e1000/if_lem.c Modified: stable/7/sys/dev/e1000/if_lem.c ============================================================================== --- stable/7/sys/dev/e1000/if_lem.c Mon May 17 02:11:03 2010 (r208180) +++ stable/7/sys/dev/e1000/if_lem.c Mon May 17 02:20:24 2010 (r208181) @@ -1231,7 +1231,7 @@ lem_init(void *arg) * Legacy polling routine * *********************************************************************/ -static int +static void lem_poll(struct ifnet *ifp, enum poll_cmd cmd, int count) { struct adapter *adapter = ifp->if_softc; @@ -1240,7 +1240,7 @@ lem_poll(struct ifnet *ifp, enum poll_cm EM_CORE_LOCK(adapter); if ((ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) { EM_CORE_UNLOCK(adapter); - return (rx_done); + return; } if (cmd == POLL_AND_CHECK_STATUS) { @@ -1262,7 +1262,7 @@ lem_poll(struct ifnet *ifp, enum poll_cm if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) lem_start_locked(ifp); EM_TX_UNLOCK(adapter); - return (rx_done); + return; } #endif /* DEVICE_POLLING */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005170220.o4H2KO3r085954>