diff options
Diffstat (limited to 'usr.sbin/vmd/pci.c')
-rw-r--r-- | usr.sbin/vmd/pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/vmd/pci.c b/usr.sbin/vmd/pci.c index e6899273304..41f5878cc8b 100644 --- a/usr.sbin/vmd/pci.c +++ b/usr.sbin/vmd/pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pci.c,v 1.16 2017/03/27 00:28:04 deraadt Exp $ */ +/* $OpenBSD: pci.c,v 1.17 2017/04/21 04:18:47 mlarkin Exp $ */ /* * Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org> @@ -345,7 +345,7 @@ pci_handle_data_reg(struct vm_run_params *vrp) } /* XXX - discard writes to reassign IRQs / pins */ - if (o != 0x3c) + if (o != 0x3c && o != 0x30 && o != 0x38) get_input_data(vei, &pci.pci_devices[d].pd_cfg_space[o / 4]); /* IOBAR registers must have bit 0 set */ |