linux/drivers/net/ethernet/marvell
Lino Sanfilippo 1c85382e30 sky2: fix cleanup sequence in probe() function
The cleanup sequence in sky2_probe() that is called in case of an error is
mixed up in different places:

- pci_disable_device() is not called in each case the device has been enabled
before

- same for pci_disable_msi(): test_msi() may return with an error != EOPNOTSUPP
(due to failure of request_irq()). In that case msi is not disabled

- also failure of register_netdev() does not disable msi

This patch fixes the concerning parts.

Signed-off-by: Lino Sanfilippo <LinoSanfilippo@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-12-03 13:52:31 -05:00
..
Kconfig
Makefile
mv643xx_eth.c net: remove skb recycling 2012-10-07 00:40:54 -04:00
pxa168_eth.c ethernet: Convert dev_printk(KERN_<LEVEL> to dev_<level>( 2012-10-31 14:02:45 -04:00
skge.c drivers/net: use tasklet_kill in device remove/close process 2012-11-03 15:10:15 -04:00
skge.h
sky2.c sky2: fix cleanup sequence in probe() function 2012-12-03 13:52:31 -05:00
sky2.h sky2: Added support for Optima EEE 2012-07-09 00:05:40 -07:00