mvme16x_scsi.c (7a192ec334cab9fafe3a8665a65af398b0e24730) | mvme16x_scsi.c (e5779a583ddb9916b37cfbb916dc53ec2eaf0b9b) |
---|---|
1/* 2 * Detection routine for the NCR53c710 based MVME16x SCSI Controllers for Linux. 3 * 4 * Based on work by Alan Hourihane 5 * 6 * Rewritten to use 53c700.c by Kars de Jong <jongk@linux-m68k.org> 7 */ 8 --- 50 unchanged lines hidden (view full) --- 59 hostdata->base = (void __iomem *)0xfff47000UL; 60 hostdata->clock = 50; /* XXX - depends on the CPU clock! */ 61 hostdata->chip710 = 1; 62 hostdata->dmode_extra = DMODE_FC2; 63 hostdata->dcntl_extra = EA_710; 64 hostdata->ctest7_extra = CTEST7_TT1; 65 66 /* and register the chip */ | 1/* 2 * Detection routine for the NCR53c710 based MVME16x SCSI Controllers for Linux. 3 * 4 * Based on work by Alan Hourihane 5 * 6 * Rewritten to use 53c700.c by Kars de Jong <jongk@linux-m68k.org> 7 */ 8 --- 50 unchanged lines hidden (view full) --- 59 hostdata->base = (void __iomem *)0xfff47000UL; 60 hostdata->clock = 50; /* XXX - depends on the CPU clock! */ 61 hostdata->chip710 = 1; 62 hostdata->dmode_extra = DMODE_FC2; 63 hostdata->dcntl_extra = EA_710; 64 hostdata->ctest7_extra = CTEST7_TT1; 65 66 /* and register the chip */ |
67 host = NCR_700_detect(&mvme16x_scsi_driver_template, hostdata, dev); | 67 host = NCR_700_detect(&mvme16x_scsi_driver_template, hostdata, 68 &dev->dev); |
68 if (!host) { 69 printk(KERN_ERR "mvme16x-scsi: No host detected; " 70 "board configuration problem?\n"); 71 goto out_free; 72 } 73 host->this_id = 7; 74 host->base = 0xfff47000UL; 75 host->irq = MVME16x_IRQ_SCSI; --- 85 unchanged lines hidden --- | 69 if (!host) { 70 printk(KERN_ERR "mvme16x-scsi: No host detected; " 71 "board configuration problem?\n"); 72 goto out_free; 73 } 74 host->this_id = 7; 75 host->base = 0xfff47000UL; 76 host->irq = MVME16x_IRQ_SCSI; --- 85 unchanged lines hidden --- |