From: Ben Hutchings Date: Fri, 23 Oct 2009 08:31:20 +0000 (+0000) Subject: sfc: Move all TX DMA length limiting into tx.c X-Git-Tag: v2.6.33-rc1~388^2~727 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63f1988419ccaa544d1d31aadc1dd309f6471ffe;p=pandora-kernel.git sfc: Move all TX DMA length limiting into tx.c Replace the duplicated logic in efx_enqueue_skb() and efx_tx_queue_insert() with an inline function, efx_max_tx_len(). Remove the failed attempt at abstracting hardware-specifics and put all the magic numbers in efx_max_tx_len(). Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller --- Reading git-diff-tree failed