drivers/char/rocket portability fixes
authorAl Viro <viro@ftp.linux.org.uk>
Wed, 19 Mar 2008 16:27:48 +0000 (16:27 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 20 Mar 2008 02:42:36 +0000 (19:42 -0700)
commit457fb605834504af294916411be128a9b21fc3f6
tree6813daab294e40068269c0564bd8c4f479f73dbc
parent635440c0235537a3f0a90ed5b6f8cd8a5da862de
drivers/char/rocket portability fixes

unsigned long != __le32, TYVM, and unsigned char[4] is not guaranteed
to be aligned for u32.

While we are at it, sanitize sOutDW() a bit - have it take Byte_t * and
handle dereferencing internally.

NB: sWriteTxPrioByte() is almost certainly buggered on big-endian and is
missing cpu_to_le16() on assignments to *WordPtr; I've left it alone for now.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/rocket.c
drivers/char/rocket_int.h