Subject: Re: i82544EI ethernet driver
To: Allen Briggs <>
From: Kate Feng <>
List: port-powerpc
Date: 11/15/2004 17:12:39
Allen Briggs wrote:

> On Mon, Nov 15, 2004 at 02:56:11PM -0500, Kate Feng wrote:
> > You mentioned the code was tested for both big-endian and
> > little-endian.  It must be somewhere I have to do
> >
> > Does that make sense ?
> The bus_space(9) interface and proper coding practice should prevent
> you from needing to #define BYTE_ORDER BIG_ENDIAN.  The byte order
> on CPU->PCI reads/writes should be handled by the bus_space API.
> The byte order for DMA should be handled by the usage of htole32
> macros.  These won't do anything on little-endian systems, but will
> swap the bytes for big-endian systems so that the PCI device will
> read little-endian format.
> Are you having difficulty with the driver as it is?

It works fine now, at least for the Tx.  What I tried to do really did
not conflict
with your  statement.   There  was a problem in my  network test

Thanks again,