History log of /freebsd-11-stable/usr.sbin/mpsutil/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
360672 05-May-2020 dim

MFC r334075 (by eadler):

mpsutil: add missing braces

Obtained from: DragonFly (c5d53f11a9510c5c79e196857a1200925fffacc8)

MFC r334085 (by eadler):

mpsutil: correct style

Reported by: bapt

319119 29-May-2017 ngie

MFC r314659,r314676:

r314659:

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

This simplifies make logic/output

r314676:

Fix build after r314656

Some of the changes I introduced to use .ALLSRC were correct in spirit,
but incorrect in reality -- in particular, ../Makefile.inc hadn't been
pulled in via bsd.init.mk (via bsd.lib.mk, bsd.prog.mk), so the value
of .ALLSRC (evaluated immediately) was empty. .include bsd.init.mk
explicitly so we can be certain that the values used as dependencies in
the targets are defined when the target recipe has been evaluated.

Reminder: thou shalt separate out separate functional changes before
committing them.

(YUGE) Pointyhat to: ngie
In collaboration with: bdrewery


/freebsd-11-stable/usr.sbin/acpi/Makefile.inc
/freebsd-11-stable/usr.sbin/amd/Makefile.inc
/freebsd-11-stable/usr.sbin/amd/amd/Makefile
/freebsd-11-stable/usr.sbin/amd/libamu/Makefile
/freebsd-11-stable/usr.sbin/ancontrol/Makefile
/freebsd-11-stable/usr.sbin/audit/Makefile
/freebsd-11-stable/usr.sbin/auditd/Makefile
/freebsd-11-stable/usr.sbin/auditdistd/Makefile
/freebsd-11-stable/usr.sbin/auditreduce/Makefile
/freebsd-11-stable/usr.sbin/authpf/Makefile
/freebsd-11-stable/usr.sbin/autofs/Makefile
/freebsd-11-stable/usr.sbin/bhyvectl/Makefile
/freebsd-11-stable/usr.sbin/bhyveload/Makefile
/freebsd-11-stable/usr.sbin/bluetooth/Makefile.inc
/freebsd-11-stable/usr.sbin/bluetooth/bthidcontrol/Makefile
/freebsd-11-stable/usr.sbin/bluetooth/rfcomm_pppd/Makefile
/freebsd-11-stable/usr.sbin/bsnmpd/bsnmpd/Makefile
/freebsd-11-stable/usr.sbin/bsnmpd/gensnmptree/Makefile
/freebsd-11-stable/usr.sbin/bsnmpd/tools/Makefile.inc
/freebsd-11-stable/usr.sbin/camdd/Makefile
/freebsd-11-stable/usr.sbin/ckdist/Makefile
/freebsd-11-stable/usr.sbin/cron/crontab/Makefile
/freebsd-11-stable/usr.sbin/cron/lib/Makefile
/freebsd-11-stable/usr.sbin/ctladm/Makefile
/freebsd-11-stable/usr.sbin/ctld/Makefile
/freebsd-11-stable/usr.sbin/ctm/Makefile.inc
/freebsd-11-stable/usr.sbin/ctm/ctm/Makefile
/freebsd-11-stable/usr.sbin/ctm/ctm_dequeue/Makefile
/freebsd-11-stable/usr.sbin/ctm/ctm_smail/Makefile
/freebsd-11-stable/usr.sbin/dconschat/Makefile
/freebsd-11-stable/usr.sbin/editmap/Makefile
/freebsd-11-stable/usr.sbin/eeprom/Makefile
/freebsd-11-stable/usr.sbin/fdcontrol/Makefile
/freebsd-11-stable/usr.sbin/fdformat/Makefile
/freebsd-11-stable/usr.sbin/fmtree/Makefile
/freebsd-11-stable/usr.sbin/fstyp/Makefile
/freebsd-11-stable/usr.sbin/ftp-proxy/Makefile
/freebsd-11-stable/usr.sbin/fwcontrol/Makefile
/freebsd-11-stable/usr.sbin/gpioctl/Makefile
/freebsd-11-stable/usr.sbin/gssd/Makefile
/freebsd-11-stable/usr.sbin/hyperv/tools/kvp/Makefile
/freebsd-11-stable/usr.sbin/hyperv/tools/vss/Makefile
/freebsd-11-stable/usr.sbin/iovctl/Makefile
/freebsd-11-stable/usr.sbin/iscsid/Makefile
/freebsd-11-stable/usr.sbin/mailstats/Makefile
/freebsd-11-stable/usr.sbin/mailwrapper/Makefile
/freebsd-11-stable/usr.sbin/makemap/Makefile
/freebsd-11-stable/usr.sbin/mlxcontrol/Makefile
/freebsd-11-stable/usr.sbin/mount_smbfs/Makefile
/freebsd-11-stable/usr.sbin/mountd/Makefile
Makefile
/freebsd-11-stable/usr.sbin/ndiscvt/Makefile
/freebsd-11-stable/usr.sbin/ndp/Makefile
/freebsd-11-stable/usr.sbin/nmtree/Makefile
/freebsd-11-stable/usr.sbin/pkg/Makefile
/freebsd-11-stable/usr.sbin/pnpinfo/Makefile
/freebsd-11-stable/usr.sbin/praliases/Makefile
/freebsd-11-stable/usr.sbin/praudit/Makefile
/freebsd-11-stable/usr.sbin/pwd_mkdb/Makefile
/freebsd-11-stable/usr.sbin/rip6query/Makefile
/freebsd-11-stable/usr.sbin/rpcbind/tests/Makefile
/freebsd-11-stable/usr.sbin/rtadvctl/Makefile
/freebsd-11-stable/usr.sbin/sa/Makefile
/freebsd-11-stable/usr.sbin/sendmail/Makefile
/freebsd-11-stable/usr.sbin/tcpdump/tcpdump/Makefile
/freebsd-11-stable/usr.sbin/timed/timedc/Makefile
315599 20-Mar-2017 pfg

