sky2: Refactor down/up code out of sky2_restart()
authorMike McCormack <mikem@ring3k.org>
Thu, 13 May 2010 06:12:51 +0000 (06:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 May 2010 10:06:21 +0000 (03:06 -0700)
commitd72ff8fa7f8b344382963721f842256825c4660b
tree669282b67c3c37940141aa4ea52259d2f3f6358b
parent93135a3be0d909fabca9c4329177f71ae71b6847
sky2: Refactor down/up code out of sky2_restart()

Code to bring down all sky2 interfaces and bring it up
again can be reused in sky2_suspend and sky2_resume.

Factor the code to bring the interfaces down into
sky2_all_down and the up code into sky2_all_up.

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