diff options
author | Dmitry Fleytman <dmitry@daynix.com> | 2016-09-15 09:14:27 +0300 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2016-09-27 17:54:22 +0800 |
commit | 680e60b6ba5a26332d684a60a6d9f39c0a999941 (patch) | |
tree | 36ec303ba4639271f46263a64dc85785cea1d5b9 /hw | |
parent | 2d803144a637130b1f167b309bc8ac7142f76b26 (diff) |
e1000e: Fix PBACLR implementation
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>
Diffstat (limited to 'hw')
-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 a198a884ed..a5751acd5c 100644 --- 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; } |