diff options
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_fwlog.h')
-rw-r--r-- | drivers/net/ethernet/intel/ice/ice_fwlog.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_fwlog.h b/drivers/net/ethernet/intel/ice/ice_fwlog.h index fe4b2ce6813f..22585ea9ec93 100644 --- a/drivers/net/ethernet/intel/ice/ice_fwlog.h +++ b/drivers/net/ethernet/intel/ice/ice_fwlog.h @@ -68,18 +68,21 @@ struct ice_fwlog { struct ice_fwlog_cfg cfg; bool supported; /* does hardware support FW logging? */ struct ice_fwlog_ring ring; + struct dentry *debugfs; + /* keep track of all the dentrys for FW log modules */ + struct dentry **debugfs_modules; struct_group_tagged(ice_fwlog_api, api, struct pci_dev *pdev; int (*send_cmd)(void *, struct libie_aq_desc *, void *, u16); void *priv; + struct dentry *debugfs_root; ); }; bool ice_fwlog_ring_empty(struct ice_fwlog_ring *rings); void ice_fwlog_ring_increment(u16 *item, u16 size); -int ice_fwlog_init(struct ice_hw *hw, struct ice_fwlog *fwlog, - struct ice_fwlog_api *api); -void ice_fwlog_deinit(struct ice_hw *hw, struct ice_fwlog *fwlog); +int ice_fwlog_init(struct ice_fwlog *fwlog, struct ice_fwlog_api *api); +void ice_fwlog_deinit(struct ice_fwlog *fwlog); int ice_fwlog_set(struct ice_fwlog *fwlog, struct ice_fwlog_cfg *cfg); int ice_fwlog_register(struct ice_fwlog *fwlog); int ice_fwlog_unregister(struct ice_fwlog *fwlog); |