Skip to content
Commit e0f06bba authored by Mark D Rustad's avatar Mark D Rustad Committed by Jeff Kirsher
Browse files

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: default avatarMark Rustad <mark.d.rustad@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent a9e2971b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment