]> git.openfabrics.org - ~emulex/infiniband.git/commit
smsc911x: enforce read-after-write timing restriction on eeprom access
authorSteve Glendinning <steve.glendinning@smsc.com>
Thu, 26 Mar 2009 07:14:36 +0000 (07:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Mar 2009 07:46:38 +0000 (00:46 -0700)
commit58add9fc02e7a9dbab9d80d5fa64f13972e91eb5
tree1bc6efee3a5764a9462eb6d3a9987b1add021bc4
parent54dc79fe0d895758bdaa1dcf8512d3d21263d105
smsc911x: enforce read-after-write timing restriction on eeprom access

The LAN911x datasheet specifies a minimum delay of 45ns between a write
of E2P_DATA and any read.  This patch adds a single dummy read of
BYTE_TEST to enforce this timing constraint.

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