git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
3c59x: Fix call to mdio_sync() with the wrong argument
[pandora-kernel.git]
/
drivers
/
net
/
3c59x.c
diff --git
a/drivers/net/3c59x.c
b/drivers/net/3c59x.c
index
ebd4c19
..
c44d599
100644
(file)
--- a/
drivers/net/3c59x.c
+++ b/
drivers/net/3c59x.c
@@
-1393,7
+1393,7
@@
static int __devinit vortex_probe1(struct device *gendev,
mii_preamble_required++;
if (vp->drv_flags & EXTRA_PREAMBLE)
mii_preamble_required++;
- mdio_sync(
ioaddr
, 32);
+ mdio_sync(
vp
, 32);
mdio_read(dev, 24, MII_BMSR);
for (phy = 0; phy < 32 && phy_idx < 1; phy++) {
int mii_status, phyx;