1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=314964

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;