Fix phy interrupts setup for ixl
Fix the inverted set of interrupts being used as the mask for ixl. Without this ixl devices fail to detect link state changes. Reviewed by: erj, sbruno MFC after: 2 days Sponsored by: Multiplay
This commit is contained in:
parent
4111e0a100
commit
4088e74393
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=295051
@ -674,8 +674,8 @@ 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);
|
||||
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user