This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: vrc4373_serial.c
- To: ecos-discuss at sourceware dot cygnus dot com
- Subject: Re: [ECOS] vrc4373_serial.c
- From: Chris Morrow <cmorrow at YottaYotta dot com>
- Date: Fri, 21 Jul 2000 16:51:36 -0600
- Organization: YottaYotta Inc.
- References: <3978C80D.36922459@YottaYotta.com>
Ah, the comment at the start of ns16550_serial_DSR() explains it.
You have to check channel A for both sets of interrupts.
Having a similar comment in vrc4373_serial_init() would be useful.
Chris Morrow wrote:
>
> In the function vrc4373_serial_init() in
> .../devs/serial/mips/vrc4373/current/src/vrc4373_serial.c
> should the third argument to the cyg_drv_interrupt_create() call
> be vrc4373_chan->base instead of VRC4373_SCC_BASE+SCC_CHANNEL_A?
>
> I guess this board only has one serial port, so this wouldn't
> matter that much.
>
> --
> Chris Morrow YottaYotta Inc.
> email: cmorrow@yottayotta.com
> phone: (780) 439 9000 ext 227
> web: http://www.yottayotta.com
--
Chris Morrow YottaYotta Inc.
email: cmorrow@yottayotta.com
phone: (780) 439 9000 ext 227
web: http://www.yottayotta.com