summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorAntoine Ténart <antoine.tenart@free-electrons.com>2014-09-30 16:28:12 +0200
committerDavid S. Miller <davem@davemloft.net>2014-09-30 16:36:13 -0400
commit78b9b2c4cd77c3416a3f098b0eda2a67f2dfe586 (patch)
tree49dae18b27e37cc6d661423ac4f64e8931669dd9 /block
parent39830689ef0a935a4a2ac35c51568f483e1c5f7f (diff)
net: pxa168_eth: rework the MAC address setup
This patch rework the way the MAC address is retrieved. The MAC address can now, in addition to being random, be set in the device tree or retrieved from the Ethernet controller MAC address registers. The probing function will try to get a MAC address in the following order: - From the device tree. - From the Ethernet controller MAC address registers. - Generate a random one. This patch also adds a function to read the MAC address from the Ethernet Controller registers. Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions