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_vme.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_vme.c')
-rw-r--r-- | drivers/scsi/sun3_scsi_vme.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/sun3_scsi_vme.c b/drivers/scsi/sun3_scsi_vme.c index f5742b84b27a..e8faab16567b 100644 --- a/drivers/scsi/sun3_scsi_vme.c +++ b/drivers/scsi/sun3_scsi_vme.c | |||
@@ -67,7 +67,7 @@ extern int sun3_map_test(unsigned long, char *); | |||
67 | #define ENABLE_IRQ() | 67 | #define ENABLE_IRQ() |
68 | 68 | ||
69 | 69 | ||
70 | static irqreturn_t scsi_sun3_intr(int irq, void *dummy, struct pt_regs *fp); | 70 | static irqreturn_t scsi_sun3_intr(int irq, void *dummy); |
71 | static inline unsigned char sun3scsi_read(int reg); | 71 | static inline unsigned char sun3scsi_read(int reg); |
72 | static inline void sun3scsi_write(int reg, int value); | 72 | static inline void sun3scsi_write(int reg, int value); |
73 | 73 | ||
@@ -340,7 +340,7 @@ static const char * sun3scsi_info (struct Scsi_Host *spnt) { | |||
340 | // safe bits for the CSR | 340 | // safe bits for the CSR |
341 | #define CSR_GOOD 0x060f | 341 | #define CSR_GOOD 0x060f |
342 | 342 | ||
343 | static irqreturn_t scsi_sun3_intr(int irq, void *dummy, struct pt_regs *fp) | 343 | static irqreturn_t scsi_sun3_intr(int irq, void *dummy) |
344 | { | 344 | { |
345 | unsigned short csr = dregs->csr; | 345 | unsigned short csr = dregs->csr; |
346 | int handled = 0; | 346 | int handled = 0; |
@@ -371,7 +371,7 @@ static irqreturn_t scsi_sun3_intr(int irq, void *dummy, struct pt_regs *fp) | |||
371 | } | 371 | } |
372 | 372 | ||
373 | if(csr & (CSR_SDB_INT | CSR_DMA_INT)) { | 373 | if(csr & (CSR_SDB_INT | CSR_DMA_INT)) { |
374 | NCR5380_intr(irq, dummy, fp); | 374 | NCR5380_intr(irq, dummy); |
375 | handled = 1; | 375 | handled = 1; |
376 | } | 376 | } |
377 | 377 | ||