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 10HAIKU_FBSD_DRIVER_GLUE(attansic_l1, age, pci); 11HAIKU_DRIVER_REQUIREMENTS(FBSD_SWI_TASKQUEUE); 12 13 14extern driver_t *DRIVER_MODULE_NAME(atphy, miibus); 15 16 17driver_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 28NO_HAIKU_CHECK_DISABLE_INTERRUPTS(); 29NO_HAIKU_REENABLE_INTERRUPTS(); 30