aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4/fw.h
diff options
context:
space:
mode:
authorJack Morgenstein <jackm@dev.mellanox.co.il>2008-01-27 11:13:25 -0500
committerRoland Dreier <rolandd@cisco.com>2008-02-04 23:20:43 -0500
commit893da75956ab48545e8732b46e1cf4350bd25f9c (patch)
treefe5125ffd8ec7d84f3b4937f6ade9ee65f7a4913 /drivers/net/mlx4/fw.h
parent6ccef1de2c1718729dd1c7ee8bd98473519eb3b3 (diff)
mlx4_core: Don't read reserved fields in mlx4_QUERY_ADAPTER()
The firmware QUERY_ADAPTER command does not return vendor_id, device_id, and revision_id; eliminate these fields from the query. Initialize the rev_id field of the mlx4 device via init_node_data (MAD IFC query), as is done in the query_device verb implementation. Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/net/mlx4/fw.h')
-rw-r--r--drivers/net/mlx4/fw.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/mlx4/fw.h b/drivers/net/mlx4/fw.h
index 7e1dd9e25cfb..e16dec890413 100644
--- a/drivers/net/mlx4/fw.h
+++ b/drivers/net/mlx4/fw.h
@@ -99,9 +99,6 @@ struct mlx4_dev_cap {
99}; 99};
100 100
101struct mlx4_adapter { 101struct mlx4_adapter {
102 u32 vendor_id;
103 u32 device_id;
104 u32 revision_id;
105 char board_id[MLX4_BOARD_ID_LEN]; 102 char board_id[MLX4_BOARD_ID_LEN];
106 u8 inta_pin; 103 u8 inta_pin;
107}; 104};