MFC r315212, r315213, r315214, r315215:
mkimg(1): let calloc(3) do the multiplication.
nscd(8): let calloc(3) do the multiplying.
mpsutil(8): let calloc(3) do the multiplying.
ypbind(8): let calloc(3) do the multiplying.

MFC after: 1 week

302408 08-Jul-2016 gjb

Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle.
Prune svn:mergeinfo from the new branch, as nothing has been merged
here.

Additional commits post-branch will follow.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


/freebsd-11-stable/MAINTAINERS
/freebsd-11-stable/cddl
/freebsd-11-stable/cddl/contrib/opensolaris
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/print
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zfs
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs
/freebsd-11-stable/contrib/amd
/freebsd-11-stable/contrib/apr
/freebsd-11-stable/contrib/apr-util
/freebsd-11-stable/contrib/atf
/freebsd-11-stable/contrib/binutils
/freebsd-11-stable/contrib/bmake
/freebsd-11-stable/contrib/byacc
/freebsd-11-stable/contrib/bzip2
/freebsd-11-stable/contrib/com_err
/freebsd-11-stable/contrib/compiler-rt
/freebsd-11-stable/contrib/dialog
/freebsd-11-stable/contrib/dma
/freebsd-11-stable/contrib/dtc
/freebsd-11-stable/contrib/ee
/freebsd-11-stable/contrib/elftoolchain
/freebsd-11-stable/contrib/elftoolchain/ar
/freebsd-11-stable/contrib/elftoolchain/brandelf
/freebsd-11-stable/contrib/elftoolchain/elfdump
/freebsd-11-stable/contrib/expat
/freebsd-11-stable/contrib/file
/freebsd-11-stable/contrib/gcc
/freebsd-11-stable/contrib/gcclibs/libgomp
/freebsd-11-stable/contrib/gdb
/freebsd-11-stable/contrib/gdtoa
/freebsd-11-stable/contrib/groff
/freebsd-11-stable/contrib/ipfilter
/freebsd-11-stable/contrib/ldns
/freebsd-11-stable/contrib/ldns-host
/freebsd-11-stable/contrib/less
/freebsd-11-stable/contrib/libarchive
/freebsd-11-stable/contrib/libarchive/cpio
/freebsd-11-stable/contrib/libarchive/libarchive
/freebsd-11-stable/contrib/libarchive/libarchive_fe
/freebsd-11-stable/contrib/libarchive/tar
/freebsd-11-stable/contrib/libc++
/freebsd-11-stable/contrib/libc-vis
/freebsd-11-stable/contrib/libcxxrt
/freebsd-11-stable/contrib/libexecinfo
/freebsd-11-stable/contrib/libpcap
/freebsd-11-stable/contrib/libstdc++
/freebsd-11-stable/contrib/libucl
/freebsd-11-stable/contrib/libxo
/freebsd-11-stable/contrib/llvm
/freebsd-11-stable/contrib/llvm/projects/libunwind
/freebsd-11-stable/contrib/llvm/tools/clang
/freebsd-11-stable/contrib/llvm/tools/lldb
/freebsd-11-stable/contrib/llvm/tools/llvm-dwarfdump
/freebsd-11-stable/contrib/llvm/tools/llvm-lto
/freebsd-11-stable/contrib/mdocml
/freebsd-11-stable/contrib/mtree
/freebsd-11-stable/contrib/ncurses
/freebsd-11-stable/contrib/netcat
/freebsd-11-stable/contrib/ntp
/freebsd-11-stable/contrib/nvi
/freebsd-11-stable/contrib/one-true-awk
/freebsd-11-stable/contrib/openbsm
/freebsd-11-stable/contrib/openpam
/freebsd-11-stable/contrib/openresolv
/freebsd-11-stable/contrib/pf
/freebsd-11-stable/contrib/sendmail
/freebsd-11-stable/contrib/serf
/freebsd-11-stable/contrib/sqlite3
/freebsd-11-stable/contrib/subversion
/freebsd-11-stable/contrib/tcpdump
/freebsd-11-stable/contrib/tcsh
/freebsd-11-stable/contrib/tnftp
/freebsd-11-stable/contrib/top
/freebsd-11-stable/contrib/top/install-sh
/freebsd-11-stable/contrib/tzcode/stdtime
/freebsd-11-stable/contrib/tzcode/zic
/freebsd-11-stable/contrib/tzdata
/freebsd-11-stable/contrib/unbound
/freebsd-11-stable/contrib/vis
/freebsd-11-stable/contrib/wpa
/freebsd-11-stable/contrib/xz
/freebsd-11-stable/crypto/heimdal
/freebsd-11-stable/crypto/openssh
/freebsd-11-stable/crypto/openssl
/freebsd-11-stable/gnu/lib
/freebsd-11-stable/gnu/usr.bin/binutils
/freebsd-11-stable/gnu/usr.bin/cc/cc_tools
/freebsd-11-stable/gnu/usr.bin/gdb
/freebsd-11-stable/lib/libc/locale/ascii.c
/freebsd-11-stable/sys/cddl/contrib/opensolaris
/freebsd-11-stable/sys/contrib/dev/acpica
/freebsd-11-stable/sys/contrib/ipfilter
/freebsd-11-stable/sys/contrib/libfdt
/freebsd-11-stable/sys/contrib/octeon-sdk
/freebsd-11-stable/sys/contrib/x86emu
/freebsd-11-stable/sys/contrib/xz-embedded
/freebsd-11-stable/usr.sbin/bhyve/atkbdc.h
/freebsd-11-stable/usr.sbin/bhyve/bhyvegc.c
/freebsd-11-stable/usr.sbin/bhyve/bhyvegc.h
/freebsd-11-stable/usr.sbin/bhyve/console.c
/freebsd-11-stable/usr.sbin/bhyve/console.h
/freebsd-11-stable/usr.sbin/bhyve/pci_fbuf.c
/freebsd-11-stable/usr.sbin/bhyve/pci_xhci.c
/freebsd-11-stable/usr.sbin/bhyve/pci_xhci.h
/freebsd-11-stable/usr.sbin/bhyve/ps2kbd.c
/freebsd-11-stable/usr.sbin/bhyve/ps2kbd.h
/freebsd-11-stable/usr.sbin/bhyve/ps2mouse.c
/freebsd-11-stable/usr.sbin/bhyve/ps2mouse.h
/freebsd-11-stable/usr.sbin/bhyve/rfb.c
/freebsd-11-stable/usr.sbin/bhyve/rfb.h
/freebsd-11-stable/usr.sbin/bhyve/sockstream.c
/freebsd-11-stable/usr.sbin/bhyve/sockstream.h
/freebsd-11-stable/usr.sbin/bhyve/usb_emul.c
/freebsd-11-stable/usr.sbin/bhyve/usb_emul.h
/freebsd-11-stable/usr.sbin/bhyve/usb_mouse.c
/freebsd-11-stable/usr.sbin/bhyve/vga.c
/freebsd-11-stable/usr.sbin/bhyve/vga.h
298381 20-Apr-2016 bapt

