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);
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);
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);