From 73b7cd7be8ce91790736e3235186a0a6b26e9c68 Mon Sep 17 00:00:00 2001 From: OBattler Date: Mon, 7 Aug 2023 03:45:45 +0200 Subject: [PATCH] Some forgotten parentheses in disk/hdc_ide_sff8038i.c. --- src/disk/hdc_ide_sff8038i.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/disk/hdc_ide_sff8038i.c b/src/disk/hdc_ide_sff8038i.c index 90dc016c7..fd6bee29d 100644 --- a/src/disk/hdc_ide_sff8038i.c +++ b/src/disk/hdc_ide_sff8038i.c @@ -417,9 +417,9 @@ sff_bus_master_set_irq(int channel, void *priv) case 5: /* MIRQ 0 or 1. */ if (irq) - pci_set_mirq(dev->irq_mode[channel] & 1, 0, &dev->irq_state); + pci_set_mirq((dev->irq_mode[channel] & 1), 0, &dev->irq_state); else - pci_clear_mirq(dev->irq_mode[channel] & 1, 0, &dev->irq_state); + pci_clear_mirq((dev->irq_mode[channel] & 1), 0, &dev->irq_state); break; case 3: /* Native PCI IRQ mode with specified interrupt line. */ @@ -431,9 +431,9 @@ sff_bus_master_set_irq(int channel, void *priv) case 4: /* ALi Aladdin Native PCI INTAJ mode. */ if (irq) - pci_set_mirq(channel + 2, dev->irq_level[channel], &dev->irq_state); + pci_set_mirq((channel + 2), dev->irq_level[channel], &dev->irq_state); else - pci_clear_mirq(channel + 2, dev->irq_level[channel], &dev->irq_state); + pci_clear_mirq((channel + 2), dev->irq_level[channel], &dev->irq_state); break; } }