mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-05-05 09:57:21 +02:00
e782efb830
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/20260314151605.932749-5-pavan.chebbi@broadcom.com Reviewed-by: Andy Gospodarek <gospo@broadcom.com> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Pavan Chebbi <pavan.chebbi@broadcom.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
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
|