History log of /freebsd-current/usr.sbin/mpsutil/Makefile
Revision Date Author Comments
# d56ce591 24-Jan-2024 Mark Johnston <markj@FreeBSD.org>

mpsutil: Clean up libutil deps

mpsutil doesn't use libutil, so doesn't need to include libutil.h. See
commit 76103694a051335bec1da318f9c6e3a676dc0145.

No functional change intended.

MFC after: 1 week


# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# e2ea6942 07-May-2021 Daniel Austin <freebsd-ports@dan.me.uk>

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


# c2a13d6f 04-Sep-2019 Andriy Gapon <avg@FreeBSD.org>

mpsutil slot set status

This code has been written as a proof of concept, but I think that it
can be useful in general. It allows to set the status of an enclosure
slot. Practically, this means controlling whatever slot status LEDs the
enclosure provides. At present, the new command does not have sanity
checks or any conveniences. That means that it is possible to issue the
command for an invalid slot and an enclosure. But the worst I have seen
happening is either the command failing or simply being ignored. Also,
at the moment, the status has to be specified as a numeric bit mask.
The bit definitions can be found in sys/dev/mps/mpi/mpi2_init.h, they
are prefixed with MPI2_SEP_REQ_SLOTSTATUS_. The only way to address a
slot is by the enclosure handle and the slot number. Both are readily
available from mpsutil show commands.

So, future enhancements could include alternative ways to address a slot
(e.g., by a disk handle or a disk device name) and human friendly names
for slot statuses.

The new command is useful alternative to 'sas2ircu locate' command.
First, sas2ircu is a proprietary blob. Second, it supports setting only
locate / identify status bit.

Tested on HP H220 running LSI IT firmware 20.x.

Reviewed by: bapt
MFC after: 3 weeks
Differential Revision: https://reviews.freebsd.org/D20535


# b3995bb8 11-Mar-2018 Scott Long <scottl@FreeBSD.org>

Add a new 'debug' command tree and 'dump_reqs' command to grab and parse
command and chain frames of in-flight I/O from the driver.

Sponsored by: Netflix


# 64a0982b 04-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible

This simplifies make logic/output

MFC after: 1 month
Sponsored by: Dell EMC Isilon


# 3e891891 17-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

mpsutil/mprutil: add flash subcommand

the flash subcommand allows to save/update firmware and bios for LSI Fusion-MPT
2/3 controllers (mps(4) and mpr(4))

Tested by: allanjude
Reviewed by: wblock (manpage)
Relnotes: yes
Sponsored by: Gandi.net
Differential Revision: https://reviews.freebsd.org/D4026


# e6b0222d 28-Oct-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Include libutil's headers directly from src to avoid recording a dirdeps
dependency for META MODE.


# 76103694 28-Oct-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Reduce overlinking, for now neither cam nor libutil are needed

Sponsored by: Gandi.net


# 64dbc39c 28-Oct-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Do enforce "-g", DEBUG_FLAGS can be user if one want to set it

Sponsored by: Gandi.net


# 04be2b8b 28-Oct-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Replace the manpage with one that actually describes the utility

Sponsored by: Gandi.net


# 48f31f4f 15-Oct-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Make mpsutil open the mpr devices when named mprutil
Make mprutil a hardlink to mpsutil

Sponsored by: Gandi.net


# 125c7a1e 14-Aug-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Fix buildworld

Sponsored by: gandi.net


# 29b76e53 01-Aug-2015 Scott Long <scottl@FreeBSD.org>

Iniital hack of mpsutil