From: Michael Chan Date: Sun, 18 Jun 2006 04:58:45 +0000 (-0700) Subject: [TG3]: Convert to non-LLTX X-Git-Tag: v2.6.18-rc1~1111^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00b7050426da8e7e58c889c5c80a19920d2d41b3;p=pandora-kernel.git [TG3]: Convert to non-LLTX Herbert Xu pointed out that it is unsafe to call netif_tx_disable() from LLTX drivers because it uses dev->xmit_lock to synchronize whereas LLTX drivers use private locks. Convert tg3 to non-LLTX to fix this issue. tg3 is a lockless driver where hard_start_xmit and tx completion handling can run concurrently under normal conditions. A tx_lock is only needed to prevent netif_stop_queue and netif_wake_queue race condtions when the queue is full. So whether we use LLTX or non-LLTX, it makes practically no difference. Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed