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: Ethernet driver question


On Wed, 29 Oct 2003 10:24:00 -0800
John Newlin <jnewlin@rawbw.com> wrote:

> Couple of silly questions, I like multiple choice: 
> 
> 1) When the HDWR_Send function is called, is there:
>   a) a valid FCS already at the end of the data?
>   b) 4 bytes where the FCS should be, but expects the hardware to
>   change 
> it on the way out
>   c) No FCS, expects the hardware to append an FCS
> 
> (Our hardware can generate an FCS, so would save some cycles if the
> FCS were not generated in software)
> 
> 2) When HDWR_recv is called to get a packet, does it expect a valid
> enet frame including MAC address, and FCS on the end, or does it want
> those stripped off?  I imagine the former is correct, but I just want
> to make sure.
> 
> 
> Thanks,
> 
> -John Newlin
> 
> 

hello,

AFAIK, 
1) c) No FCS, expects the hardware to append an FCS
2) expect a valid enet frame including MAC address

any FCS computation are reserved for the hardware layer.

regards,

-- 
GONZALEZ Laurent
Silicomp Research Institute
Tel: 04 76 41 66 98

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


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