Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 0bb994e in mainline


Ignore:
Timestamp:
2020-05-10T18:45:27Z (2 weeks ago)
Author:
Colin Parker <cvparker@…>
Parents:
dd90608
Message:

Mask the ICR register in the interrupt claim pseudo-code to prevent
false interrupt claims when masked-out ICR causes are true.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/nic/e1k/e1k.c

    rdd90608 r0bb994e  
    256256        },
    257257        {
     258                .cmd = CMD_AND,
     259                .value = ICR_RXT0,
     260                .srcarg = 2,
     261                .dstarg = 1
     262        },
     263        {
    258264                .cmd = CMD_PREDICATE,
    259265                .value = 2,
    260                 .srcarg = 2
     266                .srcarg = 1
    261267        },
    262268        {
     
    12741280        e1000_irq_code.ranges[0].base = (uintptr_t) e1000->reg_base_phys;
    12751281        e1000_irq_code.cmds[0].addr = e1000->reg_base_phys + E1000_ICR;
    1276         e1000_irq_code.cmds[2].addr = e1000->reg_base_phys + E1000_IMC;
     1282        e1000_irq_code.cmds[3].addr = e1000->reg_base_phys + E1000_IMC;
    12771283
    12781284        errno_t rc = register_interrupt_handler(nic_get_ddf_dev(nic), e1000->irq,
Note: See TracChangeset for help on using the changeset viewer.