Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Kunihiko IMAI <kimai@iodata.jp>
To: linux-mips@linux-mips.org
Subject: Re: General I/O
Date: Mon, 18 Aug 2003 16:16:55 +0900	[thread overview]
Message-ID: <m3d6f3fna0.wl@iodata.jp> (raw)
In-Reply-To: <m3ekzjfoi2.wl@iodata.jp>

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

      parent reply	other threads:[~2003-08-18  7:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-14 10:12 General I/O Gabor Kerenyi
     [not found] ` <m3ekzjfoi2.wl@iodata.jp>
2003-08-18  7:16   ` Kunihiko IMAI [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3d6f3fna0.wl@iodata.jp \
    --to=kimai@iodata.jp \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox