aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mlx4/device.h
diff options
context:
space:
mode:
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>2011-03-22 18:38:07 -0400
committerDavid S. Miller <davem@davemloft.net>2011-03-23 15:24:20 -0400
commit725c89997e03d71b09ea3c17c997da0712b9d835 (patch)
treed141987aec9ae90d43e3f44e3facee921ec6f526 /include/linux/mlx4/device.h
parent14c07b1358ede1664652bb9b28d9ace5fe6f7f92 (diff)
mlx4_en: Reporting HW revision in ethtool -i
HW revision is derived from device ID and rev id. Signed-off-by: Eugenia Emantayev <eugenia@mellanox.co.il> Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mlx4/device.h')
-rw-r--r--include/linux/mlx4/device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h
index 2460356d2c72..fe2a3a3f046c 100644
--- a/include/linux/mlx4/device.h
+++ b/include/linux/mlx4/device.h
@@ -422,7 +422,7 @@ struct mlx4_dev {
422 unsigned long flags; 422 unsigned long flags;
423 struct mlx4_caps caps; 423 struct mlx4_caps caps;
424 struct radix_tree_root qp_table_tree; 424 struct radix_tree_root qp_table_tree;
425 u32 rev_id; 425 u8 rev_id;
426 char board_id[MLX4_BOARD_ID_LEN]; 426 char board_id[MLX4_BOARD_ID_LEN];
427}; 427};
428 428