diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-03-12 18:22:34 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-03-12 18:22:34 +0000 |
commit | f0f72ce2624bc2ce02e39193b6d51e353d1a93a2 (patch) | |
tree | ee98f96a032e47010c819a96d5d544e53025b0f5 /target/linux/gemini/patches-3.3/124-arm-gemini-rut100-register-ethernet.patch | |
parent | 04f2ef9e66a17e8d76fc2160f8f0795db136e858 (diff) | |
download | upstream-f0f72ce2624bc2ce02e39193b6d51e353d1a93a2.tar.gz upstream-f0f72ce2624bc2ce02e39193b6d51e353d1a93a2.tar.bz2 upstream-f0f72ce2624bc2ce02e39193b6d51e353d1a93a2.zip |
gemini: remove 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35995
Diffstat (limited to 'target/linux/gemini/patches-3.3/124-arm-gemini-rut100-register-ethernet.patch')
-rw-r--r-- | target/linux/gemini/patches-3.3/124-arm-gemini-rut100-register-ethernet.patch | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/target/linux/gemini/patches-3.3/124-arm-gemini-rut100-register-ethernet.patch b/target/linux/gemini/patches-3.3/124-arm-gemini-rut100-register-ethernet.patch deleted file mode 100644 index e1e57ee75f..0000000000 --- a/target/linux/gemini/patches-3.3/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 -@@ -14,13 +14,35 @@ - #include <linux/leds.h> - #include <linux/input.h> - #include <linux/gpio_keys.h> -+#include <linux/mdio-gpio.h> - - #include <asm/mach-types.h> - #include <asm/mach/arch.h> - #include <asm/mach/time.h> - -+#include <mach/gmac.h> -+ - #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, -@@ -84,6 +106,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") |