1 /* 2 * Copyright 2007, Axel Dörfler, axeld@pinc-software.de. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 6 7 #include <sys/bus.h> 8 9 10 HAIKU_FBSD_DRIVER_GLUE(via_rhine, vr, pci); 11 HAIKU_DRIVER_REQUIREMENTS(FBSD_FAST_TASKQUEUE); 12 NO_HAIKU_CHECK_DISABLE_INTERRUPTS(); 13 NO_HAIKU_REENABLE_INTERRUPTS(); 14 15 16 extern driver_t *DRIVER_MODULE_NAME(ciphy, miibus); 17 extern driver_t *DRIVER_MODULE_NAME(ukphy, miibus); 18 19 20 driver_t * 21 __haiku_select_miibus_driver(device_t dev) 22 { 23 driver_t *drivers[] = { 24 DRIVER_MODULE_NAME(ciphy, miibus), 25 DRIVER_MODULE_NAME(ukphy, miibus), 26 NULL 27 }; 28 29 return __haiku_probe_miibus(dev, drivers); 30 } 31