sky2: fix transmit state on resume
authorStephen Hemminger <shemminger@linux-foundation.org>
Thu, 27 Sep 2007 19:38:12 +0000 (12:38 -0700)
committerJeff Garzik <jeff@garzik.org>
Fri, 28 Sep 2007 03:32:29 +0000 (23:32 -0400)
commit88f5f0cad396be594d6d55cb2d0cd69e8df9ab16
tree3520aeaa3d1b75d0adcb667a351ca5a30b8549af
parentd6c9bc1ed4301cbc3df4565ff5348b64bf2a767c
sky2: fix transmit state on resume

This should fix http://bugzilla.kernel.org/show_bug.cgi?id=8667

After resume, driver has reset the chip so the current state
of transmit checksum offload state machine and DMA state machine
will be undefined.

The fix is to set the state so that first Tx will set MSS and offset
values.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/sky2.c