diff options
author | Roman Zippel <zippel@linux-m68k.org> | 2006-06-25 08:47:04 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 13:00:58 -0400 |
commit | 9c5f4afdfbe72d5d1c814ad7286a4524d00c7b96 (patch) | |
tree | 7492a9533010d2016ff90a7372465edebcbb0d20 /drivers/scsi/mac_scsi.c | |
parent | 35353bb8b869f3a0a153d0674cdafbe4f64aaa05 (diff) |
[PATCH] m68k: convert mac irq code
Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/scsi/mac_scsi.c')
-rw-r--r-- | drivers/scsi/mac_scsi.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/scsi/mac_scsi.c b/drivers/scsi/mac_scsi.c index 777f9bcd1179..a942a21dd87e 100644 --- a/drivers/scsi/mac_scsi.c +++ b/drivers/scsi/mac_scsi.c | |||
@@ -65,9 +65,6 @@ | |||
65 | #define RESET_BOOT | 65 | #define RESET_BOOT |
66 | #define DRIVER_SETUP | 66 | #define DRIVER_SETUP |
67 | 67 | ||
68 | #define ENABLE_IRQ() mac_enable_irq( IRQ_MAC_SCSI ); | ||
69 | #define DISABLE_IRQ() mac_disable_irq( IRQ_MAC_SCSI ); | ||
70 | |||
71 | extern void via_scsi_clear(void); | 68 | extern void via_scsi_clear(void); |
72 | 69 | ||
73 | #ifdef RESET_BOOT | 70 | #ifdef RESET_BOOT |
@@ -351,7 +348,7 @@ static void mac_scsi_reset_boot(struct Scsi_Host *instance) | |||
351 | printk(KERN_INFO "Macintosh SCSI: resetting the SCSI bus..." ); | 348 | printk(KERN_INFO "Macintosh SCSI: resetting the SCSI bus..." ); |
352 | 349 | ||
353 | /* switch off SCSI IRQ - catch an interrupt without IRQ bit set else */ | 350 | /* switch off SCSI IRQ - catch an interrupt without IRQ bit set else */ |
354 | mac_disable_irq(IRQ_MAC_SCSI); | 351 | disable_irq(IRQ_MAC_SCSI); |
355 | 352 | ||
356 | /* get in phase */ | 353 | /* get in phase */ |
357 | NCR5380_write( TARGET_COMMAND_REG, | 354 | NCR5380_write( TARGET_COMMAND_REG, |
@@ -369,7 +366,7 @@ static void mac_scsi_reset_boot(struct Scsi_Host *instance) | |||
369 | barrier(); | 366 | barrier(); |
370 | 367 | ||
371 | /* switch on SCSI IRQ again */ | 368 | /* switch on SCSI IRQ again */ |
372 | mac_enable_irq(IRQ_MAC_SCSI); | 369 | enable_irq(IRQ_MAC_SCSI); |
373 | 370 | ||
374 | printk(KERN_INFO " done\n" ); | 371 | printk(KERN_INFO " done\n" ); |
375 | } | 372 | } |