···20442044 else {20452045 u8 *scsicmd = cmd->cmnd;2046204620472047- if (scsicmd[0] == INQUIRY) {20472047+ if ((scsicmd[0] == INQUIRY) && ((scsicmd[1] & 0x03) == 0)) {20482048 u8 *buf = NULL;20492049 unsigned int buflen;20502050···20572057 * to indicate to the Linux scsi midlayer this is a modern20582058 * device. 2) Ensure response data format / ATAPI information20592059 * are always correct.20602060- */20612061- /* FIXME: do we ever override EVPD pages and the like, with20622062- * this code?20632060 */20642061 if (buf[2] == 0) {20652062 buf[2] = 0x5;