projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
8139cp/8139too: terminate the eeprom access with the right opmode
[linux-block.git]
/
drivers
/
net
/
ethernet
/
realtek
/
8139cp.c
diff --git
a/drivers/net/ethernet/realtek/8139cp.c
b/drivers/net/ethernet/realtek/8139cp.c
index 7f08779acba413672db1caa2cbf084fdc5494d66..995d0cfc4c065658ad47279a3705beb27b8c43f0 100644
(file)
--- a/
drivers/net/ethernet/realtek/8139cp.c
+++ b/
drivers/net/ethernet/realtek/8139cp.c
@@
-1636,7
+1636,7
@@
static void eeprom_cmd(void __iomem *ee_addr, int cmd, int cmd_len)
static void eeprom_cmd_end(void __iomem *ee_addr)
{
- writeb
(~EE_CS
, ee_addr);
+ writeb
(0
, ee_addr);
eeprom_delay ();
}