summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEugenia Emantayev <eugenia@mellanox.com>2013-04-23 10:06:48 +0400
committerDavid S. Miller <davem@davemloft.net>2013-04-25 00:30:13 +0400
commitddd8a6c12d7e494902a9435a9a7a543ef730b2d8 (patch)
tree5dd526d9fef754d1de7fce210ee002e71cb1818d /include
parentd998735f443427c1530cac5eeda0a45c8cb60a57 (diff)
downloadlinux-ddd8a6c12d7e494902a9435a9a7a543ef730b2d8.tar.xz
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')
-rw-r--r--include/linux/mlx4/device.h1
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 {
u8 eqe_factor;
u32 userspace_caps; /* userspace must be aware of these */
u32 function_caps; /* VFs must be aware of these */
+ u16 hca_core_clock;
};
struct mlx4_buf_list {