summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2000-08-02 02:25:15 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2000-08-02 02:25:15 +0000
commit3f1f3962caf963c9cb1798293236fd92efafc971 (patch)
tree01042bf8ae6d156d181b1d25daee6b2863ce3a4c /sys/dev/pci
parentaf61703382948f936805b11053b3d470450ecfe5 (diff)
import a few useful consts from netbsd; mainly for pcibios thing slip
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pcireg.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/pci/pcireg.h b/sys/dev/pci/pcireg.h
index a42a5f029ca..e2074e06716 100644
--- a/sys/dev/pci/pcireg.h
+++ b/sys/dev/pci/pcireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcireg.h,v 1.12 1999/10/26 17:43:58 downsj Exp $ */
+/* $OpenBSD: pcireg.h,v 1.13 2000/08/02 02:25:14 mickey Exp $ */
/* $NetBSD: pcireg.h,v 1.11 1996/08/10 15:42:33 mycroft Exp $ */
/*
@@ -315,6 +315,8 @@ typedef u_int8_t pci_revision_t;
*/
#define PCI_MAPREG_START 0x10
#define PCI_MAPREG_END 0x28
+#define PCI_MAPREG_PPB_END 0x18
+#define PCI_MAPREG_PCB_END 0x14
#define PCI_MAPREG_TYPE(mr) \
((mr) & PCI_MAPREG_TYPE_MASK)
@@ -396,5 +398,6 @@ typedef u_int8_t pci_intr_line_t;
#define PCI_INTERRUPT_PIN_B 0x02
#define PCI_INTERRUPT_PIN_C 0x03
#define PCI_INTERRUPT_PIN_D 0x04
+#define PCI_INTERRUPT_PIN_MAX 0x04
#endif /* _DEV_PCI_PCIREG_H_ */