mirror of https://github.com/xemu-project/xemu.git
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>
This commit is contained in:
parent
2d803144a6
commit
680e60b6ba
|
@ -2347,7 +2347,7 @@ e1000e_set_pbaclr(E1000ECore *core, int index, uint32_t val)
|
||||||
|
|
||||||
core->mac[PBACLR] = val & E1000_PBACLR_VALID_MASK;
|
core->mac[PBACLR] = val & E1000_PBACLR_VALID_MASK;
|
||||||
|
|
||||||
if (msix_enabled(core->owner)) {
|
if (!msix_enabled(core->owner)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue