Date: Sun, 31 Jan 2016 02:23:30 +0000 (UTC) From: Steven Hartland <smh@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r295088 - stable/10/sys/dev/ixl Message-ID: <201601310223.u0V2NUcp065439@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601310223.u0V2NUcp065439>