This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: RAW Ethernet I/O
- From: Grant Edwards <grante at visi dot com>
- To: Rick Davis <rickdavisjr at comcast dot net>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Mon, 2 Jun 2003 09:18:17 -0500
- Subject: Re: [ECOS] RAW Ethernet I/O
- References: <007f01c328b8$bb8d29b0$0505a8c0@dev1>
On Sun, Jun 01, 2003 at 11:40:36PM -0400, Rick Davis wrote:
> I am working on a project that will be receiving IP packets via an RS-422
> serial link. The packets will then be transmitted over Ethernet. I would
> like to use the Raw Packet interface but it doesn't look like eCos fully
> supports the raw packet interface line Linux does.
When I needed to do this, I ended up adding a raw I/O API to
my Ethernet driver using cyg_io_read(), cyg_io_write() et al.
--
Grant Edwards
grante@visi.com
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss