Revision c489565b536ff5382460273fd9513f0adebec024 authored by Arnd Bergmann on 29 April 2016, 07:05:59 UTC, committed by David S. Miller on 02 May 2016, 00:57:45 UTC
This takes the MAC address for smsc75xx/smsc95xx USB network devices
from a the device tree. This is required to get a usable persistent
address on the popular beagleboard, whose hardware designers
accidentally forgot that an ethernet device really requires an a
MAC address to be functional.

The Raspberry Pi also ships smsc9514 without a serial EEPROM, stores
the MAC address in ROM accessible via VC4 firmware.

The smsc75xx and smsc95xx drivers are just two copies of the
same code, so better fix both.

[lkundrak@v3.sk: updated to use of_get_property() as per suggestion from
Arnd, reworded the message and comments a bit]

Tested-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 90e5d0d
History
File Mode Size
encrypted-keys
Kconfig -rw-r--r-- 2.8 KB
Makefile -rw-r--r-- 482 bytes
big_key.c -rw-r--r-- 5.0 KB
compat.c -rw-r--r-- 3.6 KB
gc.c -rw-r--r-- 9.7 KB
internal.h -rw-r--r-- 9.0 KB
key.c -rw-r--r-- 29.5 KB
keyctl.c -rw-r--r-- 41.1 KB
keyring.c -rw-r--r-- 36.9 KB
permission.c -rw-r--r-- 2.9 KB
persistent.c -rw-r--r-- 4.5 KB
proc.c -rw-r--r-- 8.7 KB
process_keys.c -rw-r--r-- 20.5 KB
request_key.c -rw-r--r-- 19.7 KB
request_key_auth.c -rw-r--r-- 6.9 KB
sysctl.c -rw-r--r-- 1.8 KB
trusted.c -rw-r--r-- 29.4 KB
trusted.h -rw-r--r-- 3.2 KB
user_defined.c -rw-r--r-- 4.9 KB

back to top