linux/drivers/net/tokenring
Al Viro b710b43c30 endianness annotations and fixes for olympic
* missing braces in !readl(...) & ...
	* trivial endianness annotations
	* in olympic_arb_cmd() the loop collecting fragments of
packet is b0rken on big-endian - we have
	(next_ptr && (buf_ptr=olympic_priv->olympic_lap + ntohs(next_ptr)))
as condition and it should have swab16(), not ntohs() - it's host-endian
byteswapped, not big-endian.  So if we get more than one fragment on big-endian
host, we get screwed.
	This ntohs() got missed back when the rest of those had been switched
to swab16() in 2.4.0-test2-pre1 - at a guess, nobody had hit fragmented
packets during the testing of PPC fixes.

PS: Ken Aaker cc'd on assumption that he is the same guy who'd done the
original set of PPC fixes in olympic

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2008-01-28 15:07:08 -08:00
..
3c359.c 3c359 endianness annotations and fixes 2007-12-22 23:16:42 -05:00
3c359.h 3c359 endianness annotations and fixes 2007-12-22 23:16:42 -05:00
3c359_microcode.h
abyss.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
abyss.h
ibmtr.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
Kconfig [TR]: Use menuconfig objects. 2007-05-24 16:36:52 -07:00
lanstreamer.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
lanstreamer.h
madgemc.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
madgemc.h
Makefile
olympic.c endianness annotations and fixes for olympic 2008-01-28 15:07:08 -08:00
olympic.h endianness annotations and fixes for olympic 2008-01-28 15:07:08 -08:00
proteon.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
skisa.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
smctr.c [NET]: Nuke SET_MODULE_OWNER macro. 2007-10-10 16:51:13 -07:00
smctr.h
smctr_firmware.h
tms380tr.c tms380tr: trivial endianness annotations 2007-10-10 16:52:05 -07:00
tms380tr.h tms380tr: trivial endianness annotations 2007-10-10 16:52:05 -07:00
tmspci.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00