]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r347306:
authorhselasky <hselasky@FreeBSD.org>
Thu, 16 May 2019 18:13:02 +0000 (18:13 +0000)
committerhselasky <hselasky@FreeBSD.org>
Thu, 16 May 2019 18:13:02 +0000 (18:13 +0000)
commit5550aa3ea947b5e5d90ba0b9259ac01e32636088
treea2eb2927881235452ab475f52ca67948c1f1b497
parent98ecf3979dc60c06dfa92d64360819d409ae72ea
MFC r347306:
Implement reading PCI power status in mlx5core.

Implement a watchdog as part of the healtcare subsystem which
reads the PCI power status during startup and upon the PCI
power status change event and store it into the core device
structure. This value is then exported to user-space via a
read-only SYSCTL. A dmesg print has been added to inform
the admin about the PCI power status.

Sponsored by: Mellanox Technologies
sys/dev/mlx5/device.h
sys/dev/mlx5/driver.h
sys/dev/mlx5/mlx5_core/mlx5_eq.c
sys/dev/mlx5/mlx5_core/mlx5_health.c
sys/dev/mlx5/mlx5_core/mlx5_main.c
sys/dev/mlx5/mlx5_ifc.h