diff options
Diffstat (limited to 'include/uapi/linux/ethtool.h')
| -rw-r--r-- | include/uapi/linux/ethtool.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/uapi/linux/ethtool.h b/include/uapi/linux/ethtool.h index 5f66d9c2889d..2e49fc880d29 100644 --- a/include/uapi/linux/ethtool.h +++ b/include/uapi/linux/ethtool.h | |||
| @@ -139,6 +139,7 @@ static inline __u32 ethtool_cmd_speed(const struct ethtool_cmd *ep) | |||
| 139 | 139 | ||
| 140 | #define ETHTOOL_FWVERS_LEN 32 | 140 | #define ETHTOOL_FWVERS_LEN 32 |
| 141 | #define ETHTOOL_BUSINFO_LEN 32 | 141 | #define ETHTOOL_BUSINFO_LEN 32 |
| 142 | #define ETHTOOL_EROMVERS_LEN 32 | ||
| 142 | 143 | ||
| 143 | /** | 144 | /** |
| 144 | * struct ethtool_drvinfo - general driver and device information | 145 | * struct ethtool_drvinfo - general driver and device information |
| @@ -148,6 +149,7 @@ static inline __u32 ethtool_cmd_speed(const struct ethtool_cmd *ep) | |||
| 148 | * not be an empty string. | 149 | * not be an empty string. |
| 149 | * @version: Driver version string; may be an empty string | 150 | * @version: Driver version string; may be an empty string |
| 150 | * @fw_version: Firmware version string; may be an empty string | 151 | * @fw_version: Firmware version string; may be an empty string |
| 152 | * @erom_version: Expansion ROM version string; may be an empty string | ||
| 151 | * @bus_info: Device bus address. This should match the dev_name() | 153 | * @bus_info: Device bus address. This should match the dev_name() |
| 152 | * string for the underlying bus device, if there is one. May be | 154 | * string for the underlying bus device, if there is one. May be |
| 153 | * an empty string. | 155 | * an empty string. |
| @@ -176,7 +178,7 @@ struct ethtool_drvinfo { | |||
| 176 | char version[32]; | 178 | char version[32]; |
| 177 | char fw_version[ETHTOOL_FWVERS_LEN]; | 179 | char fw_version[ETHTOOL_FWVERS_LEN]; |
| 178 | char bus_info[ETHTOOL_BUSINFO_LEN]; | 180 | char bus_info[ETHTOOL_BUSINFO_LEN]; |
| 179 | char reserved1[32]; | 181 | char erom_version[ETHTOOL_EROMVERS_LEN]; |
| 180 | char reserved2[12]; | 182 | char reserved2[12]; |
| 181 | __u32 n_priv_flags; | 183 | __u32 n_priv_flags; |
| 182 | __u32 n_stats; | 184 | __u32 n_stats; |
