netxen: reset ring consumer during cleanup
commitc8a5a658b826508c7c61b57e9a590f7b8760fb51
authorDhananjay Phadke <dhananjay@netxen.com>
Mon, 27 Jul 2009 03:17:21 +0000 (26 20:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2009 03:17:21 +0000 (26 20:17 -0700)
tree33f2e37b2513eb16d823cf122fbf4e2c458e242f
parentc587aea951a56d29741a3cef4ea3e142c93b3207
netxen: reset ring consumer during cleanup

Reset consumer of status rings to 0 when cleaning
up sw resources. Status rings are not deleted
during suspend since they have napi objects.

This ensures correct rx processing across suspen-resume.

Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netxen/netxen_nic_init.c