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
@ -674,9 +674,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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user