mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 18:27:22 +00:00
acpi_hpet: Make use of enum for vm_guest to improve readability
No functional change intended. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D44402
This commit is contained in:
parent
8a56ef8d75
commit
579cb41b13
|
@ -643,7 +643,7 @@ hpet_attach(device_t dev)
|
|||
* The only way to use HPET there is to specify IRQs manually
|
||||
* and/or use legacy_route. Legacy_route mode works on both.
|
||||
*/
|
||||
if (vm_guest)
|
||||
if (vm_guest != VM_GUEST_NO)
|
||||
sc->allowed_irqs = 0x00000000;
|
||||
/* Let user override. */
|
||||
resource_int_value(device_get_name(dev), device_get_unit(dev),
|
||||
|
|
Loading…
Reference in a new issue