]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r298771:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 9 May 2016 13:09:41 +0000 (13:09 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 9 May 2016 13:09:41 +0000 (13:09 +0000)
commita7864cfbc9b5f06808e0b562e500c1f9c6b8603b
tree2d241965fcdf4e39cdbe9dc805bb5518ca122654
parentcbab356d055c0d26d607ff765cc9c83696fea8a7
MFC r298771:
Add function to detect the presence of a port module and use this
function to error out early when no port module is present and doing
eeprom access. This also prevents error codes from filling up in
dmesg.

Sponsored by: Mellanox Technologies
Tested by: Netflix

git-svn-id: svn://svn.freebsd.org/base/stable/10@299258 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/mlx5/driver.h
sys/dev/mlx5/mlx5_core/mlx5_eq.c
sys/dev/mlx5/mlx5_en/mlx5_en_main.c