Plug various resources leak
While here fix a test logic

Reported by: coverity
CID: 1332096, 1332097, 1332098, 1332099, 1332100, 1332101, 1332102
MFC after: 1 week


298374 20-Apr-2016 bapt

Plug leaks

Reported by: Coverity
CID: 1340155 and 1340156
MFC after: 1 week


292864 29-Dec-2015 uqs

Fix type mismatches for malloc(3) and Co.

This is rather pedantic, as for most architectures it holds that
sizeof(type *) == sizeof(type **)

Found by: clang static analyzer
Reviewed by: ed
Differential Revision: https://reviews.freebsd.org/D4722


291002 17-Nov-2015 bapt

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


290115 28-Oct-2015 bdrewery

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


290113 28-Oct-2015 bdrewery

Connect mpsutil for META MODE.


290102 28-Oct-2015 bapt

Merge mpsutil(8) branch

mpsutil(8)/mprutil(8) are new utilities for managing LSI Fusion-MPT
2/3 controllers (mps(4) and mpr(4))

For now only informational commands have been implemented.

This utility has been written by scottl@ [1] and polished by myself[2]

Submitted by: scottl
Discussed with: scottl
Relnotes: yes
Sponsored by: Netflix [1]
Sponsored by: Gandi.net [2]


290098 28-Oct-2015 bapt

