From: Jesper Skov <jskov@redhat.com>
To: Daniel Lind <daniel.lind@sth.frontec.se>
Cc: ecos-discuss@sourceware.cygnus.com
Subject: Re: [ECOS] SMC2 serial driver....problems!?!
Date: Tue, 24 Oct 2000 04:13:00 -0000 [thread overview]
Message-ID: <14837.28372.315870.773910@thinktwice.zoftcorp.dk> (raw)
In-Reply-To: <39F56D63.736EEF4A@bluelabs.se>
For the benefit of the rest of the list:
Daniel> Hi,
Daniel> I solved the problems yesterday and I had to add just one
Daniel> little thing in the ISR for the device driver. So my ISR in
Daniel> quicc_smc_serial.c looks like this....
Ah, glad to hear that.
Daniel> // Serial I/O - low level interrupt handler (ISR)
Daniel> static cyg_uint32
Daniel> quicc_smc_serial_ISR(cyg_vector_t vector, cyg_addrword_t data)
Daniel> {
Daniel> serial_channel *chan = (serial_channel *)data;
Daniel> quicc_smc_serial_info *smc_chan = (quicc_smc_serial_info
Daniel> *)chan->dev_priv;
Daniel> cyg_drv_interrupt_mask(smc_chan->int_num);
Daniel> return (CYG_ISR_HANDLED|CYG_ISR_CALL_DSR); // Cause DSR to be run
Daniel> }
Daniel> I had to add CYG_ISR_HANDLED.
Jesper
prev parent reply other threads:[~2000-10-24 4:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-23 4:05 Daniel Lind
2000-10-24 3:32 ` Jesper Skov
[not found] ` <39F56D63.736EEF4A@bluelabs.se>
2000-10-24 4:13 ` Jesper Skov [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=14837.28372.315870.773910@thinktwice.zoftcorp.dk \
--to=jskov@redhat.com \
--cc=daniel.lind@sth.frontec.se \
--cc=ecos-discuss@sourceware.cygnus.com \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).