]> 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, 21 May 2021 10:29:17 +0000 (13:29 +0300)
commit395bc3598b47ef270d17beae778830e134814fbe
treef20e79635c87aad63660c6f60253a629495b4ee7
parentd7d4592ada54a4babcb9336d518929168539b515
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

(cherry picked from commit e2ea6942ab316d4cd5c2fef73ab28dc974b8dc51)
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