diff options
author | ShengYi Hung <aokblast@FreeBSD.org> | 2025-09-15 14:07:33 -0400 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2025-10-05 09:46:06 +0300 |
commit | 5240186e82b9d0f8e81f1e8f74348a4fa089998a (patch) | |
tree | b6346a2f1b5ce3bae95cf82df68f2d140b78444d /scripts/lib/kdoc/kdoc_output.py | |
parent | 1c0f5142d921525f1023152eac63d2ff3d33e3b2 (diff) | |
download | qemu-5240186e82b9d0f8e81f1e8f74348a4fa089998a.zip qemu-5240186e82b9d0f8e81f1e8f74348a4fa089998a.tar.gz qemu-5240186e82b9d0f8e81f1e8f74348a4fa089998a.tar.bz2 |
wdt_i6300esb: fix incorrect mask for interrupt type
According to Intel 6300ESB Controller Hub Datasheet 14.4.15, the interrupt
type mask should be 0x03 (0b11) instead of 0x11. In the original
implementation, when we want to disable all interrupt by setting the
value to 0x03, we will get 0x01 which is incorrect when we want to read
the value again. However, there is no problem when considering the correct
behavior since 0x01 is reserved and unused just like 0x03. This patch is
just a fix to return the register value.
Signed-off-by: ShengYi Hung <aokblast@FreeBSD.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions