xref: /haiku/src/add-ons/kernel/drivers/network/ether/attansic_l1/glue.c (revision 388d91a7b829b91b95abd2505437d431c468ce7d)
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 #include <sys/bus.h>
8 
9 
10 HAIKU_FBSD_DRIVER_GLUE(attansic_l1, age, pci);
11 HAIKU_DRIVER_REQUIREMENTS(FBSD_SWI_TASKQUEUE);
12 
13 
14 extern driver_t *DRIVER_MODULE_NAME(atphy, miibus);
15 
16 
17 driver_t *
18 __haiku_select_miibus_driver(device_t dev)
19 {
20 	driver_t *drivers[] = {
21 		DRIVER_MODULE_NAME(atphy, miibus),
22 		NULL
23 	};
24 
25 	return __haiku_probe_miibus(dev, drivers);
26 }
27 
28 NO_HAIKU_CHECK_DISABLE_INTERRUPTS();
29 NO_HAIKU_REENABLE_INTERRUPTS();
30