| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | [PATCH V3 3/3] MIPS: lantiq: etop board support |
| From: | John Crispin <blogic@openwrt.org> |
| Date: | Mon, 9 May 2011 17:49:58 +0200 |
| Cc: | John Crispin <blogic@openwrt.org>, Ralph Hempel <ralph.hempel@lantiq.com>, linux-mips@linux-mips.org |
| In-reply-to: | <1304956198-20426-1-git-send-email-blogic@openwrt.org> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <1304956198-20426-1-git-send-email-blogic@openwrt.org> |
| Sender: | linux-mips-bounce@linux-mips.org |
Register the etop platform device inside the machtype specific init code.
--
Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Ralph Hempel <ralph.hempel@lantiq.com>
Cc: linux-mips@linux-mips.org
arch/mips/lantiq/xway/mach-easy50712.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/arch/mips/lantiq/xway/mach-easy50712.c
b/arch/mips/lantiq/xway/mach-easy50712.c
index 5242a27..0cbb30b 100644
--- a/arch/mips/lantiq/xway/mach-easy50712.c
+++ b/arch/mips/lantiq/xway/mach-easy50712.c
@@ -59,6 +59,10 @@ 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();
@@ -66,6 +70,7 @@ static void __init easy50712_init(void)
ltq_register_nor(&easy50712_flash_data);
ltq_register_wdt();
ltq_register_pci(<q_pci_data);
+ ltq_register_etop(<q_eth_data);
}
MIPS_MACHINE(LTQ_MACH_EASY50712,
--
1.7.2.3
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH V3 1/3] MIPS: lantiq: add DMA support, John Crispin |
|---|---|
| Next by Date: | [PATCH V3 2/3] MIPS: lantiq: add ethernet driver, John Crispin |
| Previous by Thread: | [PATCH V3 1/3] MIPS: lantiq: add DMA support, John Crispin |
| Next by Thread: | Re: [PATCH V3 3/3] MIPS: lantiq: etop board support, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |