aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-bridge.h
diff options
context:
space:
mode:
authorMark D Rustad <mark.d.rustad@intel.com>2016-08-31 10:34:28 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2017-10-09 07:43:06 -0700
commite0f06bba9629987fb3ec1d6928bf17ef689702e8 (patch)
tree15fe0f6169be03e7effa68760bae625013cf6ea6 /include/linux/fpga/fpga-bridge.h
parenta9e2971b8cd3ef469de0112ba15778b5b98ad72e (diff)
downloadlinux-e0f06bba9629987fb3ec1d6928bf17ef689702e8.tar.gz
linux-e0f06bba9629987fb3ec1d6928bf17ef689702e8.tar.bz2
linux-e0f06bba9629987fb3ec1d6928bf17ef689702e8.zip
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>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions