diff options
Diffstat (limited to 'sys/arch/alpha/pci/pci_550.c')
-rw-r--r-- | sys/arch/alpha/pci/pci_550.c | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/sys/arch/alpha/pci/pci_550.c b/sys/arch/alpha/pci/pci_550.c index eee5dfc0807..6dfe22aa2db 100644 --- a/sys/arch/alpha/pci/pci_550.c +++ b/sys/arch/alpha/pci/pci_550.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_550.c,v 1.4 2001/06/25 22:02:07 csapuntz Exp $ */ +/* $OpenBSD: pci_550.c,v 1.5 2001/08/17 22:26:58 mickey Exp $ */ /* $NetBSD: pci_550.c,v 1.18 2000/06/29 08:58:48 mrg Exp $ */ /*- @@ -98,6 +98,7 @@ int dec_550_intr_map __P((void *, pcitag_t, int, int, pci_intr_handle_t *)); const char *dec_550_intr_string __P((void *, pci_intr_handle_t)); +int dec_550_intr_line __P((void *, pci_intr_handle_t)); const struct evcnt *dec_550_intr_evcnt __P((void *, pci_intr_handle_t)); void *dec_550_intr_establish __P((void *, pci_intr_handle_t, int, int (*func)(void *), void *, char *)); @@ -146,6 +147,7 @@ pci_550_pickintr(ccp) pc->pc_intr_v = ccp; pc->pc_intr_map = dec_550_intr_map; pc->pc_intr_string = dec_550_intr_string; + pc->pc_intr_line = dec_550_intr_line; #if 0 pc->pc_intr_evcnt = dec_550_intr_evcnt; #endif @@ -289,6 +291,19 @@ dec_550_intr_string(ccv, ih) return (irqstr); } +int +dec_550_intr_line(ccv, ih) + void *ccv; + pci_intr_handle_t ih; +{ +#if NSIO + if (DEC_550_LINE_IS_ISA(ih)) + return (sio_intr_line(NULL /*XXX*/, DEC_550_LINE_ISA_IRQ(ih))); +#endif + + return (ih); +} + #if 0 const struct evcnt * dec_550_intr_evcnt(ccv, ih) |