]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
mpsutil: extend show adapter information, add NCQ control
authorDaniel Austin <freebsd-ports@dan.me.uk>
Fri, 7 May 2021 11:41:53 +0000 (14:41 +0300)
committerAndriy Gapon <avg@FreeBSD.org>
Fri, 7 May 2021 12:22:22 +0000 (15:22 +0300)
commite2ea6942ab316d4cd5c2fef73ab28dc974b8dc51
tree9da300fe5eb28237f6f9a632532adc51ecacd7c2
parent95a74ab4fb0879da270342bc98719b0e735694f3
mpsutil: extend show adapter information, add NCQ control

'show adapter' now shows PCIe width and speed, IOC Speed, and the
temperature of the controller.

A new command, 'set ncq', is added.
It enables or disables SATA NCQ in the NVRAM of the card.
Its current setting is added to 'show adapter' as well.

PR: 254841
MFC after: 2 weeks
Relnotes: perhaps
usr.sbin/mpsutil/Makefile
usr.sbin/mpsutil/mps_set.c [new file with mode: 0644]
usr.sbin/mpsutil/mps_show.c
usr.sbin/mpsutil/mpsutil.8