linux-stable/drivers/net/e1000
Auke Kok e94bd23f67 e1000: Fix msi enable leak on error, don't print error message, cleanup
pci_enable_msi failure is a normal event so we should not print any error.
Going over the code I spotted a missing pci_disable_msi() leak when irq
allocation fails. The whole code also needed a cleanup, so I combined the
two different calls to pci_request_irq into a single call making this
look a lot better. All #ifdef CONFIG_PCI_MSI's have been removed.

Compile tested with both CONFIG_PCI_MSI enabled and disabled.

Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-05-17 20:43:15 -04:00
..
e1000.h e1000: Fix msi enable leak on error, don't print error message, cleanup 2007-05-17 20:43:15 -04:00
e1000_ethtool.c e1000: ROUND_UP macro cleanup in drivers/net/e1000 2007-04-28 11:01:07 -04:00
e1000_hw.c e1000: 3 new driver stats for managability testing 2006-12-26 15:51:30 -05:00
e1000_hw.h Various typo fixes. 2007-02-17 19:07:33 +01:00
e1000_main.c e1000: Fix msi enable leak on error, don't print error message, cleanup 2007-05-17 20:43:15 -04:00
e1000_osdep.h e1000: clean up debug output defines 2007-02-05 16:58:41 -05:00
e1000_param.c e1000: ROUND_UP macro cleanup in drivers/net/e1000 2007-04-28 11:01:07 -04:00
Makefile e100, e1000, ixgb: update copyright header and remove LICENSE 2006-09-27 12:53:14 -07:00