From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Mon, 18 Aug 2003 08:17:11 +0100 (BST) Received: from ns10.iodata.jp ([IPv6:::ffff:211.127.181.3]:13587 "HELO ns10.iodata.co.jp") by linux-mips.org with SMTP id ; Mon, 18 Aug 2003 08:17:06 +0100 Received: (qmail 24432 invoked from network); 18 Aug 2003 07:16:57 -0000 Received: from fw40.iodata.jp (HELO isl50.iodata.co.jp) (fwuser@211.127.181.2) by ns10.iodata.jp with SMTP; 18 Aug 2003 07:16:57 -0000 Date: Mon, 18 Aug 2003 16:16:55 +0900 Message-ID: From: Kunihiko IMAI To: linux-mips@linux-mips.org Subject: Re: General I/O In-Reply-To: References: <200308141212.38679.wom@tateyama.hu> MIME-Version: 1.0 (generated by SEMI 1.14.3 - =?ISO-2022-JP?B?IhskQjVtGyhC?= =?ISO-2022-JP?B?GyRCJU5DKxsoQiI=?=) Content-Type: text/plain; charset=US-ASCII Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 3064 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: kimai@iodata.jp Precedence: bulk X-list: linux-mips Hi, At Thu, 14 Aug 2003 12:12:38 +0200, Gabor Kerenyi wrote: > I could wrote a small driver to setup and handle an interrupt > on GUINT0 using vr41xx_set_irq_trigger (a simple switch is > connected to PIN0) These function ( macro ) set works only setting GPIO pin function. They have no resource management. If the pin is not assigned on any function yet, you can freely set the pin function. You can set these registers with write[bwl]/read[bwl] functions. Do not use out[bwl]/in[bwl]. And the place of GPIO regsters are relocated by bootloader. It's better to use macros defined at include/asm/vr41xx/toadkk-tcs8000.h. > The board is not known by anyone, it's made in Japan > (TOADKK-TCS8000). The kernel with the board is local porting version, not submitted linux-mips CVS. The kernel is ported by LASER5 Co. Ltd. And they sell same card as L-Card A. Thanks. _._. __._ _ . ... _ .___ ._. _____ _... ._ _._ _.._. .____ _ . ... _ Kunihiko IMAI