i40e: Request PHY media event at reset time
authorShannon Nelson <shannon.nelson@intel.com>
Fri, 18 Mar 2016 19:18:15 +0000 (12:18 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 6 Apr 2016 03:33:55 +0000 (20:33 -0700)
commit867a79e37ed9a3a5a2051cc11df21a57a8a00bfe
treeafb583b2c77fd6a309e6bfeb8d925c3e8683d9ab
parent18b7af57d9c1165c2b8f13ec4668d6d7f51708cf
i40e: Request PHY media event at reset time

Add the Media Not Available flag to the link event mask.  It seems
that event comes first if you have a DA cable pulled out, but there's no
follow-up event for Link Down; if you're not looking for MEDIA_NA you will
get no event, even though there's now no Link.

Change-ID: cb3340a2849805bb881f64f6f2ae810eef46eba7
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c