From: "Dennis Ehlin (ECS)" <Dennis.Ehlin@ecs.ericsson.se>
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] Serial device driver problem.
Date: Tue, 29 May 2001 06:52:00 -0000 [thread overview]
Message-ID: <2310E22AE31BD51189DB00A0C9DF89F85A27E2@eseklnt101.kl.sw.ericsson.se> (raw)
Hi,
I'm trying write a serial device to my ppc target, i'm using the generic 16x5x uart code.
I have the serial interrupts working and so on...
When i do a serial_read (located serial.c) everything seems to work ok, and i get to the
cyg_drv_cond_wait(&cbuf->wait) line and it stops there to wait for the cbuf->wait signal. ok.
Then i generate a serial receive interrupt and the serial_rcv_char function is called,
which sends the cbuf->wait signal with the line cyg_drv_cond_signal(&cbuf->wait).
But nothing happends?, the cyg_drv_cond_wait(&cbuf->wait) never continues, as if it never gets the
signal.
I suppose there's alot of things that can go wrong, but I dont have a clue of what is happening there.
Does anyone know of something that could cause this ?
(I use the serial_echo test to test this)
//Dennis
next reply other threads:[~2001-05-29 6:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-29 6:52 Dennis Ehlin (ECS) [this message]
2001-05-29 10:11 ` Jonathan Larmour
2001-05-30 2:55 ` David Airlie
2001-05-29 23:21 Dennis Ehlin (ECS)
2001-05-30 8:31 ` Jonathan Larmour
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=2310E22AE31BD51189DB00A0C9DF89F85A27E2@eseklnt101.kl.sw.ericsson.se \
--to=dennis.ehlin@ecs.ericsson.se \
--cc=ecos-discuss@sources.redhat.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).