generic: ar8216: use the generic get_port_link implementation
[openwrt.git] / target / linux / lantiq / patches-2.6.32 / 0012-MIPS-Lantiq-Add-etop-board-support.patch
1 From 72a9b536ef81f06bb8042abee0410458f5df93d2 Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Fri, 6 May 2011 00:10:02 +0200
4 Subject: [PATCH 12/13] MIPS: Lantiq: Add etop board support
5
6 Register the etop platform device inside the machtype specific init code.
7
8 Signed-off-by: John Crispin <blogic@openwrt.org>
9 Signed-off-by: Ralph Hempel <ralph.hempel@lantiq.com>
10 Signed-off-by: David Daney <ddaney@caviumnetworks.com>
11 Cc: linux-mips@linux-mips.org
12 Patchwork: https://patchwork.linux-mips.org/patch/2356/
13 Patchwork: https://patchwork.linux-mips.org/patch/2370/
14 Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
15 ---
16 arch/mips/lantiq/xway/mach-easy50712.c | 6 ++++++
17 1 files changed, 6 insertions(+), 0 deletions(-)
18
19 diff --git a/arch/mips/lantiq/xway/mach-easy50712.c b/arch/mips/lantiq/xway/mach-easy50712.c
20 index e5e7e09..ea5027b 100644
21 --- a/arch/mips/lantiq/xway/mach-easy50712.c
22 +++ b/arch/mips/lantiq/xway/mach-easy50712.c
23 @@ -12,6 +12,7 @@
24 #include <linux/mtd/partitions.h>
25 #include <linux/mtd/physmap.h>
26 #include <linux/input.h>
27 +#include <linux/phy.h>
28
29 #include <lantiq_soc.h>
30 #include <irq.h>
31 @@ -55,11 +56,16 @@ static struct ltq_pci_data ltq_pci_data = {
32 },
33 };
34
35 +static struct ltq_eth_data ltq_eth_data = {
36 + .mii_mode = PHY_INTERFACE_MODE_MII,
37 +};
38 +
39 static void __init easy50712_init(void)
40 {
41 ltq_register_gpio_stp();
42 ltq_register_nor(&easy50712_flash_data);
43 ltq_register_pci(&ltq_pci_data);
44 + ltq_register_etop(&ltq_eth_data);
45 }
46
47 MIPS_MACHINE(LTQ_MACH_EASY50712,
48 --
49 1.7.2.3
50
This page took 0.051699 seconds and 5 git commands to generate.