xref: /dpdk/lib/eal/freebsd/eal_dev.c (revision daa02b5cddbb8e11b31d41e2bf7bb1ae64dcae2f)
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2018 Intel Corporation
3  */
4 
5 #include <rte_log.h>
6 #include <rte_compat.h>
7 #include <rte_dev.h>
8 
9 int
10 rte_dev_event_monitor_start(void)
11 {
12 	RTE_LOG(ERR, EAL, "Device event is not supported for FreeBSD\n");
13 	return -1;
14 }
15 
16 int
17 rte_dev_event_monitor_stop(void)
18 {
19 	RTE_LOG(ERR, EAL, "Device event is not supported for FreeBSD\n");
20 	return -1;
21 }
22 
23 int
24 rte_dev_hotplug_handle_enable(void)
25 {
26 	RTE_LOG(ERR, EAL, "Device event is not supported for FreeBSD\n");
27 	return -1;
28 }
29 
30 int
31 rte_dev_hotplug_handle_disable(void)
32 {
33 	RTE_LOG(ERR, EAL, "Device event is not supported for FreeBSD\n");
34 	return -1;
35 }
36