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 */
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to