svn commit: r214131 - head/usr.sbin/mfiutil

Sergey Kandaurov pluknet at FreeBSD.org
Thu Oct 21 10:46:18 UTC 2010


Author: pluknet
Date: Thu Oct 21 10:46:18 2010
New Revision: 214131
URL: http://svn.freebsd.org/changeset/base/214131

Log:
  Enable copyback and system PD states.
  
  Reviewed by:	jhb
  Approved by:	avg (mentor)
  MFC after:	1 week
  X-MFC-After:	r214130

Modified:
  head/usr.sbin/mfiutil/mfi_drive.c

Modified: head/usr.sbin/mfiutil/mfi_drive.c
==============================================================================
--- head/usr.sbin/mfiutil/mfi_drive.c	Thu Oct 21 10:38:52 2010	(r214130)
+++ head/usr.sbin/mfiutil/mfi_drive.c	Thu Oct 21 10:46:18 2010	(r214131)
@@ -65,6 +65,10 @@ mfi_pdstate(enum mfi_pd_state state)
 		return ("REBUILD");
 	case MFI_PD_STATE_ONLINE:
 		return ("ONLINE");
+	case MFI_PD_STATE_COPYBACK:
+		return ("COPYBACK");
+	case MFI_PD_STATE_SYSTEM:
+		return ("SYSTEM");
 	default:
 		sprintf(buf, "PSTATE 0x%04x", state);
 		return (buf);


More information about the svn-src-head mailing list