]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commit196b7e1b9cca9e187bb61fa7d60f04f4ab2c0592
tree50ba17d2078c3cd7465bfe1cafb6fc720ef83f63
parent62660e28084df3d8067ab855f326d3027808c569
smsc9420: handle magic field of ethtool_eeprom

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>
drivers/net/smsc9420.c
drivers/net/smsc9420.h