commit | e0f06bba9629987fb3ec1d6928bf17ef689702e8 | [log] [tgz] |
---|---|---|
author | Mark D Rustad <mark.d.rustad@intel.com> | Wed Aug 31 10:34:28 2016 -0700 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Mon Oct 09 07:43:06 2017 -0700 |
tree | 15fe0f6169be03e7effa68760bae625013cf6ea6 | |
parent | a9e2971b8cd3ef469de0112ba15778b5b98ad72e [diff] |
ixgbe: Return error when getting PHY address if PHY access is not supported In cases where PHY register access is not supported, don't mislead a caller into thinking that it is supported by returning a PHY address. Instead, return -EOPNOTSUPP when PHY access is not supported. Signed-off-by: Mark Rustad <mark.d.rustad@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>