cnic: Fix big endian bug
authorMichael Chan <mchan@broadcom.com>
Tue, 25 Jan 2011 22:14:50 +0000 (22:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Jan 2011 22:26:00 +0000 (14:26 -0800)
commit5138826b52f8bc441770069b1b305e1d1426ae9e
treef1275b4ae1848783272e0b194e10c843016c606f
parent7cc2edb83447775a34ed3bf9d29d8295a434b523
cnic: Fix big endian bug

The chip's page tables did not set up properly on big endian machines,
causing EEH errors on PPC machines.

Reported-by: Breno Leitao <leitao@linux.vnet.ibm.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cnic.c