diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-10-01 10:07:32 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-10-01 10:07:32 +0000 |
commit | 5a3991bd1a491d6fca3273c1ef72b54cdfd0661d (patch) | |
tree | 8156c94dfbaf686c6f4d07abf0a898ddc3c3d51c /target/linux/au1000/patches-2.6.30/004-state_led_phy_fix.patch | |
parent | 2b43a77babbe2071df374f67799679bce8216904 (diff) | |
download | upstream-5a3991bd1a491d6fca3273c1ef72b54cdfd0661d.tar.gz upstream-5a3991bd1a491d6fca3273c1ef72b54cdfd0661d.tar.bz2 upstream-5a3991bd1a491d6fca3273c1ef72b54cdfd0661d.zip |
kernel: upgrade to 2.6.30.8 and refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17804 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/au1000/patches-2.6.30/004-state_led_phy_fix.patch')
-rw-r--r-- | target/linux/au1000/patches-2.6.30/004-state_led_phy_fix.patch | 8 |
1 files changed, 4 insertions, 4 deletions
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 e681970c5b..cfaea00e28 100644 --- 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 -@@ -184,6 +184,15 @@ struct au1000_private *au_macs[NUM_ETH_I +@@ -166,6 +166,15 @@ struct au1000_private *au_macs[NUM_ETH_I # 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 -@@ -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; @@ -27,5 +27,5 @@ +#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); |