xref: /freebsd/sys/dev/dpaa/fman_port_if.m (revision 7a40b8a89e7da2a7e8d8e132bc37885b22e9bfb1)
1#
2# Copyright (c) 2026 Justin Hibbits
3#
4# SPDX-License-Identifier: BSD-2-Clause
5
6#include <machine/bus.h>
7#include <dev/dpaa/fman_port.h>
8
9/**
10 * @brief DPAA FMan Port interface
11 *
12 */
13INTERFACE fman_port;
14
15/**
16 * @brief Configure the port for a specific purpose
17 */
18METHOD int config {
19	device_t	dev;
20	struct fman_port_params *params;
21};
22
23METHOD int init {
24	device_t	dev;
25};
26
27METHOD int disable {
28	device_t	dev;
29};
30
31METHOD int enable {
32	device_t	dev;
33};
34