[PATCH] defxx: Big-endian hosts support
authorMaciej W. Rozycki <macro@linux-mips.org>
Mon, 23 Oct 2006 12:53:17 +0000 (13:53 +0100)
committerJeff Garzik <jeff@garzik.org>
Sat, 2 Dec 2006 05:12:01 +0000 (00:12 -0500)
commitb2e68aa337f950e4a8c893a82b95b1755309bc56
tree4f7696e09d08cb173306e68bfdc4dc98aa97ef0b
parentc3a9392e4f3b9d97803b067871d66bc143369dbf
[PATCH] defxx: Big-endian hosts support

 The PDQ DMA engine requires a different byte-swapping mode for big-endian
hosts; also the MAC address which is read from a register through PIO has
to be byte-swapped.  These changes have been verified with DEFPA-DC (PCI)
boards and a Broadcom BCM91250A (MIPS CPU based) host.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/defxx.c
drivers/net/defxx.h