diff options
author | Dmitry Fleytman <dmitry@daynix.com> | 2016-09-15 09:14:28 +0300 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2016-09-27 17:54:22 +0800 |
commit | 8b54c6e1872825c76200bfb419dadeb6a84b3845 (patch) | |
tree | a8766e7688300855a2b66b55c8849ff79d27d05e /hw/net | |
parent | 680e60b6ba5a26332d684a60a6d9f39c0a999941 (diff) | |
download | qemu-8b54c6e1872825c76200bfb419dadeb6a84b3845.zip qemu-8b54c6e1872825c76200bfb419dadeb6a84b3845.tar.gz qemu-8b54c6e1872825c76200bfb419dadeb6a84b3845.tar.bz2 |
e1000e: Fix OTHER interrupts processing for MSI-X
Interrupt mask for legacy OTHER causes should
not apply to MSI-X OTHER cause.
Signed-off-by: Dmitry Fleytman <dmitry@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net')
-rw-r--r-- | hw/net/e1000e_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/e1000e_core.c b/hw/net/e1000e_core.c index a5751ac..d26b611 100644 --- a/hw/net/e1000e_core.c +++ b/hw/net/e1000e_core.c @@ -2131,7 +2131,7 @@ e1000e_update_interrupt_state(E1000ECore *core) /* Set ICR[OTHER] for MSI-X */ if (is_msix) { - if (core->mac[ICR] & core->mac[IMS] & E1000_ICR_OTHER_CAUSES) { + if (core->mac[ICR] & E1000_ICR_OTHER_CAUSES) { core->mac[ICR] |= E1000_ICR_OTHER; trace_e1000e_irq_add_msi_other(core->mac[ICR]); } |