aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/dpaa/fman_port_if.m
blob: fe6159340c2c712ff09d732e8f21fc3921d3baa0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#
# Copyright (c) 2026 Justin Hibbits
#
# SPDX-License-Identifier: BSD-2-Clause

#include <machine/bus.h>
#include <dev/dpaa/fman_port.h>

/**
 * @brief DPAA FMan Port interface
 *
 */
INTERFACE fman_port;

/**
 * @brief Configure the port for a specific purpose
 */
METHOD int config {
	device_t	dev;
	struct fman_port_params *params;
};

METHOD int init {
	device_t	dev;
};

METHOD int disable {
	device_t	dev;
};

METHOD int enable {
	device_t	dev;
};