Decode modern PIM flags.

MFC after:	2 weeks
This commit is contained in:
Alexander Motin 2017-03-09 16:34:55 +00:00
parent f5c4d58f4a
commit 16eb31fd21

View File

@ -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;