History log of /freebsd-current/usr.sbin/mpsutil/mpsutil.h
Revision Date Author Comments
# b3e76948 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# 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


# 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


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

Fix a typo in the comment about the include guard

Sponsored by: Gandi.net


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

Remove more of the mptutil unused code

Sponsored by: Gandi.net


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

Remove some unused code from the mptutil(8)

The code from mptutil living in the same source tree the day those functions
will be implemented in the mpsutil(8) it can be copy/paste easily

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


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

Iniital hack of mpsutil