blob: 3492aad57ede2021258cae1c5958f0a5968d6391 [file] [log] [blame]
Damjan Marionf508e072024-08-27 18:21:02 +02001/* SPDX-License-Identifier: Apache-2.0
2 * Copyright (c) 2023 Cisco Systems, Inc.
3 */
4
5#ifndef _VNET_DEV_BUS_PLATFORM_H_
6#define _VNET_DEV_BUS_PLATFORM_H_
7
8#include <vppinfra/clib.h>
9#include <vppinfra/devicetree.h>
10#include <vlib/vlib.h>
11#include <vnet/dev/dev.h>
12
13#define PLATFORM_BUS_NAME "platform"
14
15extern clib_dt_main_t vnet_dev_bus_platform_dt_main;
16
17typedef struct
18{
19 clib_dt_node_t *node;
20} vnet_dev_bus_platform_device_info_t;
21
22typedef struct
23{
24 clib_dt_node_t *node;
25} vnet_dev_bus_platform_device_data_t;
26
27#endif /* _VNET_DEV_BUS_PLATFORM_H_ */