Skip to content
Commit 70018635 authored by Tim Harvey's avatar Tim Harvey Committed by Ramon Fried
Browse files

net: e1000: do not attempt to set hwaddr for i210 without FLASH



commit f1bcad22 ("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: default avatarTim Harvey <tharvey@gateworks.com>
Reviewed-by: default avatarRamon Fried <rfried.dev@gmail.com>
parent 3e184877
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment