From d1d59cf7e0ec61784d1e3e0629f10cecc9bd2d30 Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Mon, 25 Mar 2013 14:18:32 +0000 Subject: [gemini]: upgrade to 3.9-rc4, disable unsupported boards git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36128 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../124-arm-gemini-rut100-register-ethernet.patch | 47 ---------------------- 1 file changed, 47 deletions(-) delete mode 100644 target/linux/gemini/patches-3.8/124-arm-gemini-rut100-register-ethernet.patch (limited to 'target/linux/gemini/patches-3.8/124-arm-gemini-rut100-register-ethernet.patch') diff --git a/target/linux/gemini/patches-3.8/124-arm-gemini-rut100-register-ethernet.patch b/target/linux/gemini/patches-3.8/124-arm-gemini-rut100-register-ethernet.patch deleted file mode 100644 index 14be011452..0000000000 --- a/target/linux/gemini/patches-3.8/124-arm-gemini-rut100-register-ethernet.patch +++ /dev/null @@ -1,47 +0,0 @@ ---- a/arch/arm/mach-gemini/board-rut1xx.c -+++ b/arch/arm/mach-gemini/board-rut1xx.c -@@ -15,13 +15,35 @@ - #include - #include - #include -+#include - - #include - #include - #include - -+#include -+ - #include "common.h" - -+static struct mdio_gpio_platform_data rut1xx_mdio = { -+ .mdc = 22, -+ .mdio = 21, -+ .phy_mask = ~(1 << 1), -+}; -+ -+static struct platform_device rut1xx_phy_device = { -+ .name = "mdio-gpio", -+ .id = 0, -+ .dev = { -+ .platform_data = &rut1xx_mdio, -+ }, -+}; -+ -+static struct gemini_gmac_platform_data gmac_data = { -+ .bus_id[0] = "gpio-0:01", -+ .interface[0] = PHY_INTERFACE_MODE_MII, -+}; -+ - static struct gpio_keys_button rut1xx_keys[] = { - { - .code = KEY_SETUP, -@@ -85,6 +107,8 @@ static void __init rut1xx_init(void) - platform_device_register(&rut1xx_keys_device); - platform_register_rtc(); - platform_register_watchdog(); -+ platform_device_register(&rut1xx_phy_device); -+ platform_register_ethernet(&gmac_data); - } - - MACHINE_START(RUT100, "Teltonika RUT100") -- cgit v1.2.3