From: Al Viro Date: Fri, 21 Dec 2007 06:21:03 +0000 (+0000) Subject: typhoon: memory corruptor on big-endian if TSO is enabled X-Git-Tag: v2.6.24-rc7~40^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cc085c7aceb78d26d0a5355e111b2330f089161;p=pandora-kernel.git typhoon: memory corruptor on big-endian if TSO is enabled txlo_dma_addr should be host-endian; we pass it to typhoon_tso_fill(), which does arithmetics on it, converts to l-e and passes it to card. Unfortunately, we forgot le32_to_cpu() when initializing it from face->txLoAddr, which sits in shared memory and is little-endian. Signed-off-by: Al Viro Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed