svn commit: r295088 - stable/10/sys/dev/ixl
Steven Hartland
smh at FreeBSD.org
Sun Jan 31 02:23:32 UTC 2016
Author: smh
Date: Sun Jan 31 02:23:30 2016
New Revision: 295088
URL: https://svnweb.freebsd.org/changeset/base/295088
Log:
MFC r295051:
Fix phy interrupts setup for ixl
Approved by: re (gjb)
Sponsored by: Multiplay
Modified:
stable/10/sys/dev/ixl/if_ixl.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/dev/ixl/if_ixl.c
==============================================================================
--- stable/10/sys/dev/ixl/if_ixl.c Sat Jan 30 22:48:06 2016 (r295087)
+++ stable/10/sys/dev/ixl/if_ixl.c Sun Jan 31 02:23:30 2016 (r295088)
@@ -673,9 +673,9 @@ ixl_attach(device_t dev)
}
/* Limit phy interrupts to link and modules failure */
- error = i40e_aq_set_phy_int_mask(hw,
- I40E_AQ_EVENT_LINK_UPDOWN | I40E_AQ_EVENT_MODULE_QUAL_FAIL, NULL);
- if (error)
+ error = i40e_aq_set_phy_int_mask(hw, ~(I40E_AQ_EVENT_LINK_UPDOWN |
+ I40E_AQ_EVENT_MODULE_QUAL_FAIL), NULL);
+ if (error)
device_printf(dev, "set phy mask failed: %d\n", error);
/* Get the bus configuration and set the shared code */
More information about the svn-src-stable-10
mailing list