diff -Naur smartmontools_original/scsicmds.h smartmontools_patched/scsicmds.h
old
|
new
|
|
184 | 184 | #define SCSI_PT_CDROM 0x5 |
185 | 185 | #define SCSI_PT_MEDIUM_CHANGER 0x8 |
186 | 186 | #define SCSI_PT_ENCLOSURE 0xd |
| 187 | #define SCSI_PT_HOST_MANAGED 0x14 |
187 | 188 | |
188 | 189 | /* Transport protocol identifiers or just Protocol identifiers */ |
189 | 190 | #define SCSI_TPROTO_FCP 0 |
diff -Naur smartmontools_original/scsiprint.cpp smartmontools_patched/scsiprint.cpp
old
|
new
|
|
2268 | 2268 | failuretest(MANDATORY_CMD, returnval |= FAILID); |
2269 | 2269 | any_output = true; |
2270 | 2270 | } |
2271 | | is_disk = (SCSI_PT_DIRECT_ACCESS == peripheral_type); |
| 2271 | is_disk = ((SCSI_PT_DIRECT_ACCESS == peripheral_type) || |
| 2272 | (SCSI_PT_HOST_MANAGED == peripheral_type)); |
2272 | 2273 | is_tape = ((SCSI_PT_SEQUENTIAL_ACCESS == peripheral_type) || |
2273 | 2274 | (SCSI_PT_MEDIUM_CHANGER == peripheral_type)); |
2274 | 2275 | |