ks8842: Add platform data for setting mac address
authorRichard Röjfors <richard.rojfors@pelagicore.com>
Wed, 21 Apr 2010 23:33:29 +0000 (16:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Apr 2010 23:33:29 +0000 (16:33 -0700)
commita1aa8822d577c8714f8d343eea028befbab3da9d
treef4af154b3354cfc1456a257604b348dd9c7e21dc
parent6846ad282693bd066645aff6f13d2b279d505314
ks8842: Add platform data for setting mac address

This patch adds platform data to the ks8842 driver.

Via the platform data a MAC address, to be used by the controller,
can be passed.

To ensure this MAC address is used, the MAC address is written
after each hardware reset.

Signed-off-by: Richard Röjfors <richard.rojfors@pelagicore.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ks8842.c
include/linux/ks8842.h [new file with mode: 0644]