diff options
author | Eugenia Emantayev <eugenia@mellanox.com> | 2013-04-23 02:06:48 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-24 16:30:13 -0400 |
commit | ddd8a6c12d7e494902a9435a9a7a543ef730b2d8 (patch) | |
tree | 5dd526d9fef754d1de7fce210ee002e71cb1818d /include/linux/mlx4 | |
parent | d998735f443427c1530cac5eeda0a45c8cb60a57 (diff) |
net/mlx4_core: Read HCA frequency and map internal clock
Read HCA frequency, read PCI clock bar and offset, map internal clock to
PCI bar.
Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mlx4')
-rw-r--r-- | include/linux/mlx4/device.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h index 86ae260c2e53..e088290d9792 100644 --- a/include/linux/mlx4/device.h +++ b/include/linux/mlx4/device.h | |||
@@ -445,6 +445,7 @@ struct mlx4_caps { | |||
445 | u8 eqe_factor; | 445 | u8 eqe_factor; |
446 | u32 userspace_caps; /* userspace must be aware of these */ | 446 | u32 userspace_caps; /* userspace must be aware of these */ |
447 | u32 function_caps; /* VFs must be aware of these */ | 447 | u32 function_caps; /* VFs must be aware of these */ |
448 | u16 hca_core_clock; | ||
448 | }; | 449 | }; |
449 | 450 | ||
450 | struct mlx4_buf_list { | 451 | struct mlx4_buf_list { |