Fix a typo in the comment about the include guard

Sponsored by: Gandi.net


290096 28-Oct-2015 bapt

Remove more of the mptutil unused code

Sponsored by: Gandi.net


290095 28-Oct-2015 bapt

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


290093 28-Oct-2015 bapt

Reduce overlinking, for now neither cam nor libutil are needed

Sponsored by: Gandi.net


290092 28-Oct-2015 bapt

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

Sponsored by: Gandi.net


290091 28-Oct-2015 bapt

Replace the manpage with one that actually describes the utility

Sponsored by: Gandi.net


290061 27-Oct-2015 scottl

Add copyright for Netflix for the files that changed from mptutil


290060 27-Oct-2015 scottl

Remove mps_config.c, it's unused.


289416 16-Oct-2015 bapt

Remove the now not needed diff used to switch the tool from mps to mpr

Sponsored by: Gandi.net


289370 15-Oct-2015 bapt

Fix some alignement in the output

Sponsored by: Gandi.net


289366 15-Oct-2015 bapt

Add generic storage structure for both mpr and mps to simplify code
Use correct ioctl on mpr
Prevent duplication in headers between mps_ioctl.h and mpr_ioctl.h

Sponsored by: Gandi.net


289365 15-Oct-2015 bapt

Correctly print the device name of the adapter

Sponsored by: Gandi.net


289364 15-Oct-2015 bapt

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

Sponsored by: Gandi.net


286769 14-Aug-2015 bapt

Fix buildworld

Sponsored by: gandi.net


286180 02-Aug-2015 scottl

Iniital hack of mpsutil