From 3bcae5645d7e92bd659dc69f655800a6b2a3c2bd Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Tue, 8 Aug 2000 19:12:49 +0000 Subject: 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. --- sys/arch/i386/pci/pci_machdep.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'sys/arch/i386/pci/pci_machdep.h') 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 -- cgit v1.2.3