xref: /haiku/src/add-ons/kernel/drivers/network/ether/atheros81xx/glue.c (revision 97f11716bfaa0f385eb0e28a52bf56a5023b9e99)
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 HAIKU_DRIVER_REQUIREMENTS(0);
13 NO_HAIKU_CHECK_DISABLE_INTERRUPTS();
14 NO_HAIKU_REENABLE_INTERRUPTS();
15 
16 extern driver_t *DRIVER_MODULE_NAME(ukphy, miibus);
17 
18 driver_t *
__haiku_select_miibus_driver(device_t dev)19 __haiku_select_miibus_driver(device_t dev)
20 {
21 	driver_t *drivers[] = {
22 		DRIVER_MODULE_NAME(ukphy, miibus),
23 		NULL
24 	};
25 
26 	return __haiku_probe_miibus(dev, drivers);
27 }
28