xref: /haiku/src/add-ons/kernel/drivers/network/wlan/idualwifi7260/glue.c (revision bb83316a5811a550c4f850d07fa8e328e7ac0a94)
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