From: Andrew Lunn <and...@lunn.ch> Date: Mon, 12 Nov 2018 18:51:01 +0100
> We already have a workaround for a couple of switches whose internal > PHYs only have the Marvel OUI, but no model number. We detect such > PHYs and give them the 6390 ID as the model number. However the > mv88e6161 has two SERDES interfaces in the same address range as its > internal PHYs. These suffer from the same problem, the Marvell OUI, > but no model number. As a result, these SERDES interfaces were getting > the same PHY ID as the mv88e6390, even though they are not PHYs, and > the Marvell PHY driver was trying to drive them. > > Add a special case to stop this from happen. > > Reported-by: Chris Healy <chris.he...@zii.aero> > Signed-off-by: Andrew Lunn <and...@lunn.ch> Applied to net-next.