This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: KS32C5000 on-core ethernet driver in eCos v2.0
- From: NHibberd at aol dot com
- To: cgarry at sweeneydesign dot co dot uk
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Sat, 5 Oct 2002 06:04:33 EDT
- Subject: Re: [ECOS] KS32C5000 on-core ethernet driver in eCos v2.0
Hi Chris,
I just got ethernet and the freeBSD stack running on my E7T
board this week.
The KS32C5000 driver that you mention is written for big-endian
mode, E7T runs in little-endian mode.
These are the changes that I made to the driver...
In BDMARxConfigVar declaration, swap BDMARXCON_BIG
for BDMARXCON_LITTLE.
In the txWritePointer transmit descriptor reserved fields setup,
swap TXFDCON_BIG_ENDIAN for TXFDCON_LITTLE_ENDIAN
I hope this helps,
Cheers,
Neil Hibberd
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss