Commit 71c1d19e authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Paul Mundt

sh: urquell: enable LAN device

Signed-off-by: default avatarKuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 0824806b
...@@ -129,6 +129,10 @@ static int __init urquell_devices_setup(void) ...@@ -129,6 +129,10 @@ static int __init urquell_devices_setup(void)
gpio_request(GPIO_FN_USB_OVC0, NULL); gpio_request(GPIO_FN_USB_OVC0, NULL);
gpio_request(GPIO_FN_USB_PENC0, 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, return platform_add_devices(urquell_devices,
ARRAY_SIZE(urquell_devices)); ARRAY_SIZE(urquell_devices));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment