projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7091e72
)
smsc911x: don't clobber driver_data
author
Steve Glendinning
<steve.glendinning@smsc.com>
Fri, 26 Dec 2008 00:43:34 +0000
(16:43 -0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 26 Dec 2008 00:43:34 +0000
(16:43 -0800)
smsc911x uses driver_data to store our net_device, don't overwrite this
with the mii_bus.
Reported and fixed by dfoley@telus.net.
Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/smsc911x.c
patch
|
blob
|
history
diff --git
a/drivers/net/smsc911x.c
b/drivers/net/smsc911x.c
index
cbaf0a5
..
d94560f
100644
(file)
--- a/
drivers/net/smsc911x.c
+++ b/
drivers/net/smsc911x.c
@@
-822,7
+822,6
@@
static int __devinit smsc911x_mii_init(struct platform_device *pdev,
pdata->mii_bus->irq[i] = PHY_POLL;
pdata->mii_bus->parent = &pdev->dev;
- dev_set_drvdata(&pdev->dev, &pdata->mii_bus);
pdata->using_extphy = 0;