sky2: Reset tx train after interrupts disabled.
authorMike McCormack <mikem@ring3k.org>
Fri, 14 Aug 2009 05:15:14 +0000 (05:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Aug 2009 22:30:00 +0000 (15:30 -0700)
commit264bb4fab1a0952b4eef4df5b9e90bc050a2d1e6
treeb7546998044c84af5aa2432a0f80fcb833948b50
parenta510996bea68eec2feb7818e9a440bd840613a25
sky2: Reset tx train after interrupts disabled.

Reseting the tx chain too soon results in invalid tx queue positions
being delivered in the status queue.  This also makes sure there's no
overlap between the cleanup done by sky2_tx_clean() and
sky2_tx_done().

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sky2.c