3c359 endianness annotations and fixes
authorAl Viro <viro@ftp.linux.org.uk>
Sat, 22 Dec 2007 19:44:10 +0000 (19:44 +0000)
committerJeff Garzik <jeff@garzik.org>
Sun, 23 Dec 2007 04:16:42 +0000 (23:16 -0500)
commit9914cad54c79d0b89b1f066c0894f00e1344131c
tree75def1828eef4d5ac4337bda3e15aab12dbd0036
parentcc154ac64aa8d3396b187f64cef01ce67f433324
3c359 endianness annotations and fixes

Same story as with olympic - htons(readw()) when swab16(readw()) is needed,
missing conversions to le32 when dealing with shared descriptors, etc.
Olympic got those fixes in 2.4.0-test2, 3c359 didn't.

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