commit | f3ec33e587df02e25963755989cc473e3f07bf0d | [log] [tgz] |
---|---|---|
author | Al Viro <viro@ftp.linux.org.uk> | Sun Dec 16 23:30:08 2007 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 28 15:07:09 2008 -0800 |
tree | 5f176f664af9b9b8ad76ca5fdfd8fd68de6a1fe5 | |
parent | b710b43c306650261c01ad08100791afec78a7db [diff] |
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>