]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sh: urquell: enable LAN device
authorKuninori Morimoto <morimoto.kuninori@renesas.com>
Thu, 26 Mar 2009 00:24:01 +0000 (00:24 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 30 Mar 2009 22:37:54 +0000 (07:37 +0900)
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/board-urquell.c

index 17036ce20086bf0a1f0cd32498fea6d711829b43..8367d1d789c3275c9f37f169517210a2fa5077ab 100644 (file)
@@ -129,6 +129,10 @@ static int __init urquell_devices_setup(void)
        gpio_request(GPIO_FN_USB_OVC0,  NULL);
        gpio_request(GPIO_FN_USB_PENC0, NULL);
 
+       /* enable LAN */
+       __raw_writew(__raw_readw(UBOARDREG(IRL2MSKR)) & ~0x00000001,
+                 UBOARDREG(IRL2MSKR));
+
        return platform_add_devices(urquell_devices,
                                    ARRAY_SIZE(urquell_devices));
 }