Files
Justin Hibbits 7a40b8a89e dpaa: Fix copyright headers
Reported by:	ziaee@
Fixes:	fd8d34ce27 ("dpaa: Migrate from NCSW base to a home-grown driver")
2026-05-03 21:47:54 -04:00

39 lines
534 B
Objective-C

#
# SPDX-License-Identifier: BSD-2-Clause
#
# Copyright (c) 2026 Justin Hibbits
#include <machine/bus.h>
#include <dev/dpaa/fman.h>
/**
* @brief DPAA FMan interface
*
*/
INTERFACE fman;
METHOD void get_revision {
device_t dev;
int *major;
int *minor;
};
METHOD size_t get_bmi_max_fifo_size {
device_t dev;
};
METHOD int get_qman_channel_id {
device_t dev;
int port_id;
};
METHOD int reset_mac {
device_t dev;
int mac_id;
};
METHOD int set_port_params {
device_t dev;
struct fman_port_init_params *params;
};