mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
net: cadence_gem: Update the reset value for interrupt mask register
Mask all interrupt on reset. Signed-off-by: Sai Pavan Boddu <sai.pavan.boddu@xilinx.com> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
This commit is contained in:
parent
d48cb519b3
commit
15baf5e237
1 changed files with 1 additions and 0 deletions
|
@ -1375,6 +1375,7 @@ static void gem_reset(DeviceState *d)
|
|||
s->regs[GEM_DESCONF2] = 0x2ab10000 | s->jumbo_max_len;
|
||||
s->regs[GEM_DESCONF5] = 0x002f2045;
|
||||
s->regs[GEM_DESCONF6] = GEM_DESCONF6_64B_MASK;
|
||||
s->regs[GEM_INT_Q1_MASK] = 0x00000CE6;
|
||||
s->regs[GEM_JUMBO_MAX_LEN] = s->jumbo_max_len;
|
||||
|
||||
if (s->num_priority_queues > 1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue