Fix bit-0-is-lsb ordering
authorJeremy Kerr <jk@ozlabs.org>
Thu, 12 Nov 2009 06:31:36 +0000 (17:31 +1100)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 12 Nov 2009 23:58:49 +0000 (10:58 +1100)
commit6af82b47cb07a95e48d0a578b9e18141950a4ed3
tree0ead9418c6d80d0d25ee362e2ef9c63ca488a1f9
parent8fd1d09cf203adc85393752d32be3578c32e52c3
Fix bit-0-is-lsb ordering

Turns out we weren't handling the lsb-first bit numbering very well,
especially for multiple-bit fields.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
bitfield