From 5dfbc067d095b2bbaefad6d77469f4d701bdd539 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Mon, 19 May 2025 23:56:22 -0400 Subject: kernel/amd64: Deprecate intr_alloc_vector() Replace intr_alloc_vector() with a cleaner and more machine independent intr_register() Signed-off-by: Ian Moffett --- sys/include/dev/pci/pci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/include/dev/pci/pci.h') diff --git a/sys/include/dev/pci/pci.h b/sys/include/dev/pci/pci.h index de6d8fb..a4de162 100644 --- a/sys/include/dev/pci/pci.h +++ b/sys/include/dev/pci/pci.h @@ -75,7 +75,7 @@ struct pci_device { struct msi_intr { const char *name; - void(*handler)(void *); + int(*handler)(void *); }; pcireg_t pci_readl(struct pci_device *dev, uint32_t offset); -- cgit v1.2.3