s2io: Fixes in updating skb->truesize and code cleanup.
authorSivakumar Subramani <Sivakumar.Subramani@neterion.com>
Wed, 31 Jan 2007 18:32:57 +0000 (13:32 -0500)
committerJeff Garzik <jeff@garzik.org>
Mon, 5 Feb 2007 21:58:51 +0000 (16:58 -0500)
commit372cc5972de0eb5b15403d37fa63dcb4f9134ee0
tree20b759f03c3d8f4d41f61f1166487664e084f796
parent19a605220cf83a5ec5f8d9f9943e862ebf18f93f
s2io: Fixes in updating skb->truesize and code cleanup.

1. Fix for updating skb->truesize properly.
2. Disable NAPI only if more than one ring configured in case of MSI/MSI-X
   interrupts. Previously we were disabling NAPI irrespective of number of
   rings when MSI/MSI-X interrupts were used.
3. Code cleanup.

Signed-off-by: Sivakumar Subramani <sivakumar.subramani@neterion.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/s2io.c