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(attansic_l2, ae, 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