mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 22:34:33 +01:00
Create bnxt_fwctl device. This will bind to bnxt's aux device. On the upper edge, it will register with the fwctl subsystem. It will make use of bnxt's ULP functions to send FW commands. Link: https://patch.msgid.link/r/[email protected] Reviewed-by: Andy Gospodarek <[email protected]> Reviewed-by: Dave Jiang <[email protected]> Signed-off-by: Pavan Chebbi <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
27 lines
553 B
C
27 lines
553 B
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
/*
|
|
* Copyright (c) 2026, Broadcom Inc
|
|
*/
|
|
|
|
#ifndef _UAPI_FWCTL_BNXT_H_
|
|
#define _UAPI_FWCTL_BNXT_H_
|
|
|
|
#include <linux/types.h>
|
|
|
|
enum fwctl_bnxt_commands {
|
|
FWCTL_BNXT_INLINE_COMMANDS = 0,
|
|
FWCTL_BNXT_QUERY_COMMANDS,
|
|
FWCTL_BNXT_SEND_COMMANDS,
|
|
};
|
|
|
|
/**
|
|
* struct fwctl_info_bnxt - ioctl(FWCTL_INFO) out_device_data
|
|
* @uctx_caps: The command capabilities driver accepts.
|
|
*
|
|
* Return basic information about the FW interface available.
|
|
*/
|
|
struct fwctl_info_bnxt {
|
|
__u32 uctx_caps;
|
|
};
|
|
#endif
|