From 16eb31fd2136b93ad07e9046db132ef07d914dc9 Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Thu, 9 Mar 2017 16:34:55 +0000 Subject: [PATCH] Decode modern PIM flags. MFC after: 2 weeks --- sbin/camcontrol/camcontrol.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/sbin/camcontrol/camcontrol.c b/sbin/camcontrol/camcontrol.c index 991475db5d73..d9a9064a1bca 100644 --- a/sbin/camcontrol/camcontrol.c +++ b/sbin/camcontrol/camcontrol.c @@ -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;