diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2013-10-16 18:32:34 +0100 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2013-12-12 22:07:03 +0000 |
commit | 8349f7f610263a2b469feb0eb07583ad0742e7ba (patch) | |
tree | 04908035d0eb302f7033b639dd4e73f8499af1f5 /drivers/net/ethernet/sfc/mcdi.h | |
parent | ac36baf817c39fc9b53eff190f5901610c5dc5b7 (diff) | |
download | talos-obmc-linux-8349f7f610263a2b469feb0eb07583ad0742e7ba.tar.gz talos-obmc-linux-8349f7f610263a2b469feb0eb07583ad0742e7ba.zip |
sfc: Store flags from MC_CMD_DRV_ATTACH for later use
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/mcdi.h')
-rw-r--r-- | drivers/net/ethernet/sfc/mcdi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/mcdi.h b/drivers/net/ethernet/sfc/mcdi.h index 171f5f58f84a..52931aebf3c3 100644 --- a/drivers/net/ethernet/sfc/mcdi.h +++ b/drivers/net/ethernet/sfc/mcdi.h @@ -94,12 +94,14 @@ struct efx_mcdi_mtd_partition { * struct efx_mcdi_data - extra state for NICs that implement MCDI * @iface: Interface/protocol state * @hwmon: Hardware monitor state + * @fn_flags: Flags for this function, as returned by %MC_CMD_DRV_ATTACH. */ struct efx_mcdi_data { struct efx_mcdi_iface iface; #ifdef CONFIG_SFC_MCDI_MON struct efx_mcdi_mon hwmon; #endif + u32 fn_flags; }; #ifdef CONFIG_SFC_MCDI_MON |