diff options
author | Ian Moffett <ian@osmora.org> | 2025-05-19 23:56:22 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-05-19 23:56:22 -0400 |
commit | 5dfbc067d095b2bbaefad6d77469f4d701bdd539 (patch) | |
tree | ea38f2a13cd18a7949046bd1697eade81647d361 /sys/include/dev/pci/pci.h | |
parent | 87013e38d1940ad183d3cdb42224fb6dcd9e7e03 (diff) |
Replace intr_alloc_vector() with a cleaner and more machine independent
intr_register()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/dev/pci/pci.h')
-rw-r--r-- | sys/include/dev/pci/pci.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |