Add a function to install an interrupt handler for 2nd scsi bus (Q900/950).
Take a guess that it's at via2, bit 0 (where 5380 DRQ is).
This commit is contained in:
parent
35667ae56f
commit
487a6bebfc
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: via.c,v 1.52 1996/10/21 01:59:31 briggs Exp $ */
|
||||
/* $NetBSD: via.c,v 1.53 1996/10/29 05:33:37 briggs Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (C) 1993 Allen K. Briggs, Chris P. Caputo,
|
||||
@ -447,6 +447,20 @@ mac68k_register_scsi_irq(irq_func, client_data)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
mac68k_register_scsi_b_irq(irq_func, client_data)
|
||||
void (*irq_func)(void *);
|
||||
void *client_data;
|
||||
{
|
||||
if (irq_func) {
|
||||
via2itab[0] = irq_func;
|
||||
via2iarg[0] = client_data;
|
||||
} else {
|
||||
via2itab[0] = via2_noint;
|
||||
via2iarg[0] = (void *) 0;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
mac68k_register_via1_t1_irq(irq_func)
|
||||
void (*irq_func)(void *);
|
||||
|
Loading…
Reference in New Issue
Block a user