1 /* 2 * Copyright 2018, Haiku, Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 6 7 #include <sys/bus.h> 8 9 10 extern driver_t* DRIVER_MODULE_NAME(em, pci); 11 extern driver_t* DRIVER_MODULE_NAME(igb, pci); 12 13 HAIKU_FBSD_DRIVERS_GLUE(ipro1000); 14 HAIKU_DRIVER_REQUIREMENTS(0); 15 NO_HAIKU_FBSD_MII_DRIVER(); 16 NO_HAIKU_CHECK_DISABLE_INTERRUPTS(); 17 NO_HAIKU_REENABLE_INTERRUPTS(); 18 19 20 status_t 21 __haiku_handle_fbsd_drivers_list(status_t (*handler)(driver_t *[], driver_t *[])) 22 { 23 driver_t *drivers[] = { 24 DRIVER_MODULE_NAME(em, pci), 25 DRIVER_MODULE_NAME(igb, pci), 26 NULL 27 }; 28 return (*handler)(drivers, NULL); 29 } 30