linux/drivers/net/ethernet/marvell
Andrew Lunn 11f8e7c122 net: ethernet: mv643xx: Fix over zealous checking of_get_mac_address()
There is often not a MAC address available in an EEPROM accessible by
Linux with Marvell devices. Instead the bootload has the MAC address
and directly programs it into the hardware. So don't consider an error
from of_get_mac_address() has fatal. However, the check was added for
the case where there is a MAC address in an the EEPROM, but the EEPROM
has not probed yet, and -EPROBE_DEFER is returned. In that case the
error should be returned. So make the check specific to this error
code.

Cc: Mauri Sandberg <maukka@ext.kapsi.fi>
Reported-by: Thomas Walther <walther-it@gmx.de>
Fixes: 42404d8f1c ("net: mv643xx_eth: process retval from of_get_mac_address")
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20220405000404.3374734-1-andrew@lunn.ch
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-04-05 18:12:55 -07:00
..
mvpp2 net: mvpp2: always set port pcs ops 2022-02-18 20:14:16 -08:00
octeontx2 octeontx2-af: initialize action variable 2022-03-26 14:14:04 -07:00
prestera net: marvell: prestera: add missing destroy_workqueue() in prestera_module_init() 2022-03-23 10:32:39 -07:00
Kconfig net: marvell: Remove reference to CONFIG_MV64X60 2021-03-18 14:19:39 -07:00
Makefile
mv643xx_eth.c net: ethernet: mv643xx: Fix over zealous checking of_get_mac_address() 2022-04-05 18:12:55 -07:00
mvmdio.c net: mvmdio: fix compilation warning 2021-11-16 18:55:17 -08:00
mvneta_bm.c
mvneta_bm.h
mvneta.c net: mvneta: Add support for 98DX2530 Ethernet port 2022-03-17 10:49:26 +01:00
pxa168_eth.c net: pxa168_eth: Use platform_get_irq() to get the interrupt 2021-12-27 12:22:19 +00:00
skge.c ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
skge.h net: marvell: remove leading spaces before tabs 2021-05-19 12:17:31 -07:00
sky2.c ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
sky2.h net: marvell: remove leading spaces before tabs 2021-05-19 12:17:31 -07:00