diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2018-07-03 17:06:49 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-04 15:09:23 +0200 |
commit | 03fc5d4ffb0da005f0dce02d7c015821681e260c (patch) | |
tree | 759e8819919d2bd96cb33b1528e9ad7133d08443 /drivers/isdn/hisax/hscx.c | |
parent | net: sched: act_pedit: fix possible memory leak in tcf_pedit_init() (diff) | |
download | linux-03fc5d4ffb0da005f0dce02d7c015821681e260c.tar.xz linux-03fc5d4ffb0da005f0dce02d7c015821681e260c.zip |
net: usb: asix: allow optionally getting mac address from device tree
For Embedded use where e.g. AX88772B chips may be used without external
EEPROMs the boot loader may choose to pass the MAC address to be used
via device tree. Therefore, allow for optionally getting the MAC
address from device tree data e.g. as follows (excerpt from a T30 based
board, local-mac-address to be filled in by boot loader):
/* EHCI instance 1: USB2_DP/N -> AX88772B */
usb@7d004000 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
asix@1 {
reg = <1>;
local-mac-address = [00 00 00 00 00 00];
};
};
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/hisax/hscx.c')
0 files changed, 0 insertions, 0 deletions