smsc9420: handle magic field of ethtool_eeprom
authorSteve Glendinning <steve.glendinning@smsc.com>
Sun, 15 Feb 2009 22:55:01 +0000 (22:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Feb 2009 08:38:51 +0000 (00:38 -0800)
ethtool.h says the driver should set the magic field in get_eeprom and
verify it in set_eeprom.  This patch adds this functionality using an
arbitary driver-specific magic value constant (0x9420).

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

No differences found