diff options
Diffstat (limited to 'sys/arch/amd64/include/pci_machdep.h')
-rw-r--r-- | sys/arch/amd64/include/pci_machdep.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/arch/amd64/include/pci_machdep.h b/sys/arch/amd64/include/pci_machdep.h index 60c95d80b23..cfd04020f47 100644 --- a/sys/arch/amd64/include/pci_machdep.h +++ b/sys/arch/amd64/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_machdep.h,v 1.6 2008/12/03 15:46:06 oga Exp $ */ +/* $OpenBSD: pci_machdep.h,v 1.7 2008/12/06 04:31:24 tedu Exp $ */ /* $NetBSD: pci_machdep.h,v 1.1 2003/02/26 21:26:11 fvdl Exp $ */ /* @@ -93,8 +93,13 @@ void pci_conf_write(pci_chipset_tag_t, pcitag_t, int, pcireg_t); int pci_intr_map(struct pci_attach_args *, pci_intr_handle_t *); const char *pci_intr_string(pci_chipset_tag_t, pci_intr_handle_t); -void *pci_intr_establish(pci_chipset_tag_t, pci_intr_handle_t, - int, int (*)(void *), void *, char *); + +void *pci_intr_establish_flags(pci_chipset_tag_t, pci_intr_handle_t, + int, int (*)(void *), void *, char *, int); +#define pci_intr_establish(t,h,l,f,a,w) \ + pci_intr_establish_flags(t,h,l,f,a,w,0) +#define pci_intr_establish_mpsafe(t,h,l,f,a,w) \ + pci_intr_establish_flags(t,h,l,f,a,w,INTR_ESTABLISH_MPSAFE) void pci_intr_disestablish(pci_chipset_tag_t, void *); void pci_decompose_tag(pci_chipset_tag_t, pcitag_t, int *, int *, int *); |