X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/1d99ee650820bfaf0ac45cada8853c807f27bf52..e0cd8f9c44808642b2f4ebb17202e1ec477db78a:/lunaix-os/hal/char/uart/16x50_pci.c diff --git a/lunaix-os/hal/char/uart/16x50_pci.c b/lunaix-os/hal/char/uart/16x50_pci.c index 43e5326..bba016f 100644 --- a/lunaix-os/hal/char/uart/16x50_pci.c +++ b/lunaix-os/hal/char/uart/16x50_pci.c @@ -92,9 +92,9 @@ pci16x50_pci_create(struct device_def* def, morph_t* obj) sdev = uart_create_serial(uart, &def->class, &pci_ports, "PCI"); - irq = pci_declare_msi_irq(uart_msi_irq_handler, probe, NULL); + irq = pci_declare_msi_irq(uart_msi_irq_handler, probe); irq_set_payload(irq, uart); - pci_assign_msi(probe, irq); + pci_assign_msi(probe, irq, NULL); INFO("base: 0x%x (%s), %s", bar->start,