]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit0ce28bd432db0ebd7bed5d28cdc9c4b55e73d21c
tree96ead26cfcaa2915d4c1300fb533a0b62172f7f7
parent6385552199088eac4b64913051e815fbcb7c1258
[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