drivers/net/ethernet/broadcom/bnge/bnge_devlink.h
raw| 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | /* Copyright (c) 2025 Broadcom */ |
| 3 | |
| 4 | #ifndef _BNGE_DEVLINK_H_ |
| 5 | #define _BNGE_DEVLINK_H_ |
| 6 | |
| 7 | enum bnge_dl_version_type { |
| 8 | BNGE_VERSION_FIXED, |
| 9 | BNGE_VERSION_RUNNING, |
| 10 | BNGE_VERSION_STORED, |
| 11 | }; |
| 12 | |
| 13 | void bnge_devlink_free(struct bnge_dev *bd); |
| 14 | struct bnge_dev *bnge_devlink_alloc(struct pci_dev *pdev); |
| 15 | void bnge_devlink_register(struct bnge_dev *bd); |
| 16 | void bnge_devlink_unregister(struct bnge_dev *bd); |
| 17 | |
| 18 | #endif /* _BNGE_DEVLINK_H_ */ |