]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r298771:
authorhselasky <hselasky@FreeBSD.org>
Mon, 9 May 2016 13:09:41 +0000 (13:09 +0000)
committerhselasky <hselasky@FreeBSD.org>
Mon, 9 May 2016 13:09:41 +0000 (13:09 +0000)
commit9038ef1cbd86fa63343fcc179ea3640c2db41e31
tree2d241965fcdf4e39cdbe9dc805bb5518ca122654
parent474ac0fbf4af918a4825854649bafccc48949fc1
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
sys/dev/mlx5/driver.h
sys/dev/mlx5/mlx5_core/mlx5_eq.c
sys/dev/mlx5/mlx5_en/mlx5_en_main.c