summaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2012-05-31 20:19:48 +0200
committerDavid S. Miller <davem@davemloft.net>2012-06-01 20:22:11 +0200
commit0bc777bca480357941418952cf228484f5485daf (patch)
treecd9aa5fe95720d37ab0f66202963eaaab7284b02 /lib/fault-inject.c
parent8139cp: set ring address before enabling receiver (diff)
downloadlinux-0bc777bca480357941418952cf228484f5485daf.tar.xz
linux-0bc777bca480357941418952cf228484f5485daf.zip
8139cp/8139too: terminate the eeprom access with the right opmode
Currently, we terminate the eeprom access through clearing the CS by: RTL_W8 (Cfg9346, ~EE_CS); or writeb (~EE_CS, ee_addr); This would left the eeprom into "Config. Register Write Enable:" state which is not expcted as the highest two bits were set to 0x11 ( expected is the "Normal" mode (0x00)). Solving this by write 0x0 instead of ~EE_CS when terminating the eeprom access. Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions