From 427e43dcd7ec73dfca5b38603e0d344e985df831 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Fri, 6 May 2011 00:10:02 +0200 Subject: [PATCH] --- yaml --- r: 245293 b: refs/heads/master c: f1f0ceaada9d040a41023017c87abb1d651b44af h: refs/heads/master i: 245291: 1cff054671ee1712c797f9d8294c64d8fce90151 v: v3 --- [refs] | 2 +- trunk/arch/mips/lantiq/xway/mach-easy50712.c | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 62cc7e6a3f99..db52092c6cd2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 504d4721ee8e432af4b5f196a08af38bc4dac5fe +refs/heads/master: f1f0ceaada9d040a41023017c87abb1d651b44af diff --git a/trunk/arch/mips/lantiq/xway/mach-easy50712.c b/trunk/arch/mips/lantiq/xway/mach-easy50712.c index e5e7e09b7c14..ea5027b3239d 100644 --- a/trunk/arch/mips/lantiq/xway/mach-easy50712.c +++ b/trunk/arch/mips/lantiq/xway/mach-easy50712.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include @@ -55,11 +56,16 @@ static struct ltq_pci_data ltq_pci_data = { }, }; +static struct ltq_eth_data ltq_eth_data = { + .mii_mode = PHY_INTERFACE_MODE_MII, +}; + static void __init easy50712_init(void) { ltq_register_gpio_stp(); ltq_register_nor(&easy50712_flash_data); ltq_register_pci(<q_pci_data); + ltq_register_etop(<q_eth_data); } MIPS_MACHINE(LTQ_MACH_EASY50712,