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: 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


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