[PATCH] sk98lin: error handling on dual port board
authorStephen Hemminger <shemminger@osdl.org>
Sat, 7 Jan 2006 00:57:41 +0000 (16:57 -0800)
committerJeff Garzik <jgarzik@pobox.com>
Mon, 9 Jan 2006 15:32:40 +0000 (10:32 -0500)
commitdecf67aa2f4d498c02c2ad24a187a66c217f330c
tree96ead26cfcaa2915d4c1300fb533a0b62172f7f7
parentbce7c95e4dd4d5e924deb2929b639b4caca09c93
[PATCH] sk98lin: error handling on dual port board

Sk98lin driver error recovery on two port boards is bad.
If it fails the second allocation, it will not release resources
properly. Also it registers the second port in the pci driver data

If second port fails, might as well go with one port.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/sk98lin/skge.c