xref: /haiku/src/add-ons/kernel/drivers/network/wlan/idualwifi7260/glue.c (revision 4a55cc230cf7566cadcbb23b1928eefff8aea9a2)
1 /*
2  * Copyright 2022, 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_WLAN_DRIVER_GLUE(idualwifi7260, iwm, pci)
10 NO_HAIKU_FBSD_MII_DRIVER();
11 NO_HAIKU_REENABLE_INTERRUPTS();
12 HAIKU_DRIVER_REQUIREMENTS(OBSD_WLAN);
13 HAIKU_FIRMWARE_VERSION(1);
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