summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/pci/pci_machdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/alpha/pci/pci_machdep.h')
-rw-r--r--sys/arch/alpha/pci/pci_machdep.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/alpha/pci/pci_machdep.h b/sys/arch/alpha/pci/pci_machdep.h
index a649d5ec0ba..0297018ecb3 100644
--- a/sys/arch/alpha/pci/pci_machdep.h
+++ b/sys/arch/alpha/pci/pci_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_machdep.h,v 1.9 1998/07/01 02:47:37 angelos Exp $ */
+/* $OpenBSD: pci_machdep.h,v 1.10 2001/06/25 21:49:43 csapuntz Exp $ */
/* $NetBSD: pci_machdep.h,v 1.6 1996/11/19 04:49:21 cgd Exp $ */
/*
@@ -71,6 +71,8 @@ struct alpha_pci_chipset {
void *(*pc_pciide_compat_intr_establish) __P((void *,
struct device *, struct pci_attach_args *, int,
int (*)(void *), void *));
+ void (*pc_pciide_compat_intr_disestablish) __P((void *,
+ pci_chipset_tag_t pc, void *));
};
/*
@@ -110,6 +112,10 @@ void pci_display_console __P((bus_space_tag_t, bus_space_tag_t,
(*(c)->pc_pciide_compat_intr_establish)((c)->pc_conf_v, (d), (p), \
(ch), (f), (a)))
+#define alpha_pciide_compat_intr_disestablish(c, p, cookie) \
+ do { ((c)->pc_pciide_compat_intr_disestablish)((c)->pc_conf_v, (p), \
+ (cookie)); } while (0)
+
#ifdef _KERNEL
void pci_display_console
__P((bus_space_tag_t, bus_space_tag_t, pci_chipset_tag_t, int, int, int));