scsipi_dtype
dtype = scsipi_dtype(inqbuf->type & SID_TYPE);
dtype = scsipi_dtype(type);
const char *scsipi_dtype(int);