summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r--sys/arch/amd64/include/pci_machdep.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/arch/amd64/include/pci_machdep.h b/sys/arch/amd64/include/pci_machdep.h
index e3cd9f94c61..bc4f75c3ca9 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.4 2005/10/05 21:48:34 tdeval Exp $ */
+/* $OpenBSD: pci_machdep.h,v 1.5 2008/11/26 12:27:31 kettenis Exp $ */
/* $NetBSD: pci_machdep.h,v 1.1 2003/02/26 21:26:11 fvdl Exp $ */
/*
@@ -62,9 +62,13 @@ extern struct x86_bus_dma_tag pci_bus_dma_tag;
*/
typedef void *pci_chipset_tag_t;
typedef union x86_pci_tag_u pcitag_t;
-typedef int pci_intr_handle_t;
-#define pci_intr_line(ih) ((ih) & 0xff)
+typedef struct {
+ pcitag_t tag;
+ int line, pin;
+} pci_intr_handle_t;
+
+#define pci_intr_line(ih) ((ih.line) & 0xff)
/*
* i386-specific PCI variables and functions.