]> git.baikalelectronics.ru Git - kernel.git/commit
KSZ8851-SNL: Add support for EEPROM MAC address
authorBen Dooks <ben@simtec.co.uk>
Mon, 21 Nov 2011 08:57:58 +0000 (08:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Nov 2011 19:59:39 +0000 (14:59 -0500)
commit8b1d9f8221bc4fd44fd1622b765b4dfe29e78141
tree2f98e662775ec21c23563c098eedaba04d169a1b
parent19906f7f4e12dcbe5c0285ad17770d288913036b
KSZ8851-SNL: Add support for EEPROM MAC address

Add support for reading the MAC address from the system registers if there
is an EEPROM present. This involves caching the KS_CCR register for later
use (will also be useful for ETHTOOL support) and adding a print to say
that there is an EEPROM present.

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/micrel/ks8851.c