From 6d30980acdeece16b0546aa4011dca77866293de Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 20 Feb 2011 16:15:34 +0000 Subject: [au1000] remove now unsupported kernel versions git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25617 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../au1000/patches-2.6.32/001-mtx1_cmdline.patch | 19 ------------ .../au1000/patches-2.6.32/002-openwrt_rootfs.patch | 11 ------- .../patches-2.6.32/003-au1000_eth_ioctl.patch | 17 ----------- .../patches-2.6.32/004-state_led_phy_fix.patch | 31 ------------------- .../au1000/patches-2.6.32/005-mtx1_fix_pci.patch | 35 ---------------------- 5 files changed, 113 deletions(-) delete mode 100644 target/linux/au1000/patches-2.6.32/001-mtx1_cmdline.patch delete mode 100644 target/linux/au1000/patches-2.6.32/002-openwrt_rootfs.patch delete mode 100644 target/linux/au1000/patches-2.6.32/003-au1000_eth_ioctl.patch delete mode 100644 target/linux/au1000/patches-2.6.32/004-state_led_phy_fix.patch delete mode 100644 target/linux/au1000/patches-2.6.32/005-mtx1_fix_pci.patch (limited to 'target/linux/au1000/patches-2.6.32') diff --git a/target/linux/au1000/patches-2.6.32/001-mtx1_cmdline.patch b/target/linux/au1000/patches-2.6.32/001-mtx1_cmdline.patch deleted file mode 100644 index d00cbc73b..000000000 --- a/target/linux/au1000/patches-2.6.32/001-mtx1_cmdline.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- a/arch/mips/alchemy/mtx-1/init.c -+++ b/arch/mips/alchemy/mtx-1/init.c -@@ -32,6 +32,7 @@ - #include - - #include -+#include - - #include - -@@ -49,7 +50,7 @@ void __init prom_init(void) - prom_argv = (char **)fw_arg1; - prom_envp = (char **)fw_arg2; - -- prom_init_cmdline(); -+ strcpy(arcs_cmdline, CONFIG_CMDLINE); - - memsize_str = prom_getenv("memsize"); - if (!memsize_str) diff --git a/target/linux/au1000/patches-2.6.32/002-openwrt_rootfs.patch b/target/linux/au1000/patches-2.6.32/002-openwrt_rootfs.patch deleted file mode 100644 index e1056e93d..000000000 --- a/target/linux/au1000/patches-2.6.32/002-openwrt_rootfs.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/arch/mips/alchemy/mtx-1/platform.c -+++ b/arch/mips/alchemy/mtx-1/platform.c -@@ -90,7 +90,7 @@ static struct platform_device mtx1_gpio_ - - static struct mtd_partition mtx1_mtd_partitions[] = { - { -- .name = "filesystem", -+ .name = "rootfs", - .size = 0x01C00000, - .offset = 0, - }, diff --git a/target/linux/au1000/patches-2.6.32/003-au1000_eth_ioctl.patch b/target/linux/au1000/patches-2.6.32/003-au1000_eth_ioctl.patch deleted file mode 100644 index 266502976..000000000 --- a/target/linux/au1000/patches-2.6.32/003-au1000_eth_ioctl.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/drivers/net/au1000_eth.c -+++ b/drivers/net/au1000_eth.c -@@ -1035,10 +1035,14 @@ static void au1000_multicast_list(struct - } - } - -+#define AU1000_KNOWN_PHY_IOCTLS (SIOCGMIIPHY & 0xfff0) - static int au1000_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) - { - struct au1000_private *aup = netdev_priv(dev); - -+ if((cmd & AU1000_KNOWN_PHY_IOCTLS) != AU1000_KNOWN_PHY_IOCTLS) -+ return -EINVAL; -+ - if (!netif_running(dev)) return -EINVAL; - - if (!aup->phy_dev) return -EINVAL; // PHY not controllable diff --git a/target/linux/au1000/patches-2.6.32/004-state_led_phy_fix.patch b/target/linux/au1000/patches-2.6.32/004-state_led_phy_fix.patch deleted file mode 100644 index 66b511b40..000000000 --- a/target/linux/au1000/patches-2.6.32/004-state_led_phy_fix.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- a/drivers/net/au1000_eth.c -+++ b/drivers/net/au1000_eth.c -@@ -167,6 +167,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 -@@ -484,6 +493,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); diff --git a/target/linux/au1000/patches-2.6.32/005-mtx1_fix_pci.patch b/target/linux/au1000/patches-2.6.32/005-mtx1_fix_pci.patch deleted file mode 100644 index be37b6e9d..000000000 --- a/target/linux/au1000/patches-2.6.32/005-mtx1_fix_pci.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff --git a/arch/mips/alchemy/mtx-1/board_setup.c b/arch/mips/alchemy/mtx-1/board_setup.c -index 45b61c9..17140ac 100644 ---- a/arch/mips/alchemy/mtx-1/board_setup.c -+++ b/arch/mips/alchemy/mtx-1/board_setup.c -@@ -56,8 +56,6 @@ void __init board_setup(void) - } - #endif - -- alchemy_gpio2_enable(); -- - #if defined(CONFIG_USB_OHCI_HCD) || defined(CONFIG_USB_OHCI_HCD_MODULE) - /* Enable USB power switch */ - alchemy_gpio_direction_output(204, 0); -@@ -92,20 +90,12 @@ void __init board_setup(void) - int - mtx1_pci_idsel(unsigned int devsel, int assert) - { --#define MTX_IDSEL_ONLY_0_AND_3 0 --#if MTX_IDSEL_ONLY_0_AND_3 -- if (devsel != 0 && devsel != 3) { -- printk(KERN_ERR "*** not 0 or 3\n"); -- return 0; -- } --#endif -- - if (assert && devsel != 0) - /* Suppress signal to Cardbus */ - gpio_set_value(1, 0); /* set EXT_IO3 OFF */ - else - gpio_set_value(1, 1); /* set EXT_IO3 ON */ - -- au_sync_udelay(1); -+ udelay(1); - return 1; - } -- cgit v1.2.3