diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
commit | 44aefd2706bb6f5b65ba2c38cd89e7609e2b43d3 (patch) | |
tree | 93824f573767da634fbc82c388b6d33cc454212b /drivers/scsi/sun3_scsi.c | |
parent | c1a26e7d40fb814716950122353a1a556844286b (diff) | |
parent | 7d12e780e003f93433d49ce78cfedf4b4c52adc5 (diff) |
Merge git://git.infradead.org/~dhowells/irq-2.6
* git://git.infradead.org/~dhowells/irq-2.6:
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
IRQ: Typedef the IRQ handler function type
IRQ: Typedef the IRQ flow handler function type
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 44a99aeb8180..e625b4c5833a 100644 --- a/drivers/scsi/sun3_scsi.c +++ b/drivers/scsi/sun3_scsi.c | |||
@@ -102,7 +102,7 @@ static void NCR5380_print(struct Scsi_Host *instance); | |||
102 | #define ENABLE_IRQ() enable_irq( IRQ_SUN3_SCSI ); | 102 | #define ENABLE_IRQ() enable_irq( IRQ_SUN3_SCSI ); |
103 | 103 | ||
104 | 104 | ||
105 | static irqreturn_t scsi_sun3_intr(int irq, void *dummy, struct pt_regs *fp); | 105 | static irqreturn_t scsi_sun3_intr(int irq, void *dummy); |
106 | static inline unsigned char sun3scsi_read(int reg); | 106 | static inline unsigned char sun3scsi_read(int reg); |
107 | static inline void sun3scsi_write(int reg, int value); | 107 | static inline void sun3scsi_write(int reg, int value); |
108 | 108 | ||
@@ -371,7 +371,7 @@ const char * sun3scsi_info (struct Scsi_Host *spnt) { | |||
371 | // safe bits for the CSR | 371 | // safe bits for the CSR |
372 | #define CSR_GOOD 0x060f | 372 | #define CSR_GOOD 0x060f |
373 | 373 | ||
374 | static irqreturn_t scsi_sun3_intr(int irq, void *dummy, struct pt_regs *fp) | 374 | static irqreturn_t scsi_sun3_intr(int irq, void *dummy) |
375 | { | 375 | { |
376 | unsigned short csr = dregs->csr; | 376 | unsigned short csr = dregs->csr; |
377 | int handled = 0; | 377 | int handled = 0; |
@@ -388,7 +388,7 @@ static irqreturn_t scsi_sun3_intr(int irq, void *dummy, struct pt_regs *fp) | |||
388 | } | 388 | } |
389 | 389 | ||
390 | if(csr & (CSR_SDB_INT | CSR_DMA_INT)) { | 390 | if(csr & (CSR_SDB_INT | CSR_DMA_INT)) { |
391 | NCR5380_intr(irq, dummy, fp); | 391 | NCR5380_intr(irq, dummy); |
392 | handled = 1; | 392 | handled = 1; |
393 | } | 393 | } |
394 | 394 | ||