]> git.baikalelectronics.ru Git - kernel.git/commit
3c574, 3c515 bitfields abuse
authorAl Viro <viro@ftp.linux.org.uk>
Sun, 13 Jan 2008 14:17:35 +0000 (14:17 +0000)
committerJeff Garzik <jeff@garzik.org>
Fri, 18 Jan 2008 19:44:33 +0000 (14:44 -0500)
commitdfc9b4975ab91bba1d4f9a77c863330140a335f9
tree00f16223e91563bd99cb4a42178f62e693aa2030
parent0b0bb9c05f40884032a59cd56be5e8b2c6890380
3c574, 3c515 bitfields abuse

wn3_config is shared by these cards; the way we deal with it is both bad C
(union abuse) and broken on big-endian.  For 3c515 it's less serious (ISA
cards are quite rare outside of little-endian boxen), but 3c574 is a pcmcia
one and that'd better be endian-independent...  Fix is the same in both
cases.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/3c515.c
drivers/net/pcmcia/3c574_cs.c