This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / net / wireless / prism54 / islpci_hotplug.c
index 75ebf8a..11b315b 100644 (file)
@@ -107,6 +107,9 @@ prism54_probe(struct pci_dev *pdev, const struct pci_device_id *id)
        islpci_private *priv;
        int rvalue;
 
+       /* TRACE(DRV_NAME); */
+       
+       
        /* Enable the pci device */
        if (pci_enable_device(pdev)) {
                printk(KERN_ERR "%s: pci_enable_device() failed.\n", DRV_NAME);
@@ -270,7 +273,7 @@ prism54_suspend(struct pci_dev *pdev, u32 state)
        printk(KERN_NOTICE "%s: got suspend request (state %d)\n",
               ndev->name, state);
 
-       pci_save_state(pdev);
+       pci_save_state(pdev, priv->pci_state);
 
        /* tell the device not to trigger interrupts for now... */
        isl38xx_disable_interrupts(priv->device_base);
@@ -294,7 +297,7 @@ prism54_resume(struct pci_dev *pdev)
 
        printk(KERN_NOTICE "%s: got resume request\n", ndev->name);
 
-       pci_restore_state(pdev);
+       pci_restore_state(pdev, priv->pci_state);
 
        /* alright let's go into the PREBOOT state */
        islpci_reset(priv, 1);