smsc911x: allow setting of mac address
authorSteve Glendinning <steve.glendinning@smsc.com>
Thu, 19 Mar 2009 00:24:46 +0000 (00:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Mar 2009 06:59:28 +0000 (23:59 -0700)
commit225ddf498cc99ead1d11ed1aaf1887e24e1007fa
treeb44939a61efcfb160ded2089ed4df58abb47fb9f
parent63a2ebb079d72f10ea7b89b85c2cd4ecc60edc61
smsc911x: allow setting of mac address

This patch replaces the generic eth_mac_addr function with one that
also updates the hardware mac address registers.  It also renames the
existing smsc911x_set_mac_address function to
smsc911x_hw_set_mac_address for clarity.

Newer LAN911x and all LAN921x devices also support changing the mac
address while the device is running, which is useful for some bonding
modes.

Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/smsc911x.c