sky2: cleanup restart operations
authorStephen Hemminger <shemminger@vyatta.com>
Fri, 14 Aug 2009 22:31:25 +0000 (15:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Aug 2009 22:31:25 +0000 (15:31 -0700)
commitaf18d8b89930aecc742982634adaf97dfb43ed3b
tree3492278988d8842c16c72c82bfa26a09e7d0c8c7
parent19720737187aaee006afb20e63be5e9eddc505a8
sky2: cleanup restart operations

This unifies the places that bounce the device (suspend/resume
and restart). And makes the operations have the same semantics
as normal dev_open/dev_stop.

This also avoids setting the multicast addresses twice when
device is brought up.

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