Eitan Adler
9059c77ef2
mpsutil: add missing braces
...
Obtained from: DragonFly (c5d53f11a9510c5c79e196857a1200925fffacc8)
2018-05-23 07:38:58 +00:00
Scott Long
b3995bb872
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
2018-03-12 05:03:32 +00:00
Bryan Drewery
ea825d0274
DIRDEPS_BUILD: Update dependencies.
...
Sponsored by: Dell EMC Isilon
2017-10-31 00:07:04 +00:00
Scott Long
99cc4d5177
Fix some broken logic used in obtaining the certain config pages. I'm
...
surprised that this even pretended to work.
PR: 215793
Submitted by: longwitz@incore.de
2017-07-27 05:31:48 +00:00
Scott Long
e8262ee824
Show more fields in the IOCFact message
2017-05-05 17:01:54 +00:00
Pedro F. Giffuni
4b6fa244b2
mpsutil(8): let calloc(3) do the multiplying.
2017-03-13 20:49:31 +00:00
Enji Cooper
64a0982bee
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
2017-03-04 11:38:03 +00:00
Baptiste Daroussin
0ce8c4a33c
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
2016-04-20 21:32:34 +00:00
Baptiste Daroussin
4ecb514126
Plug leaks
...
Reported by: Coverity
CID: 1340155 and 1340156
MFC after: 1 week
2016-04-20 21:11:49 +00:00
Ulrich Spörlein
c9e1c304c1
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
2015-12-29 11:24:41 +00:00
Baptiste Daroussin
3e8918911e
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
2015-11-17 20:42:59 +00:00
Bryan Drewery
e6b0222d60
Include libutil's headers directly from src to avoid recording a dirdeps
...
dependency for META MODE.
2015-10-28 16:31:04 +00:00
Bryan Drewery
985dfe52e9
Connect mpsutil for META MODE.
2015-10-28 16:22:00 +00:00
Baptiste Daroussin
4080404605
Fix a typo in the comment about the include guard
...
Sponsored by: Gandi.net
2015-10-28 11:29:58 +00:00
Baptiste Daroussin
08a1f267fa
Remove more of the mptutil unused code
...
Sponsored by: Gandi.net
2015-10-28 11:28:46 +00:00
Baptiste Daroussin
5114c60e8a
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
2015-10-28 11:25:28 +00:00
Baptiste Daroussin
76103694a0
Reduce overlinking, for now neither cam nor libutil are needed
...
Sponsored by: Gandi.net
2015-10-28 11:20:55 +00:00
Baptiste Daroussin
64dbc39cd3
Do enforce "-g", DEBUG_FLAGS can be user if one want to set it
...
Sponsored by: Gandi.net
2015-10-28 11:18:43 +00:00
Baptiste Daroussin
04be2b8b7a
Replace the manpage with one that actually describes the utility
...
Sponsored by: Gandi.net
2015-10-28 11:06:04 +00:00
Scott Long
883bb7e941
Add copyright for Netflix for the files that changed from mptutil
2015-10-27 20:56:57 +00:00
Scott Long
aa307236af
Remove mps_config.c, it's unused.
2015-10-27 20:56:34 +00:00
Baptiste Daroussin
c05f3be9a5
Remove the now not needed diff used to switch the tool from mps to mpr
...
Sponsored by: Gandi.net
2015-10-16 09:37:15 +00:00
Baptiste Daroussin
9b51f8578a
Fix some alignement in the output
...
Sponsored by: Gandi.net
2015-10-15 17:16:17 +00:00
Baptiste Daroussin
5a92b27175
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
2015-10-15 15:51:40 +00:00
Baptiste Daroussin
3f4fe35d6c
Correctly print the device name of the adapter
...
Sponsored by: Gandi.net
2015-10-15 15:24:13 +00:00
Baptiste Daroussin
48f31f4fef
Make mpsutil open the mpr devices when named mprutil
...
Make mprutil a hardlink to mpsutil
Sponsored by: Gandi.net
2015-10-15 15:19:38 +00:00
Baptiste Daroussin
125c7a1e56
Fix buildworld
...
Sponsored by: gandi.net
2015-08-14 10:17:52 +00:00
Scott Long
29b76e539f
Iniital hack of mpsutil
2015-08-02 03:52:51 +00:00