summaryrefslogtreecommitdiff
path: root/sys/arch/i386/pci/pci_machdep.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2000-08-08 19:12:49 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2000-08-08 19:12:49 +0000
commit3bcae5645d7e92bd659dc69f655800a6b2a3c2bd (patch)
treeac4922ef747fad22861ca84e1d7981d5dbca4fc3 /sys/arch/i386/pci/pci_machdep.h
parent8ff180700f66e734dd1931b3ee8172a664df89f3 (diff)
sync w/ netbsd almost -current code (;
fixes quite a few problems. adds new option PCIBIOS_ADDR_FIXUP. numerous extra fixes by me, also pointed out by other ppl, such as avoid panics, ifdef on pciverbose, not diagnostic, some other smaller knits; some have been forwarded back to netbsd developers, some will go soon too.
Diffstat (limited to 'sys/arch/i386/pci/pci_machdep.h')
-rw-r--r--sys/arch/i386/pci/pci_machdep.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/arch/i386/pci/pci_machdep.h b/sys/arch/i386/pci/pci_machdep.h
index 35d75a09793..166c959cb40 100644
--- a/sys/arch/i386/pci/pci_machdep.h
+++ b/sys/arch/i386/pci/pci_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_machdep.h,v 1.5 1998/01/20 18:40:23 niklas Exp $ */
+/* $OpenBSD: pci_machdep.h,v 1.6 2000/08/08 19:12:48 mickey Exp $ */
/* $NetBSD: pci_machdep.h,v 1.7 1997/06/06 23:29:18 thorpej Exp $ */
/*
@@ -97,3 +97,10 @@ void pci_decompose_tag __P((pci_chipset_tag_t, pcitag_t,
void *pci_map_int __P((pcitag_t, int, int (*)(void *), void *));
int pci_map_io __P((pcitag_t, int, int *));
int pci_map_mem __P((pcitag_t, int, vm_offset_t *, vm_offset_t *));
+
+/*
+ * Section 6.2.4, `Miscellaneous Functions' of the PIC Specification,
+ * says that 255 means `unknown' or `no connection' to the interrupt
+ * controller on a PC.
+ */
+#define I386_PCI_INTERRUPT_LINE_NO_CONNECTION 0xff