]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit220b7d2b1244a2f29f2108ce9b4d199d7c55355f
tree4f7696e09d08cb173306e68bfdc4dc98aa97ef0b
parent3c250c57317326df387ca4c9851640069f3c4d6d
[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