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_DRIVER_REQUIREMENTS(FBSD_SWI_TASKQUEUE); 12 HAIKU_FBSD_DRIVER_GLUE(attansic_l2, ae, pci) 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 * 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