From 2fcf79ec8ddacd4aa9f069ef8d7119a2bb078acc Mon Sep 17 00:00:00 2001 From: OBattler Date: Tue, 14 Jan 2020 22:33:13 +0100 Subject: [PATCH] Fixed an if block in the Intel SIO code. --- src/intel_sio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel_sio.c b/src/intel_sio.c index b9e3a07d3..45cdf2975 100644 --- a/src/intel_sio.c +++ b/src/intel_sio.c @@ -123,7 +123,7 @@ sio_write(int func, int addr, uint8_t val, void *priv) if (func > 0) return; - if (addr >= 0x0f && addr < 0x4c) + if (((addr >= 0x0f) && (addr < 0x4c)) && (addr != 0x40)) return; /* The IB (original) variant of the SIO has no PCI IRQ steering. */