]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/net: e1000e: Clear ICR on read when using non MSI-X interrupts
authorNick Hudson <skrll@netbsd.org>
Sat, 12 Feb 2022 09:44:17 +0000 (09:44 +0000)
committerJason Wang <jasowang@redhat.com>
Mon, 14 Feb 2022 03:50:44 +0000 (11:50 +0800)
commit870374214e4cc122f086f55732f1b17ec320132e
tree1a42e7f7654337dcc5e1c26f46bb850444f2376e
parent611382968069f54914e3cfff30f2a3b92c6219cd
hw/net: e1000e: Clear ICR on read when using non MSI-X interrupts

In section 7.4.3 of the 82574 datasheet it states that

    "In systems that do not support MSI-X, reading the ICR
     register clears it's bits..."

Some OSes rely on this.

Signed-off-by: Nick Hudson <skrll@netbsd.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/e1000e_core.c
hw/net/trace-events