summaryrefslogtreecommitdiff
path: root/usr.sbin/vmd/pci.h
diff options
context:
space:
mode:
authorMike Larkin <mlarkin@cvs.openbsd.org>2017-07-06 06:19:16 +0000
committerMike Larkin <mlarkin@cvs.openbsd.org>2017-07-06 06:19:16 +0000
commitdb17a1804aa783d420fd2752691ac51d51ece6ac (patch)
treee49ba0726456a1ef713f5f8b88f5dd2f759ed26c /usr.sbin/vmd/pci.h
parent475779e33f439bd0ad6eaab3282fde42d9808f9e (diff)
vmd: increase the max number of disks from 2 to 4. Requires kernel rebuild
as a struct passed to vmm has changed size. ok deraadt, pd
Diffstat (limited to 'usr.sbin/vmd/pci.h')
-rw-r--r--usr.sbin/vmd/pci.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/vmd/pci.h b/usr.sbin/vmd/pci.h
index 360b5012942..3c4afd46ec5 100644
--- a/usr.sbin/vmd/pci.h
+++ b/usr.sbin/vmd/pci.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci.h,v 1.5 2017/03/25 15:47:37 mlarkin Exp $ */
+/* $OpenBSD: pci.h,v 1.6 2017/07/06 06:19:15 mlarkin Exp $ */
/*
* Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org>
@@ -25,7 +25,7 @@
#define PCI_BAR_TYPE_IO 0x0
#define PCI_BAR_TYPE_MMIO 0x1
-#define PCI_MAX_PIC_IRQS 8
+#define PCI_MAX_PIC_IRQS 10
typedef int (*pci_cs_fn_t)(int dir, uint8_t reg, uint32_t *data);
typedef int (*pci_iobar_fn_t)(int dir, uint16_t reg, uint32_t *data, uint8_t *,