Commit Graph

4 Commits

Author SHA1 Message Date
Eitan Adler
af57f4cf56 add missing variable declaration when DEBUG is defined forgotten in
r215046

PR:		bin/166404
Submitted by:	"Conrad J. Sabatier" <conrads@cox.net>
Approved by:	cperciva
MFC after:	3 days
2012-05-30 03:57:49 +00:00
John Baldwin
c5f2b79dc7 - Save errno values before calling warn(3) so that errors are correctly
reported.
- Check for malloc() failures.

Submitted by:	gcooper
MFC after:	1 week
2010-11-09 19:28:06 +00:00
John Baldwin
5f1f6da8ba - Don't emit a warning in 'show adapter' if the IOC2 or IOC6 pages are not
present.  mpt(4) controllers that do not support RAID do not have an IOC6
  page, for example.
- Correct a check for a missing page error in a debug function.

MFC after:	1 week
2010-02-19 14:31:01 +00:00
Scott Long
fc58801ccc Add mptutil, a basic utility for managing MPT SCSI/SATA/SAS controllers.
Drive and controller status can be reported, basic attributes changed,
and arrays and spares can be created and deleted.

Approved by:	re
Obtained from:	Yahoo! Inc.
2009-08-14 13:13:12 +00:00