]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: marvell10g: report if the PHY fails to boot firmware
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 28 May 2019 09:34:42 +0000 (10:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 May 2019 21:25:10 +0000 (14:25 -0700)
commit703eaa5a7a3bb1fc3071e511ffd8fa2d3b5cadb5
tree348ca5ef388d13e50b86ce12773cb50ed2c14fec
parente25d2b8967a7fb8cb452c81e554b766f7b2164a4
net: phy: marvell10g: report if the PHY fails to boot firmware

Some boards do not have the PHY firmware programmed in the 3310's flash,
which leads to the PHY not working as expected.  Warn the user when the
PHY fails to boot the firmware and refuse to initialise.

Fixes: e9f556036ea4 ("net: phy: add Marvell Alaska X 88X3310 10Gigabit PHY support")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Tested-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell10g.c