This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cyg_io_read blocking


On Sun, 2005-04-10 at 22:09 -0700, Raghu wrote: 
> >>>Finally, this thread really should be on ecos-
> >>> discuss
> 
> Just wanted to put this here as suggested by Gary. 
> 
> >>> * If you want to do threaded operations, you'll
> >>> need to use a serial device driver that supports
> >>> this - not /dev/ttydiag which does not.
> >>> It's not clear what driver/device your I/O 
> >>> channel is connected to,but it needs to be 
> >>> a "standard serial" driver, e.g. /dev/ser0
> 
> I have a IXDP425 eval board, and I think there is no
> standard serial driver that registers as "/dev/ser0" 
> for this board. Do we have to write one ?? I think
> there is only "ixp425_diag.c" in
> platforms/hal/arm/xscale/ixp425 directory.

Yes, you'll need to write one.  It should be straight forward
since the serial ports are 16550 compatible.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]