From: Jason Wang Date: Thu, 31 May 2012 18:19:48 +0000 (+0000) Subject: 8139cp/8139too: terminate the eeprom access with the right opmode X-Git-Tag: v3.5-rc1~2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bc777bca480357941418952cf228484f5485daf;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed