projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
omap24xx: Add n8x0 specific GPIO switch code
[openwrt.git]
/
target
/
linux
/
au1000
/
patches-2.6.30
/
004-state_led_phy_fix.patch
diff --git
a/target/linux/au1000/patches-2.6.30/004-state_led_phy_fix.patch
b/target/linux/au1000/patches-2.6.30/004-state_led_phy_fix.patch
index
e681970
..
cfaea00
100644
(file)
--- a/
target/linux/au1000/patches-2.6.30/004-state_led_phy_fix.patch
+++ b/
target/linux/au1000/patches-2.6.30/004-state_led_phy_fix.patch
@@
-1,6
+1,6
@@
--- a/drivers/net/au1000_eth.c
+++ b/drivers/net/au1000_eth.c
--- a/drivers/net/au1000_eth.c
+++ b/drivers/net/au1000_eth.c
-@@ -1
84,6 +184
,15 @@ struct au1000_private *au_macs[NUM_ETH_I
+@@ -1
66,6 +166
,15 @@ struct au1000_private *au_macs[NUM_ETH_I
# undef AU1XXX_PHY1_IRQ
#endif
# undef AU1XXX_PHY1_IRQ
#endif
@@
-16,7
+16,7
@@
#if defined(AU1XXX_PHY0_BUSID) && (AU1XXX_PHY0_BUSID > 0)
# error MAC0-associated PHY attached 2nd MACs MII bus not supported yet
#endif
#if defined(AU1XXX_PHY0_BUSID) && (AU1XXX_PHY0_BUSID > 0)
# error MAC0-associated PHY attached 2nd MACs MII bus not supported yet
#endif
-@@ -
380,6 +389
,12 @@ static int mii_probe (struct net_device
+@@ -
483,6 +492
,12 @@ static int mii_probe (struct net_device
aup->old_duplex = -1;
aup->phy_dev = phydev;
aup->old_duplex = -1;
aup->phy_dev = phydev;
@@
-27,5
+27,5
@@
+#endif
+
printk(KERN_INFO "%s: attached PHY driver [%s] "
+#endif
+
printk(KERN_INFO "%s: attached PHY driver [%s] "
- "(mii_bus:phy_addr=%s, irq=%d)\n",
-
dev->name, phydev->drv->name, phydev->dev.bus_id
, phydev->irq);
+ "(mii_bus:phy_addr=%s, irq=%d)\n",
dev->name,
+
phydev->drv->name, dev_name(&phydev->dev)
, phydev->irq);
This page took
0.024123 seconds
and
4
git commands to generate.