projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d80314
)
e1000e: Fix PBACLR implementation
author
Dmitry Fleytman
<dmitry@daynix.com>
Thu, 15 Sep 2016 06:14:27 +0000
(09:14 +0300)
committer
Jason Wang
<jasowang@redhat.com>
Tue, 27 Sep 2016 09:54:22 +0000
(17:54 +0800)
This patch fixes incorrect check for
interrypt type being used.
PBSCLR register is valid for MSI-X only.
See spec. 10.2.3.13 MSI—X PBA Clear
Signed-off-by: Dmitry Fleytman <dmitry@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/e1000e_core.c
patch
|
blob
|
history
diff --git
a/hw/net/e1000e_core.c
b/hw/net/e1000e_core.c
index a198a884ed90f58e181e57fe3f7ae8652b5f8073..a5751acd5cb0148854ca374b780aa3ab4e87a09e 100644
(file)
--- a/
hw/net/e1000e_core.c
+++ b/
hw/net/e1000e_core.c
@@
-2347,7
+2347,7
@@
e1000e_set_pbaclr(E1000ECore *core, int index, uint32_t val)
core->mac[PBACLR] = val & E1000_PBACLR_VALID_MASK;
- if (msix_enabled(core->owner)) {
+ if (
!
msix_enabled(core->owner)) {
return;
}