net/mlx4_core: Read HCA frequency and map internal clock
authorEugenia Emantayev <eugenia@mellanox.com>
Tue, 23 Apr 2013 06:06:48 +0000 (06:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Apr 2013 20:30:13 +0000 (16:30 -0400)
commitddd8a6c12d7e494902a9435a9a7a543ef730b2d8
tree5dd526d9fef754d1de7fce210ee002e71cb1818d
parentd998735f443427c1530cac5eeda0a45c8cb60a57
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>
drivers/net/ethernet/mellanox/mlx4/fw.c
drivers/net/ethernet/mellanox/mlx4/fw.h
drivers/net/ethernet/mellanox/mlx4/main.c
drivers/net/ethernet/mellanox/mlx4/mlx4.h
include/linux/mlx4/device.h