The patch titled tulip: handle pci_enable_device() errors in resume has been removed from the -mm tree. Its filename is tulip-handle-pci_enable_device-errors-in-resume.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: tulip: handle pci_enable_device() errors in resume From: Valerie Henson <val_henson@xxxxxxxxxxxxxxx> Signed-off-by: Valerie Henson <val_henson@xxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/net/tulip/de2104x.c | 16 ++++++++++------ drivers/net/tulip/tulip_core.c | 5 ++++- drivers/net/tulip/winbond-840.c | 12 ++++++++---- 3 files changed, 22 insertions(+), 11 deletions(-) diff -puN drivers/net/tulip/de2104x.c~tulip-handle-pci_enable_device-errors-in-resume drivers/net/tulip/de2104x.c --- a/drivers/net/tulip/de2104x.c~tulip-handle-pci_enable_device-errors-in-resume +++ a/drivers/net/tulip/de2104x.c @@ -2138,17 +2138,21 @@ static int de_resume (struct pci_dev *pd { struct net_device *dev = pci_get_drvdata (pdev); struct de_private *de = dev->priv; + int retval = 0; rtnl_lock(); if (netif_device_present(dev)) goto out; - if (netif_running(dev)) { - pci_enable_device(pdev); - de_init_hw(de); - netif_device_attach(dev); - } else { - netif_device_attach(dev); + if (!netif_running(dev)) + goto out_attach; + if ((retval = pci_enable_device(pdev))) { + printk (KERN_ERR "%s: pci_enable_device failed in resume\n", + dev->name); + goto out; } + de_init_hw(de); +out_attach: + netif_device_attach(dev); out: rtnl_unlock(); return 0; diff -puN drivers/net/tulip/tulip_core.c~tulip-handle-pci_enable_device-errors-in-resume drivers/net/tulip/tulip_core.c --- a/drivers/net/tulip/tulip_core.c~tulip-handle-pci_enable_device-errors-in-resume +++ a/drivers/net/tulip/tulip_core.c @@ -1769,7 +1769,10 @@ static int tulip_resume(struct pci_dev * pci_set_power_state(pdev, PCI_D0); pci_restore_state(pdev); - pci_enable_device(pdev); + if ((retval = pci_enable_device(pdev))) { + printk (KERN_ERR "tulip: pci_enable_device failed in resume\n"); + return retval; + } if ((retval = request_irq(dev->irq, &tulip_interrupt, IRQF_SHARED, dev->name, dev))) { printk (KERN_ERR "tulip: request_irq failed in resume\n"); diff -puN drivers/net/tulip/winbond-840.c~tulip-handle-pci_enable_device-errors-in-resume drivers/net/tulip/winbond-840.c --- a/drivers/net/tulip/winbond-840.c~tulip-handle-pci_enable_device-errors-in-resume +++ a/drivers/net/tulip/winbond-840.c @@ -1626,14 +1626,18 @@ static int w840_resume (struct pci_dev * { struct net_device *dev = pci_get_drvdata (pdev); struct netdev_private *np = netdev_priv(dev); + int retval = 0; rtnl_lock(); if (netif_device_present(dev)) goto out; /* device not suspended */ if (netif_running(dev)) { - pci_enable_device(pdev); - /* pci_power_on(pdev); */ - + if ((retval = pci_enable_device(pdev))) { + printk (KERN_ERR + "%s: pci_enable_device failed in resume\n", + dev->name); + goto out; + } spin_lock_irq(&np->lock); iowrite32(1, np->base_addr+PCIBusCfg); ioread32(np->base_addr+PCIBusCfg); @@ -1651,7 +1655,7 @@ static int w840_resume (struct pci_dev * } out: rtnl_unlock(); - return 0; + return retval; } #endif _ Patches currently in -mm which might be from val_henson@xxxxxxxxxxxxxxx are git-netdev-all.patch tulip-update-tulip-version.patch tulip-update-winbond840c-version.patch tulip-fix-shutdown-dma-irq-race.patch tulip-fix-for-64-bit-mips.patch tulip-natsemi-dp83840a-phy-fix.patch eisa-bus-modalias-attributes-support-1.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html