bvme6000_scsi.c (7a192ec334cab9fafe3a8665a65af398b0e24730) | bvme6000_scsi.c (e5779a583ddb9916b37cfbb916dc53ec2eaf0b9b) |
---|---|
1/* 2 * Detection routine for the NCR53c710 based BVME6000 SCSI Controllers for Linux. 3 * 4 * Based on work by Alan Hourihane and Kars de Jong 5 * 6 * Rewritten to use 53c700.c by Richard Hirst <richard@sleepie.demon.co.uk> 7 */ 8 --- 44 unchanged lines hidden (view full) --- 53 hostdata->base = (void __iomem *)BVME_NCR53C710_BASE; 54 hostdata->clock = 40; /* XXX - depends on the CPU clock! */ 55 hostdata->chip710 = 1; 56 hostdata->dmode_extra = DMODE_FC2; 57 hostdata->dcntl_extra = EA_710; 58 hostdata->ctest7_extra = CTEST7_TT1; 59 60 /* and register the chip */ | 1/* 2 * Detection routine for the NCR53c710 based BVME6000 SCSI Controllers for Linux. 3 * 4 * Based on work by Alan Hourihane and Kars de Jong 5 * 6 * Rewritten to use 53c700.c by Richard Hirst <richard@sleepie.demon.co.uk> 7 */ 8 --- 44 unchanged lines hidden (view full) --- 53 hostdata->base = (void __iomem *)BVME_NCR53C710_BASE; 54 hostdata->clock = 40; /* XXX - depends on the CPU clock! */ 55 hostdata->chip710 = 1; 56 hostdata->dmode_extra = DMODE_FC2; 57 hostdata->dcntl_extra = EA_710; 58 hostdata->ctest7_extra = CTEST7_TT1; 59 60 /* and register the chip */ |
61 host = NCR_700_detect(&bvme6000_scsi_driver_template, hostdata, dev); | 61 host = NCR_700_detect(&bvme6000_scsi_driver_template, hostdata, 62 &dev->dev); |
62 if (!host) { 63 printk(KERN_ERR "bvme6000-scsi: No host detected; " 64 "board configuration problem?\n"); 65 goto out_free; 66 } 67 host->base = BVME_NCR53C710_BASE; 68 host->this_id = 7; 69 host->irq = BVME_IRQ_SCSI; --- 68 unchanged lines hidden --- | 63 if (!host) { 64 printk(KERN_ERR "bvme6000-scsi: No host detected; " 65 "board configuration problem?\n"); 66 goto out_free; 67 } 68 host->base = BVME_NCR53C710_BASE; 69 host->this_id = 7; 70 host->irq = BVME_IRQ_SCSI; --- 68 unchanged lines hidden --- |