b9b40ee4db
Query the USB device's device tree node when looking for a MAC address.
The struct device embedded into the struct net_device does not have a
device tree node attached at all.
The reason why this went unnoticed is because the system where this was
tested was one of the few development units that had its OTP programmed,
as opposed to production systems where the MAC address is stored in a
separate EEPROM and is passed via device tree by the firmware.
Reported-by: EJ Hsu <ejh@nvidia.com>
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
aqc111.c | ||
aqc111.h | ||
asix.h | ||
asix_common.c | ||
asix_devices.c | ||
ax88172a.c | ||
ax88179_178a.c | ||
catc.c | ||
cdc-phonet.c | ||
cdc_eem.c | ||
cdc_ether.c | ||
cdc_mbim.c | ||
cdc_ncm.c | ||
cdc_subset.c | ||
ch9200.c | ||
cx82310_eth.c | ||
dm9601.c | ||
gl620a.c | ||
hso.c | ||
huawei_cdc_ncm.c | ||
int51x1.c | ||
ipheth.c | ||
kalmia.c | ||
kaweth.c | ||
lan78xx.c | ||
lan78xx.h | ||
lg-vl600.c | ||
mcs7830.c | ||
net1080.c | ||
pegasus.c | ||
pegasus.h | ||
plusb.c | ||
qmi_wwan.c | ||
r8152.c | ||
rndis_host.c | ||
rtl8150.c | ||
sierra_net.c | ||
smsc75xx.c | ||
smsc75xx.h | ||
smsc95xx.c | ||
smsc95xx.h | ||
sr9700.c | ||
sr9700.h | ||
sr9800.c | ||
sr9800.h | ||
usbnet.c | ||
zaurus.c |