From: "wang cui" <iucgnaw@msn.com>
To: ecos-discuss@ecos.sourceware.org
Subject: [ECOS] Question about eth_drv_int_vector() in Redboot?
Date: Fri, 26 Jan 2007 08:08:00 -0000 [thread overview]
Message-ID: <BAY110-F9CC5A21385921F4539271A5A20@phx.gbl> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb2312; format=flowed, Size: 837 bytes --]
When using ethernet driver in Redboot.
Call stack:
net_init()
net_io_init()
net_io_control( comm, __COMMCTL_IRQ_DISABLE )
vector = eth_drv_int_vector()
eth_drv_int_vector(void)
MYDRIVER_int_vector(struct eth_drv_sc *sc);
Here eth_drv_int_vector() need MYDRIVER_int_vector() to return its
interrupt vector, but on my target, this ethernet device does not use any
interrupt resource.
How to return the vector? Presently, I return 0, and it works.
Since 0 is a valid vector used by other driver, I suspect it is not good.
Thanks in advance.
_________________________________________________________________
Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
next reply other threads:[~2007-01-26 8:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-26 8:08 wang cui [this message]
2007-01-26 8:43 ` Andrew Lunn
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=BAY110-F9CC5A21385921F4539271A5A20@phx.gbl \
--to=iucgnaw@msn.com \
--cc=ecos-discuss@ecos.sourceware.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 read-only IMAP folder(s) and NNTP newsgroup(s).