199a2dd95SBruce Richardson /* SPDX-License-Identifier: BSD-3-Clause 299a2dd95SBruce Richardson * Copyright(c) 2018 Intel Corporation 399a2dd95SBruce Richardson */ 499a2dd95SBruce Richardson 599a2dd95SBruce Richardson #include <rte_log.h> 699a2dd95SBruce Richardson #include <rte_dev.h> 799a2dd95SBruce Richardson 8*ae67895bSDavid Marchand #include "eal_private.h" 9*ae67895bSDavid Marchand 1099a2dd95SBruce Richardson int rte_dev_event_monitor_start(void)1199a2dd95SBruce Richardsonrte_dev_event_monitor_start(void) 1299a2dd95SBruce Richardson { 13*ae67895bSDavid Marchand EAL_LOG(ERR, "Device event is not supported for FreeBSD"); 1499a2dd95SBruce Richardson return -1; 1599a2dd95SBruce Richardson } 1699a2dd95SBruce Richardson 1799a2dd95SBruce Richardson int rte_dev_event_monitor_stop(void)1899a2dd95SBruce Richardsonrte_dev_event_monitor_stop(void) 1999a2dd95SBruce Richardson { 20*ae67895bSDavid Marchand EAL_LOG(ERR, "Device event is not supported for FreeBSD"); 2199a2dd95SBruce Richardson return -1; 2299a2dd95SBruce Richardson } 2399a2dd95SBruce Richardson 2499a2dd95SBruce Richardson int rte_dev_hotplug_handle_enable(void)2599a2dd95SBruce Richardsonrte_dev_hotplug_handle_enable(void) 2699a2dd95SBruce Richardson { 27*ae67895bSDavid Marchand EAL_LOG(ERR, "Device event is not supported for FreeBSD"); 2899a2dd95SBruce Richardson return -1; 2999a2dd95SBruce Richardson } 3099a2dd95SBruce Richardson 3199a2dd95SBruce Richardson int rte_dev_hotplug_handle_disable(void)3299a2dd95SBruce Richardsonrte_dev_hotplug_handle_disable(void) 3399a2dd95SBruce Richardson { 34*ae67895bSDavid Marchand EAL_LOG(ERR, "Device event is not supported for FreeBSD"); 3599a2dd95SBruce Richardson return -1; 3699a2dd95SBruce Richardson } 37