diff options
author | Kuninori Morimoto <morimoto.kuninori@renesas.com> | 2009-03-25 20:24:01 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-03-30 18:37:54 -0400 |
commit | 71c1d19e451c2823677a43182e482f66a23ed10a (patch) | |
tree | aa76b18f097480b23832fce5e2b26174e2182bf9 /arch | |
parent | 0824806b2a2948adedf053103a19a7a5e1560342 (diff) |
sh: urquell: enable LAN device
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/boards/board-urquell.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sh/boards/board-urquell.c b/arch/sh/boards/board-urquell.c index 17036ce20086..8367d1d789c3 100644 --- a/arch/sh/boards/board-urquell.c +++ b/arch/sh/boards/board-urquell.c | |||
@@ -129,6 +129,10 @@ static int __init urquell_devices_setup(void) | |||
129 | gpio_request(GPIO_FN_USB_OVC0, NULL); | 129 | gpio_request(GPIO_FN_USB_OVC0, NULL); |
130 | gpio_request(GPIO_FN_USB_PENC0, NULL); | 130 | gpio_request(GPIO_FN_USB_PENC0, NULL); |
131 | 131 | ||
132 | /* enable LAN */ | ||
133 | __raw_writew(__raw_readw(UBOARDREG(IRL2MSKR)) & ~0x00000001, | ||
134 | UBOARDREG(IRL2MSKR)); | ||
135 | |||
132 | return platform_add_devices(urquell_devices, | 136 | return platform_add_devices(urquell_devices, |
133 | ARRAY_SIZE(urquell_devices)); | 137 | ARRAY_SIZE(urquell_devices)); |
134 | } | 138 | } |