Skip to content

Commit

Permalink
OS-7119 adjust pci slots to support windows
Browse files Browse the repository at this point in the history
Reviewed by: Jorge Schrauwen <jorge@blackdot.be>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
  • Loading branch information
Mike Gerdts committed Aug 29, 2018
1 parent 8e7167a commit 6ee3a34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions usr/src/lib/brand/bhyve/zone/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6ee3a34

Please sign in to comment.