summaryrefslogtreecommitdiff
path: root/lib/pm-notifier-error-inject.c
diff options
context:
space:
mode:
authorTony Nguyen <anthony.l.nguyen@intel.com>2019-06-26 12:20:17 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-07-31 20:23:04 +0300
commit6d5999467df03d1d7fd64ac761ffa20d00ce9e52 (patch)
tree02dde5e8494e7b61b31db73287dd08e50bf60fa5 /lib/pm-notifier-error-inject.c
parent5c91ecfda5a8bfbc4697b35fe875cbc43a0f9100 (diff)
downloadlinux-6d5999467df03d1d7fd64ac761ffa20d00ce9e52.tar.xz
ice: Do not configure port with no media
The firmware reports an error when trying to configure a port with no media. Instead of always configuring the port, check for media before attempting to configure it. In the absence of media, turn off link and poll for media to become available before re-enabling link. Move ice_force_phys_link_state() up to avoid forward declaration. Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions