xref: /haiku/src/add-ons/kernel/drivers/network/ether/atheros81xx/glue.c (revision 4c8e85b316c35a9161f5a1c50ad70bc91c83a76f)
1 /*
2  * Copyright 2007, Hugo Santos. All Rights Reserved.
3  * Copyright 2007, Axel Dörfler, axeld@pinc-software.de. All Rights Reserved.
4  * Distributed under the terms of the MIT License.
5  */
6 
7 
8 #include <sys/bus.h>
9 
10 
11 HAIKU_FBSD_DRIVER_GLUE(atheros81xx, ale, pci)
12 
13 extern driver_t *DRIVER_MODULE_NAME(ukphy, miibus);
14 
15 driver_t *
16 __haiku_select_miibus_driver(device_t dev)
17 {
18 	driver_t *drivers[] = {
19 		DRIVER_MODULE_NAME(ukphy, miibus),
20 		NULL
21 	};
22 
23 	return __haiku_probe_miibus(dev, drivers);
24 }
25 
26 NO_HAIKU_CHECK_DISABLE_INTERRUPTS();
27 NO_HAIKU_REENABLE_INTERRUPTS();
28 
29 HAIKU_DRIVER_REQUIREMENTS(FBSD_TASKQUEUES | FBSD_FAST_TASKQUEUE | FBSD_SWI_TASKQUEUE);
30