This is the mail archive of the
mailing list for the eCos project.
Accessing 2nd / 3rd Ethernet interface directly
- From: Jim Bradleigh <jim dot bradleigh1 at btinternet dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Fri, 7 Aug 2009 08:34:04 +0000 (GMT)
- Subject: [ECOS] Accessing 2nd / 3rd Ethernet interface directly
My target hardware is an i386 PC with 3 Ethernet controllers (all RTL8139 cards) and my application needs to direct access to the 2nd and 3rd Ethernet ports to read/write raw Ethernet frames. The primary port is used for TCP/IP control which works without problems.
I`m fairly new to eCos so not fully up to speed on the entire set-up of it but i`ve been reading the archived mailing list and can`t find any previous examples of how to directly access the Ethernet controllers.
Can anyone point in the right direction (or various directions) on where to start looking or tell me what is the correct way to do this? I can`t find an API or information that shows me how to locate the 2nd and 3rd cards and read/write raw data to them.
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss