DM9000: Fix endian-ness of data accesses.
authorBen Dooks <ben-linux@fluff.org>
Tue, 5 Feb 2008 00:02:00 +0000 (00:02 +0000)
committerJeff Garzik <jeff@garzik.org>
Mon, 11 Feb 2008 16:05:15 +0000 (11:05 -0500)
commit931165739a75f88530d5b02cafaacf9bb6b66d87
tree68bc8dfb4a0d89c106ae6462384088fb8f7f171c
parenta8cc21f64648073e443365d113c55755b92622a6
DM9000: Fix endian-ness of data accesses.

Patch from: Laurent Pinchart <laurentp@cse-semaphore.com>

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 <laurentp@cse-semaphore.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/dm9000.c