summaryrefslogtreecommitdiffstats
path: root/drivers/net/sungem.h
diff options
context:
space:
mode:
authorAl Viro2007-12-17 00:30:08 +0100
committerDavid S. Miller2008-01-29 00:07:09 +0100
commitf3ec33e587df02e25963755989cc473e3f07bf0d (patch)
tree5f176f664af9b9b8ad76ca5fdfd8fd68de6a1fe5 /drivers/net/sungem.h
parentendianness annotations and fixes for olympic (diff)
downloadkernel-qcow2-linux-f3ec33e587df02e25963755989cc473e3f07bf0d.tar.gz
kernel-qcow2-linux-f3ec33e587df02e25963755989cc473e3f07bf0d.tar.xz
kernel-qcow2-linux-f3ec33e587df02e25963755989cc473e3f07bf0d.zip
sunhme endianness annotations
This one is interesting - SBUS and PCI variants have opposite endianness in descriptors (SBUS is sparc-only, so there host-endian == big-endian). Solution: declare a bitwise type (hme32) and in accessor helpers do typechecking and force-casts (once we know that the type is right). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/sungem.h')
0 files changed, 0 insertions, 0 deletions