From: Matt Porter <porter@cox.net>
To: Khai Trinh <kqtrinh@yahoo.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: 440 PCI adapter card interupt handling question
Date: Sat, 15 Jun 2002 08:21:12 -0700 [thread overview]
Message-ID: <20020615082112.B737@home.com> (raw)
In-Reply-To: <20020613221011.85904.qmail@web11502.mail.yahoo.com>; from kqtrinh@yahoo.com on Thu, Jun 13, 2002 at 03:10:11PM -0700
On Thu, Jun 13, 2002 at 03:10:11PM -0700, Khai Trinh wrote:
>
> Our custom board is a IBM 440GP based pci slave
> adapter card, we will configure it to use the Simple
> Message Passing Unit to allow interrupt generation to
> the 440 from the Host. My question are Where in the
> Linux kernel code can I initialize the 440 onboard
> interrupt controller to enable this interrupt to
> happen? And how do I register my interrupt handling
> routine to service inbound interrupt from the Host?
You don't use the UICs to generate an outbound message
interrupt so there is no "initialization". There is a
hardwired UIC interrupt generated by inbound message
interrupts.
Since you are talking about writing a basic Linux
device driver, I suggest you see one of the many
books on the topic to learn some of the basics.
request_irq(), for example, is explained with many
examples.
Regards,
--
Matt Porter
porter@cox.net
This is Linux Country. On a quiet night, you can hear Windows reboot.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2002-06-15 15:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-13 22:10 440 PCI adapter card interupt handling question Khai Trinh
2002-06-15 15:21 ` Matt Porter [this message]
2002-06-17 17:32 ` Khai Trinh
2002-06-17 17:58 ` Matt Porter
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=20020615082112.B737@home.com \
--to=porter@cox.net \
--cc=kqtrinh@yahoo.com \
--cc=linuxppc-embedded@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).