This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Interrupts disabled during cyg_net_init()?
- From: Andrew Lunn <andrew at lunn dot ch>
- To: David Vrabel <dvrabel at arcom dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 5 Aug 2005 13:56:35 +0200
- Subject: Re: [ECOS] Interrupts disabled during cyg_net_init()?
- References: <42F33C0B.30409@arcom.com>
On Fri, Aug 05, 2005 at 11:14:35AM +0100, David Vrabel wrote:
> Hi,
>
> I have an ethernet driver that requires working interrupts during
> initialization. However, it appears the the interrupt ISR isn't called
> until after cyg_net_init() is complete. e.g., a snippet of the message
> log looks like this:
>
> ...
> [cyg_net_init] Done
> ix_isr()
> ix_dsr()
>
> Are interrupts not enabled during cyg_net_init()?
I think interrupts are only enabled once the schedular starts.
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