epic100: Test __BIG_ENDIAN instead of (non-existent) CONFIG_BIG_ENDIAN
authorRoland Dreier <rdreier@cisco.com>
Wed, 2 Jun 2010 10:36:53 +0000 (10:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Jun 2010 10:28:24 +0000 (03:28 -0700)
commit9e2d11b926765681f72db0373d2ecbbac28359b3
tree73f22ef1fe41bb827d2cc77fae033aa7c20781a8
parentd23380701876dd93d310b2548c51d0f78f25d7aa
epic100: Test __BIG_ENDIAN instead of (non-existent) CONFIG_BIG_ENDIAN

Probably no one has used this driver on big-endian systems, since it was
setting up descriptor swapping if CONFIG_BIG_ENDIAN is set, which it
never is, since that symbol is not mentioned anywhere else in the kernel
source.  Switch this test to a check for __BIG_ENDIAN so it has a chance
at working.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Acked-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/epic100.c