diff options
author | Tim Harvey <tharvey@gateworks.com> | 2021-04-16 13:25:09 -0700 |
---|---|---|
committer | Ramon Fried <rfried.dev@gmail.com> | 2021-06-18 11:29:17 +0300 |
commit | 70018635969987c1224b27f62c851ac70264f272 (patch) | |
tree | c5be2372461210548500ff87ff09664ab6977b54 /drivers/net/dwc_eth_qos.c | |
parent | 3e1848778c068bddd442855792d478eb2f038665 (diff) |
net: e1000: do not attempt to set hwaddr for i210 without FLASH
commit f1bcad22dd19 ("net: e1000: add support for writing to EEPROM")
adds support for storing hwaddr in EEPROM however i210 devices do not
support this and thus results in errors such as:
Warning: e1000#0 failed to set MAC address'
Check if a flash device is present and if not return -ENOSYS indicating
this is not supported.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'drivers/net/dwc_eth_qos.c')
0 files changed, 0 insertions, 0 deletions