]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/block/cciss_scsi.c
[TG3]: Flush tg3_reset_task()
[linux-2.6-omap-h63xx.git] / drivers / block / cciss_scsi.c
index 3226aa11c6ef21fc615a813121ea2b6b4eb5d7b1..9e35de05d5c551b91aee24f908804a7da40a80f2 100644 (file)
@@ -255,7 +255,7 @@ scsi_cmd_stack_free(int ctlr)
 #define DEVICETYPE(n) (n<0 || n>MAX_SCSI_DEVICE_CODE) ? \
        "Unknown" : scsi_device_types[n]
 
-#if 1
+#if 0
 static int xmargin=8;
 static int amargin=60;
 
@@ -714,7 +714,7 @@ cciss_scsi_detect(int ctlr)
        ((struct cciss_scsi_adapter_data_t *) 
                hba[ctlr]->scsi_ctlr)->scsi_host = (void *) sh;
        sh->hostdata[0] = (unsigned long) hba[ctlr];
-       sh->irq = hba[ctlr]->intr;
+       sh->irq = hba[ctlr]->intr[SIMPLE_MODE_INT];
        sh->unique_id = sh->irq;
        error = scsi_add_host(sh, &hba[ctlr]->pdev->dev);
        if (error)