Re: [PATCH 01/24 for-2.6.25] DM9000: Fix endian-ness of data accesses. Patch from: Laurent Pinchart

2008-02-07 Thread Jeff Garzik
Laurent Pinchart wrote: On Wednesday 06 February 2008 12:46, Jeff Garzik wrote: two comments: 1) you should be using __le16 type 2) seems like you should do the same for RxStatus, rather than splitting it The DM9000 datasheet (or rather the application notes) describes two distinct fields,

Re: [PATCH 01/24 for-2.6.25] DM9000: Fix endian-ness of data accesses. Patch from: Laurent Pinchart

2008-02-07 Thread Christoph Hellwig
On Tue, Feb 05, 2008 at 12:02:00AM +, Ben Dooks wrote: > This patch splits the receive status in 8bit wide fields and convert the > packet length from little endian to CPU byte order. > > Signed-off-by: Laurent Pinchart <[EMAIL PROTECTED]> > Signed-off-by: Ben Dooks <[EMAIL PROTECTED]> > > In

Re: [PATCH 01/24 for-2.6.25] DM9000: Fix endian-ness of data accesses. Patch from: Laurent Pinchart

2008-02-07 Thread Laurent Pinchart
On Wednesday 06 February 2008 12:46, Jeff Garzik wrote: > two comments: > > 1) you should be using __le16 type > > 2) seems like you should do the same for RxStatus, rather than splitting it The DM9000 datasheet (or rather the application notes) describes two distinct fields, even though they bot

Re: [PATCH 01/24 for-2.6.25] DM9000: Fix endian-ness of data accesses. Patch from: Laurent Pinchart

2008-02-06 Thread Jeff Garzik
two comments: 1) you should be using __le16 type 2) seems like you should do the same for RxStatus, rather than splitting it -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordo

Re: [PATCH 01/24 for-2.6.25] DM9000: Fix endian-ness of data accesses. Patch from: Laurent Pinchart

2008-02-05 Thread Francois Romieu
Ben Dooks <[EMAIL PROTECTED]> : > This patch splits the receive status in 8bit wide fields and convert the > packet length from little endian to CPU byte order. > > Signed-off-by: Laurent Pinchart <[EMAIL PROTECTED]> > Signed-off-by: Ben Dooks <[EMAIL PROTECTED]> > > Index: linux-2.6.24-git5-dm9k

Re: [PATCH 01/24 for-2.6.25] DM9000: Fix endian-ness of data accesses.

2008-02-04 Thread Ben Dooks
On Tue, Feb 05, 2008 at 12:02:00AM +, Ben Dooks wrote: This should have been: Patch From: Laurent Pinchart <[EMAIL PROTECTED]> This patch splits the receive status in 8bit wide fields and convert the packet length from little endian to CPU byte order. Signed-off-by: Laurent Pinchart <[EMAIL

[PATCH 01/24 for-2.6.25] DM9000: Fix endian-ness of data accesses. Patch from: Laurent Pinchart

2008-02-04 Thread Ben Dooks
This patch splits the receive status in 8bit wide fields and convert the packet length from little endian to CPU byte order. Signed-off-by: Laurent Pinchart <[EMAIL PROTECTED]> Signed-off-by: Ben Dooks <[EMAIL PROTECTED]> Index: linux-2.6.24-git5-dm9k/drivers/net/dm9000.c