From 5234c6decb595f45cff700cf2331464882dc8009 Mon Sep 17 00:00:00 2001 From: Mike Larkin Date: Wed, 9 Aug 2017 21:42:45 +0000 Subject: vmd: allow guest PCI interrupt line reassignment. I also added a couple config space register names to pcireg.h to try and reduce the use of magic numbers in vmd/pci.c ok pd@ --- sys/dev/pci/pcireg.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/dev/pci') diff --git a/sys/dev/pci/pcireg.h b/sys/dev/pci/pcireg.h index 71fe94c9cf4..feaa9bc6f47 100644 --- a/sys/dev/pci/pcireg.h +++ b/sys/dev/pci/pcireg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pcireg.h,v 1.54 2017/06/12 03:00:26 kevlo Exp $ */ +/* $OpenBSD: pcireg.h,v 1.55 2017/08/09 21:42:44 mlarkin Exp $ */ /* $NetBSD: pcireg.h,v 1.26 2000/05/10 16:58:42 thorpej Exp $ */ /* @@ -338,6 +338,7 @@ typedef u_int8_t pci_revision_t; #define PCI_CARDBUSCIS 0x28 #define PCI_SUBVEND_0 0x2c #define PCI_SUBDEV_0 0x2e +#define PCI_EXROMADDR_0 0x30 #define PCI_INTLINE 0x3c #define PCI_INTPIN 0x3d #define PCI_MINGNT 0x3e @@ -369,6 +370,7 @@ typedef u_int8_t pci_revision_t; #define PCI_SUBVEND_1 0x34 #define PCI_SUBDEV_1 0x36 +#define PCI_EXROMADDR_1 0x38 /* config registers for header type 2 devices */ -- cgit v1.2.3