summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorMike Gerdts <mike.gerdts@joyent.com>2018-08-09 06:29:27 +0000
committerMike Gerdts <mike.gerdts@joyent.com>2018-08-29 22:40:17 +0000
commit6ee3a34140b2fc1881eeccb9a5037957b69e14c0 (patch)
tree63b8c924e655436da3dc817ac03f3c0a3befeefc /usr/src
parent8e7167ad0ea919e3af46eebdd1ccdaba3dd93acc (diff)
downloadillumos-joyent-release-20180830.tar.gz
OS-7119 adjust pci slots to support windowsrelease-20180830
Reviewed by: Jorge Schrauwen <jorge@blackdot.be> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Approved by: Patrick Mooney <patrick.mooney@joyent.com>
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/lib/brand/bhyve/zone/boot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/lib/brand/bhyve/zone/boot.c b/usr/src/lib/brand/bhyve/zone/boot.c
index ea0f8c15a6..1adea7b26f 100644
--- a/usr/src/lib/brand/bhyve/zone/boot.c
+++ b/usr/src/lib/brand/bhyve/zone/boot.c
@@ -43,12 +43,12 @@
typedef enum {
PCI_SLOT_HOSTBRIDGE = 0, /* Not used here, but reserved */
- PCI_SLOT_LPC,
- PCI_SLOT_CD,
+ PCI_SLOT_CD = 3, /* Windows ahci allows slots 3 - 6 */
PCI_SLOT_BOOT_DISK,
PCI_SLOT_OTHER_DISKS,
PCI_SLOT_NICS,
PCI_SLOT_FBUF = 30,
+ PCI_SLOT_LPC = 31, /* Windows requires lpc in slot 31 */
} pci_slot_t;
static boolean_t debug;