]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5_core: Use accessor functions to read from device memory
authorEli Cohen <eli@mellanox.com>
Thu, 8 Oct 2015 14:13:59 +0000 (17:13 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Oct 2015 14:27:48 +0000 (07:27 -0700)
commitaf0aae9cc677a923f07b76ea051f9f90912a5ebf
treef165379abbd7bdf57b94b3e357cf794e43370fb9
parent7e4af4ff3cd5e99b2cd331821177a8d375c673fd
net/mlx5_core: Use accessor functions to read from device memory

Use ioread function to read health buffer data. In addition, print the
firmware version as a string for readability and also use dev_err to have
the device string to be printed.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/health.c