From: Kuninori Morimoto Date: Thu, 26 Mar 2009 00:24:01 +0000 (+0000) Subject: sh: urquell: enable LAN device X-Git-Tag: firefly_0821_release~14775^2~22 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=71c1d19e451c2823677a43182e482f66a23ed10a;p=firefly-linux-kernel-4.4.55.git sh: urquell: enable LAN device Signed-off-by: Kuninori Morimoto Signed-off-by: Paul Mundt --- 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) 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)); }