mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
Reported by: ziaee@
Fixes: fd8d34ce27 ("dpaa: Migrate from NCSW base to a home-grown driver")
34 lines
455 B
Objective-C
34 lines
455 B
Objective-C
#
|
|
# 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;
|
|
};
|