qemu/hw/ide/sii3112.c
/* the PCI irq level is the logical OR of the two channels */
the PCI irq level is the logical OR of the two channels
the PCI irq level is the logical OR of the two channels
static void sii3112_update_irq(SiI3112PCIState *s)
{
    int i, set = 0;
    for (i = 0; i < 2; i++) {
        set |= s->regs[i].confstat & (1UL << 11);
    }
    pci_set_irq(PCI_DEVICE(s), (set ? 1 : 0));
}
static void sii3112_update_irq ( SiI3112PCIState * s ) { int i , set = 0 ; for ( i = 0 ; i < 2 ; i ++ ) { set |= s -> regs [ i ] . confstat & ( 1UL << 11 ) ; } pci_set_irq ( PCI_DEVICE ( s ) , ( set ? 1 : 0 ) ) ; }
the PCI irq level is the logical OR of the two channels
the PCI irq level is the logical OR of the two channels