svn commit: r316539 - stable/11/sys/dev/bxe
Sean Bruno
sbruno at FreeBSD.org
Wed Apr 5 19:33:05 UTC 2017
Author: sbruno
Date: Wed Apr 5 19:33:04 2017
New Revision: 316539
URL: https://svnweb.freebsd.org/changeset/base/316539
Log:
MFC r308343
r266979 missed a call to enable capabilities of the hw leading to an
inability to enable features of the device.
PR: 213845
Modified:
stable/11/sys/dev/bxe/bxe.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/dev/bxe/bxe.c
==============================================================================
--- stable/11/sys/dev/bxe/bxe.c Wed Apr 5 19:15:06 2017 (r316538)
+++ stable/11/sys/dev/bxe/bxe.c Wed Apr 5 19:33:04 2017 (r316539)
@@ -12746,6 +12746,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-stable-11
mailing list