svn commit: r314964 - head/sbin/camcontrol

Alexander Motin mav at FreeBSD.org
Thu Mar 9 16:34:56 UTC 2017


Author: mav
Date: Thu Mar  9 16:34:55 2017
New Revision: 314964
URL: https://svnweb.freebsd.org/changeset/base/314964

Log:
  Decode modern PIM flags.
  
  MFC after:	2 weeks

Modified:
  head/sbin/camcontrol/camcontrol.c

Modified: head/sbin/camcontrol/camcontrol.c
==============================================================================
--- head/sbin/camcontrol/camcontrol.c	Thu Mar  9 16:22:21 2017	(r314963)
+++ head/sbin/camcontrol/camcontrol.c	Thu Mar  9 16:34:55 2017	(r314964)
@@ -5378,6 +5378,12 @@ cpi_print(struct ccb_pathinq *cpi)
 		fprintf(stdout, "%s ", adapter_str);
 
 		switch(i) {
+		case PIM_ATA_EXT:
+			str = "can understand ata_ext requests";
+			break;
+		case PIM_EXTLUNS:
+			str = "64bit extended LUNs supported";
+			break;
 		case PIM_SCANHILO:
 			str = "bus scans from high ID to low ID";
 			break;
@@ -5397,6 +5403,12 @@ cpi_print(struct ccb_pathinq *cpi)
 		case PIM_SEQSCAN:
 			str = "scan bus sequentially";
 			break;
+		case PIM_UNMAPPED:
+			str = "unmapped I/O supported";
+			break;
+		case PIM_NOSCAN:
+			str = "does its own scanning";
+			break;
 		default:
 			str = "unknown PIM bit set";
 			break;


More information about the svn-src-head mailing list