From patchwork Thu Mar 26 00:24:01 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 14473 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n2Q6ZSTU020010 for ; Thu, 26 Mar 2009 06:36:20 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751075AbZCZGgV (ORCPT ); Thu, 26 Mar 2009 02:36:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751770AbZCZGgV (ORCPT ); Thu, 26 Mar 2009 02:36:21 -0400 Received: from mail.renesas.com ([202.234.163.13]:62783 "EHLO mail01.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751075AbZCZGgU (ORCPT ); Thu, 26 Mar 2009 02:36:20 -0400 X-AuditID: ac140384-00000009000004f6-7a-49cb225f7f7f Received: from guardian03.idc.renesas.com ([172.20.8.202]) by mail01.idc.renesas.com (sendmail) with ESMTP id n2Q6aFBg008561; Thu, 26 Mar 2009 15:36:15 +0900 (JST) Received: (from root@localhost) by guardian03.idc.renesas.com with id n2Q6aFRX022480; Thu, 26 Mar 2009 15:36:15 +0900 (JST) Received: from mta02.idc.renesas.com (localhost [127.0.0.1]) by mta02.idc.renesas.com with ESMTP id n2Q6aHmH006709; Thu, 26 Mar 2009 15:36:17 +0900 (JST) Received: from PG10870.renesas.com ([172.30.8.159]) by ims05.idc.renesas.com (Sendmail) with ESMTPA id <0KH30006UP0FSR@ims05.idc.renesas.com>; Thu, 26 Mar 2009 15:36:15 +0900 (JST) Date: Thu, 26 Mar 2009 09:24:01 +0900 From: Kuninori Morimoto Subject: [PATCH] urquell: enable LAN device To: Paul Mundt Cc: SH-Linux Message-id: MIME-version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-type: text/plain; charset=US-ASCII User-Agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.7 Emacs/22.1 (i386-mingw-nt5.1.2600) MULE/5.0 (SAKAKI) Meadow/3.00-dev (KIKU) X-Brightmail-Tracker: AAAAAA== Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org Signed-off-by: Kuninori Morimoto --- This patch is for linux-next 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 17036ce..66361c6 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 */ + ctrl_outw(ctrl_inw(UBOARDREG(IRL2MSKR)) & ~0x00000001, + UBOARDREG(IRL2MSKR)); + return platform_add_devices(urquell_devices, ARRAY_SIZE(urquell_devices)); }