]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3b3104f83c9e5c47b9da7b119386c00d36bc856a
tree73f22ef1fe41bb827d2cc77fae033aa7c20781a8
parent1ce04c410b010353553ab651808dd7d07a0fcbd4
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