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: Gary Thomas <gthomas at ecoscentric dot com>
- To: NHibberd at aol dot com
- Cc: cgarry at sweeneydesign dot co dot uk,eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 05 Oct 2002 14:51:39 -0600
- Subject: Re: [ECOS] KS32C5000 on-core ethernet driver in eCos v2.0
- References: <8.2db11f8c.2ad01331@aol.com>
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