projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bd54c8
)
[PATCH] Fix an offset error when reading the CS89x0 ADD_PORT register
author
George G. Davis
<gdavis@mvista.com>
Thu, 16 Nov 2006 19:50:14 +0000
(14:50 -0500)
committer
Jeff Garzik
<jeff@garzik.org>
Thu, 30 Nov 2006 11:15:08 +0000
(06:15 -0500)
Fix an offset error when reading the CS89x0 ADD_PORT register.
Signed-off-by: George G. Davis
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/cs89x0.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/cs89x0.c
b/drivers/net/cs89x0.c
index 4ffc9b44a8e13509e0c693e24bced26090a7cda8..dec70c2b374a775bb94f27c234948d15b57e6128 100644
(file)
--- a/
drivers/net/cs89x0.c
+++ b/
drivers/net/cs89x0.c
@@
-588,10
+588,10
@@
cs89x0_probe1(struct net_device *dev, int ioaddr, int modular)
goto out2;
}
}
- printk(KERN_DEBUG "PP_addr at %x[%x]: 0x%x\n",
- ioaddr, ADD_PORT, readword(ioaddr, ADD_PORT));
ioaddr &= ~3;
+ printk(KERN_DEBUG "PP_addr at %x[%x]: 0x%x\n",
+ ioaddr, ADD_PORT, readword(ioaddr, ADD_PORT));
writeword(ioaddr, ADD_PORT, PP_ChipID);
tmp = readword(ioaddr, DATA_PORT);