xref: /haiku/src/add-ons/kernel/drivers/network/ether/rtl8125/glue.c (revision 13581b3d2a71545960b98fefebc5225b5bf29072)
1 /*
2  * Copyright 2023, Haiku, Inc. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 
6 #include <sys/haiku-module.h>
7 
8 
9 HAIKU_FBSD_DRIVER_GLUE(rtl8125, rge, pci)
10 NO_HAIKU_FBSD_MII_DRIVER();
11 NO_HAIKU_REENABLE_INTERRUPTS();
12 HAIKU_DRIVER_REQUIREMENTS(FBSD_FAST_TASKQUEUE);
13 HAIKU_FIRMWARE_VERSION(0);
14 NO_HAIKU_FIRMWARE_NAME_MAP();
15 
16 
17 int
18 HAIKU_CHECK_DISABLE_INTERRUPTS(device_t dev)
19 {
20 	// We only support MSI(-X), so we handle all interrupts.
21 	return 1;
22 }
23