diff options
Diffstat (limited to 'drivers/scsi/sun3_scsi.c')
-rw-r--r-- | drivers/scsi/sun3_scsi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/sun3_scsi.c b/drivers/scsi/sun3_scsi.c index 26b95dcb5e48..3e6386252953 100644 --- a/drivers/scsi/sun3_scsi.c +++ b/drivers/scsi/sun3_scsi.c | |||
@@ -278,7 +278,7 @@ static int __init sun3scsi_detect(struct scsi_host_template *tpnt) | |||
278 | #ifndef REAL_DMA | 278 | #ifndef REAL_DMA |
279 | printk("scsi%d: IRQ%d not free, interrupts disabled\n", | 279 | printk("scsi%d: IRQ%d not free, interrupts disabled\n", |
280 | instance->host_no, instance->irq); | 280 | instance->host_no, instance->irq); |
281 | instance->irq = SCSI_IRQ_NONE; | 281 | instance->irq = NO_IRQ; |
282 | #else | 282 | #else |
283 | printk("scsi%d: IRQ%d not free, bailing out\n", | 283 | printk("scsi%d: IRQ%d not free, bailing out\n", |
284 | instance->host_no, instance->irq); | 284 | instance->host_no, instance->irq); |
@@ -288,7 +288,7 @@ static int __init sun3scsi_detect(struct scsi_host_template *tpnt) | |||
288 | 288 | ||
289 | pr_info("scsi%d: %s at port %lX irq", instance->host_no, | 289 | pr_info("scsi%d: %s at port %lX irq", instance->host_no, |
290 | tpnt->proc_name, instance->io_port); | 290 | tpnt->proc_name, instance->io_port); |
291 | if (instance->irq == SCSI_IRQ_NONE) | 291 | if (instance->irq == NO_IRQ) |
292 | printk ("s disabled"); | 292 | printk ("s disabled"); |
293 | else | 293 | else |
294 | printk (" %d", instance->irq); | 294 | printk (" %d", instance->irq); |
@@ -325,7 +325,7 @@ static int __init sun3scsi_detect(struct scsi_host_template *tpnt) | |||
325 | 325 | ||
326 | static int sun3scsi_release(struct Scsi_Host *shpnt) | 326 | static int sun3scsi_release(struct Scsi_Host *shpnt) |
327 | { | 327 | { |
328 | if (shpnt->irq != SCSI_IRQ_NONE) | 328 | if (shpnt->irq != NO_IRQ) |
329 | free_irq(shpnt->irq, shpnt); | 329 | free_irq(shpnt->irq, shpnt); |
330 | 330 | ||
331 | iounmap((void *)sun3_scsi_regp); | 331 | iounmap((void *)sun3_scsi_regp); |