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")
39 lines
534 B
Objective-C
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;
|
|
};
|