mav
0eed07e0fc
Pass data pointers to the driver in way in expects.
...
Probably due to historical reasons the driver uses In/Out arguments in
odd way. While this tool still never uses Out arguments to see that,
make the code to not trigger EINVAL in possible future uses.
MFC after: 2 weeks
2019-05-30 15:07:39 +00:00
imp
82650adfef
Regularize the Netflix copyright
...
Use recent best practices for Copyright form at the top of
the license:
1. Remove all the All Rights Reserved clauses on our stuff. Where we
piggybacked others, use a separate line to make things clear.
2. Use "Netflix, Inc." everywhere.
3. Use a single line for the copyright for grep friendliness.
4. Use date ranges in all places for our stuff.
Approved by: Netflix Legal (who gave me the form), adrian@ (pmc files)
2019-02-04 21:28:25 +00:00
eadler
f7570bf76f
mpsutil: correct style
...
Reported by: bapt
2018-05-23 09:46:21 +00:00
eadler
480bd495d1
mpsutil: add missing braces
...
Obtained from: DragonFly (c5d53f11a9510c5c79e196857a1200925fffacc8)
2018-05-23 07:38:58 +00:00
scottl
44716745d0
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
bdrewery
a598c4b809
DIRDEPS_BUILD: Update dependencies.
...
Sponsored by: Dell EMC Isilon
2017-10-31 00:07:04 +00:00
scottl
b7201fe0b2
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
scottl
0a25898f7d
Show more fields in the IOCFact message
2017-05-05 17:01:54 +00:00
pfg
e5975f99a9
mpsutil(8): let calloc(3) do the multiplying.
2017-03-13 20:49:31 +00:00
ngie
ba4a75dd95
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
bapt
40ccde4c2e
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
bapt
4ef4642bcd
Plug leaks
...
Reported by: Coverity
CID: 1340155 and 1340156
MFC after: 1 week
2016-04-20 21:11:49 +00:00
uqs
11e0dd6c90
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
bapt
8f5847a583
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
bdrewery
78fa4cdb3c
Include libutil's headers directly from src to avoid recording a dirdeps
...
dependency for META MODE.
2015-10-28 16:31:04 +00:00
bdrewery
c104db793d
Connect mpsutil for META MODE.
2015-10-28 16:22:00 +00:00
bapt
ec14b01dd8
Fix a typo in the comment about the include guard
...
Sponsored by: Gandi.net
2015-10-28 11:29:58 +00:00
bapt
29a75bb3b5
Remove more of the mptutil unused code
...
Sponsored by: Gandi.net
2015-10-28 11:28:46 +00:00
bapt
9c5528f5f0
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
bapt
6780351969
Reduce overlinking, for now neither cam nor libutil are needed
...
Sponsored by: Gandi.net
2015-10-28 11:20:55 +00:00
bapt
478b2af6e2
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
bapt
1e7fbf4be3
Replace the manpage with one that actually describes the utility
...
Sponsored by: Gandi.net
2015-10-28 11:06:04 +00:00
scottl
e8a9ebe37f
Add copyright for Netflix for the files that changed from mptutil
2015-10-27 20:56:57 +00:00
scottl
53d2f6dfca
Remove mps_config.c, it's unused.
2015-10-27 20:56:34 +00:00
bapt
e713e0e4be
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
bapt
a2bbcc06f3
Fix some alignement in the output
...
Sponsored by: Gandi.net
2015-10-15 17:16:17 +00:00
bapt
6df759e1d9
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
bapt
90d77eb60b
Correctly print the device name of the adapter
...
Sponsored by: Gandi.net
2015-10-15 15:24:13 +00:00
bapt
00fd613f93
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
bapt
3f66ce6962
Fix buildworld
...
Sponsored by: gandi.net
2015-08-14 10:17:52 +00:00
scottl
97b5d9b50f
Iniital hack of mpsutil
2015-08-02 03:52:51 +00:00