public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Ethernet and Serial drivers for Linux target?
@ 1999-11-10 12:38 Grant Edwards
  1999-11-10 16:40 ` Gary Thomas
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Grant Edwards @ 1999-11-10 12:38 UTC (permalink / raw)
  To: =ecos, ecos

Hi,

I told management that it should be possible to write serial port and
Ethernet device drivers for the Linux eCos target, thus allowing
people to do eCos application development on Linux boxes.  Of course
the performance and timing won't be the same, but for basic application
functionality it should be good enough for many things.

Has anybody done this?  I assume that all you have to do is to map
cyg_io_read() and cyg_io_write() into read() and write() calls, and
map cyg_io_get_config() and cyg_io_set_config() into appropriate
ioctl() calls?

The serial driver should be able to use the standard /dev/ttySx
devices and the Ethernet driver can use the af_packet module to send
and receive Ethernet packets.  Is this going to be as straight-forward
as I think it is, or have I dug myself into a hole?

TIA

-- 
Grant Edwards
grante@visi.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~1999-11-11  9:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-10 12:38 [ECOS] Ethernet and Serial drivers for Linux target? Grant Edwards
1999-11-10 16:40 ` Gary Thomas
1999-11-11  4:44 ` [ECOS] " Bart Veer
1999-11-11  9:10 ` [ECOS] " Jonathan Larmour
1999-11-11  9:23   ` Grant Edwards
1999-11-11  9:32     ` Gary Thomas
1999-11-11  9:39       ` Grant Edwards
1999-11-11  9:37     ` [ECOS] " Bart Veer
1999-11-11  9:45       ` Grant Edwards

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).