diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-03-26 10:13:06 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-03-26 10:13:06 +0000 |
commit | 797967480c2ec11fb788972de03cb35f076f95eb (patch) | |
tree | 738b69e4c214d9954825fe36a2a1b6defa7dad9e /target/linux/au1000/patches-2.6.30/004-state_led_phy_fix.patch | |
parent | 753c39cd5f593546b5042741298d67c71eaf73a7 (diff) | |
download | upstream-797967480c2ec11fb788972de03cb35f076f95eb.tar.gz upstream-797967480c2ec11fb788972de03cb35f076f95eb.tar.bz2 upstream-797967480c2ec11fb788972de03cb35f076f95eb.zip |
drop support for 2.6.30
SVN-Revision: 20442
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 | 31 |
1 files changed, 0 insertions, 31 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 deleted file mode 100644 index cfaea00e28..0000000000 --- a/target/linux/au1000/patches-2.6.30/004-state_led_phy_fix.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- a/drivers/net/au1000_eth.c -+++ b/drivers/net/au1000_eth.c -@@ -166,6 +166,15 @@ struct au1000_private *au_macs[NUM_ETH_I - # undef AU1XXX_PHY1_IRQ - #endif - -+#if defined(CONFIG_MIPS_MTX1) -+/* -+ * 4G MeshCube (MTX-1) board -+ * PHY is at address 31 on MAC0 -+ * autodetect fails if not searched for highest address ! -+ */ -+# define AU1XXX_PHY_SEARCH_HIGHEST_ADDR -+#endif -+ - #if defined(AU1XXX_PHY0_BUSID) && (AU1XXX_PHY0_BUSID > 0) - # error MAC0-associated PHY attached 2nd MACs MII bus not supported yet - #endif -@@ -483,6 +492,12 @@ static int mii_probe (struct net_device - aup->old_duplex = -1; - aup->phy_dev = phydev; - -+#ifdef CONFIG_MIPS_MTX1 -+ /* set up ethernet jack LEDs on the 4G MeshCube (MTX-1 board) */ -+ printk(KERN_INFO "MTX-1 PHY: updating LED settings\n"); -+ phy_write(phydev, 0x11, 0xff80); -+#endif -+ - printk(KERN_INFO "%s: attached PHY driver [%s] " - "(mii_bus:phy_addr=%s, irq=%d)\n", dev->name, - phydev->drv->name, dev_name(&phydev->dev), phydev->irq); |