net: gem: Disable PCS autonegotiation in case of fixed-link
authorMichal Simek <michal.simek@xilinx.com>
Wed, 13 May 2020 14:05:01 +0000 (08:05 -0600)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 24 Jun 2020 11:11:06 +0000 (13:11 +0200)
commit26e62cc9713ebe728d01826e8c22c3c56f8e3bf4
tree969e1dddf7cbf6bd19dbdeace9dc620cff5db9a7
parent7831292fc94d9624b33b3418a73c35ece232b35e
net: gem: Disable PCS autonegotiation in case of fixed-link

Disable PCS autonegotiation if fixed-link node is present in device tree.
This way systems with multiple GEM instances with a combination of
SGMII-fixed and SGMII-PHY will work.

Reported-by: Goran Marinkovic <goran.marinkovic@psi.ch>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/zynq_gem.c