Merge to Fedora kernel-2.6.18-1.2224_FC5 patched with stable patch-2.6.18.1-vs2.0...
[linux-2.6.git] / drivers / scsi / dmx3191d.c
index 1d22424..879a266 100644 (file)
@@ -61,8 +61,6 @@ static struct scsi_host_template dmx3191d_driver_template = {
        .queuecommand           = NCR5380_queue_command,
        .eh_abort_handler       = NCR5380_abort,
        .eh_bus_reset_handler   = NCR5380_bus_reset,
-       .eh_device_reset_handler= NCR5380_device_reset,
-       .eh_host_reset_handler  = NCR5380_host_reset,
        .can_queue              = 32,
        .this_id                = 7,
        .sg_tablesize           = SG_ALL,
@@ -96,7 +94,7 @@ static int __devinit dmx3191d_probe_one(struct pci_dev *pdev,
 
        NCR5380_init(shost, FLAG_NO_PSEUDO_DMA | FLAG_DTC3181E);
 
-       if (request_irq(pdev->irq, NCR5380_intr, SA_SHIRQ,
+       if (request_irq(pdev->irq, NCR5380_intr, IRQF_SHARED,
                                DMX3191D_DRIVER_NAME, shost)) {
                /*
                 * Steam powered scsi controllers run without an IRQ anyway
@@ -118,7 +116,7 @@ static int __devinit dmx3191d_probe_one(struct pci_dev *pdev,
  out_free_irq:
        free_irq(shost->irq, shost);
  out_release_region:
-       release_region(shost->io_port, DMX3191D_REGION_LEN);
+       release_region(io, DMX3191D_REGION_LEN);
  out_disable_device:
        pci_disable_device(pdev);
  out: