This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Re: User vs. DSR vs. ISR vs. Ethernet CRC
On Fri, Jun 23, 2000 at 03:13:32PM -0600, Gary Thomas wrote:
>
> On 23-Jun-00 Grant Edwards wrote:
> > Is there a way for the Ethernet DSR to process one frame, and
> > then return after scheduling itself to be called again after
> > all other pending DSRs are run? If I can arrange it so that
> > the Ethernet DSR only handles a single frame at a time, then
> > the latency is tolerable.
>
> Once inside the ethernet DSR (in your driver) you can repost it.
> Use the interface:
>
> cyg_interrupt_post_dsr( CYG_ADDRWORD intr_obj )
>
> where 'intr_obj' is the interrupt handle you got when you created
> the interrupt.
Cool -- that should do the trick -- thanks!
--
Grant Edwards
grante@visi.com