From: Andrew Lunn <andrew@lunn.ch>
To: Arnaud Chataignier <achataignier@neotion.com>
Cc: "'Hook, James'" <jhook@bloomberg.com>, ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] RE : [ECOS] possible fix for eth_drv_recv blocking DSR
Date: Wed, 29 Jun 2005 11:13:00 -0000 [thread overview]
Message-ID: <20050629110751.GE5563@lunn.ch> (raw)
In-Reply-To: <01ce01c57c97$d6d275b0$0100a8c0@ArnaudC>
On Wed, Jun 29, 2005 at 12:46:43PM +0200, Arnaud Chataignier wrote:
> James,
>
> As you had no answer and I know it, I will try to help.
>
> There should be no DSR in an Ethernet driver device. Your ISR should
> only ask for a DSR call. The DSR is handled in the IO ethernet part, not
> in the device driver.
>
> The IO ethernet DSR only triggers the execution of the Network alarm
> thread, which then calls your ethernet driver 'deliver' function. Your
> deliver function is thus called from a thread, and there is no interrupt
> lock/unlock to be done in cyg_splx and spl_any.
I think the problem stems from a conflict in the documentation.
packages/io/eth/current/doc/driver_doc says you should be doing it
from the DSR. The sgml documentation says something different and
describes what you say.
The sgml documentation is correct. I will remove the driver_doc which
is now old and wrong.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
prev parent reply other threads:[~2005-06-29 11:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-29 10:47 Arnaud Chataignier
2005-06-29 11:13 ` Andrew Lunn [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=20050629110751.GE5563@lunn.ch \
--to=andrew@lunn.ch \
--cc=achataignier@neotion.com \
--cc=ecos-discuss@sources.redhat.com \
--cc=jhook@bloomberg.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).