[ECOS] KS32C5000 on-core ethernet driver in eCos v2.0
Gary Thomas
gthomas@ecoscentric.com
Sat Oct 5 13:51:00 GMT 2002
On Sat, 2002-10-05 at 04:04, NHibberd@aol.com wrote:
> 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
While this information is useful (thanks!), a real patch which
we can apply against the CVS sources would be much better. Perhaps
you could provide it (I'm sure it's small enough to be accepted
without any fanfare).
--
------------------------------------------------------------
Gary Thomas |
eCosCentric, Ltd. |
+1 (970) 229-1963 | eCos & RedBoot experts
gthomas@ecoscentric.com |
http://www.ecoscentric.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
More information about the Ecos-discuss
mailing list