Mike McCormack f1914226e1 skge: Make sure both ports initialize correctly
If allocation of the second ports fails, make sure that hw->ports
 is not 2 otherwise we'll crash trying to access the second port.

This fix is copied from a similar fix in the sky2 driver (ca519274...),
but is untested, as I don't have a skge card.

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-09-30 20:03:18 -07:00
..
2009-09-22 07:17:27 -07:00
2009-09-23 07:39:41 -07:00
2009-09-24 07:21:05 -07:00
2009-09-23 07:39:43 -07:00
2009-09-23 18:13:10 -07:00
2009-09-23 07:39:29 -07:00
2009-09-15 15:08:40 -04:00
2009-09-23 07:39:44 -07:00
2009-09-23 11:35:41 -04:00
2009-09-23 22:26:32 +09:30
2009-09-18 08:39:37 +00:00
2009-09-23 10:07:49 -07:00