svn commit: r308343 - head/sys/dev/bxe
Sean Bruno
sbruno at FreeBSD.org
Sat Nov 5 16:17:09 UTC 2016
Author: sbruno
Date: Sat Nov 5 16:17:07 2016
New Revision: 308343
URL: https://svnweb.freebsd.org/changeset/base/308343
Log:
r266979 missed a call to enable capabilities of the hw leading to an
inability to enable features of the device.
PR: 213845
Submitted by: pherman at frenchfries.net
MFC after: 1 week
Modified:
head/sys/dev/bxe/bxe.c
Modified: head/sys/dev/bxe/bxe.c
==============================================================================
--- head/sys/dev/bxe/bxe.c Sat Nov 5 15:01:41 2016 (r308342)
+++ head/sys/dev/bxe/bxe.c Sat Nov 5 16:17:07 2016 (r308343)
@@ -12691,6 +12691,7 @@ bxe_init_ifnet(struct bxe_softc *sc)
IFCAP_WOL_MAGIC);
#endif
if_setcapabilitiesbit(ifp, capabilities, 0); /* XXX */
+ if_setcapenable(ifp, if_getcapabilities(ifp));
if_setbaudrate(ifp, IF_Gbps(10));
/* XXX */
if_setsendqlen(ifp, sc->tx_ring_size);
More information about the svn-src-all
mailing list