[PATCH] pcnet32: Suspend the chip rather than restart when changing multicast/promisc
commitdf27f4a610e22e8c8c740286368cc13e0600f22c
authorDon Fry <brazilnut@us.ibm.com>
Thu, 29 Jun 2006 20:55:02 +0000 (29 13:55 -0700)
committerJeff Garzik <jeff@garzik.org>
Wed, 5 Jul 2006 18:07:15 +0000 (5 14:07 -0400)
tree399422c705273fd6e3f736aec399399de62aea68
parent06c878500893c315795fcf944ecbd85c3d023040
[PATCH] pcnet32: Suspend the chip rather than restart when changing multicast/promisc

Suspend the chip if possible rather than stop and discard all tx and rx
frames, when changing the mcast list or entering/leaving promiscuous
mode.  Created common pcnet32_suspend routine.

Tested ia32 and ppc64

Signed-off-by: Don Fry <brazilnut@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/pcnet32.c