A fix to acpi.c.

This commit is contained in:
OBattler
2021-10-19 18:23:48 +02:00
parent 312ce110af
commit 3ba9c8c9c6

View File

@@ -90,6 +90,8 @@ acpi_update_irq(acpi_t *dev)
void
acpi_raise_smi(void *priv, int do_smi)
{
acpi_t *dev = (acpi_t *) priv;
if (dev->regs.glbctl & 0x01) {
if ((dev->vendor == VEN_VIA) || (dev->vendor == VEN_VIA_596B)) {
if ((!dev->regs.smi_lock || !dev->regs.smi_active)) {