ipro1000: MSI interrupts use a handler, no check needed.

tested on Qemu with model=e1000e.
This commit is contained in:
Jérôme Duval 2017-11-18 22:51:24 +01:00
parent f6c47144a6
commit aafb7e69a9

View File

@ -6,7 +6,6 @@ extern driver_t *DRIVER_MODULE_NAME(lem, pci);
HAIKU_FBSD_DRIVERS_GLUE(ipro1000);
NO_HAIKU_CHECK_DISABLE_INTERRUPTS();
NO_HAIKU_REENABLE_INTERRUPTS();
NO_HAIKU_FBSD_MII_DRIVER();
@ -23,6 +22,14 @@ __haiku_handle_fbsd_drivers_list(status_t (*handler)(driver_t *[]))
}
int
HAIKU_CHECK_DISABLE_INTERRUPTS(device_t dev)
{
// only MSI interrupts, legacy uses fast intr
return 1;
}
#ifdef EM_FAST_INTR
HAIKU_DRIVER_REQUIREMENTS(FBSD_TASKQUEUES | FBSD_FAST_TASKQUEUE);
#else