mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Query firmware with the help of basic firmware commands and cache the capabilities. With the help of basic commands start the initialization process of the driver with the firmware. Since basic information is available from the firmware, register with devlink. Signed-off-by: Vikas Gupta <vikas.gupta@broadcom.com> Reviewed-by: Bhargava Chenna Marreddy <bhargava.marreddy@broadcom.com> Reviewed-by: Rajashekar Hudumula <rajashekar.hudumula@broadcom.com> Link: https://patch.msgid.link/20250701143511.280702-5-vikas.gupta@broadcom.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
18 lines
458 B
C
18 lines
458 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright (c) 2025 Broadcom */
|
|
|
|
#ifndef _BNGE_DEVLINK_H_
|
|
#define _BNGE_DEVLINK_H_
|
|
|
|
enum bnge_dl_version_type {
|
|
BNGE_VERSION_FIXED,
|
|
BNGE_VERSION_RUNNING,
|
|
BNGE_VERSION_STORED,
|
|
};
|
|
|
|
void bnge_devlink_free(struct bnge_dev *bd);
|
|
struct bnge_dev *bnge_devlink_alloc(struct pci_dev *pdev);
|
|
void bnge_devlink_register(struct bnge_dev *bd);
|
|
void bnge_devlink_unregister(struct bnge_dev *bd);
|
|
|
|
#endif /* _BNGE_DEVLINK_H_ */
|