[USBSTOR] Rework the routines for sending internal SCSI requests.

Now for each request SenseBuffer is correctly set
and 3 attempts are made to be sure the STALL state is cleared and
the error is in something else.
Remove the usage of UFI_INQUIRY_DATA structure in favor of "standard"
INQUIRYDATA structure from scsi.h

Based in Vadim Galyant's patches to usbstor
This commit is contained in:
Victor Perevertkin 2019-03-31 16:52:04 +03:00
parent ed6724cd7e
commit f3fd12b9be
4 changed files with 230 additions and 273 deletions

View file

@ -258,6 +258,7 @@ USBSTOR_ResetDevice(
return Status;
}
#if 0
BOOLEAN
USBSTOR_IsFloppy(
IN PUCHAR Buffer,
@ -319,3 +320,4 @@ USBSTOR_IsFloppy(
return FALSE;
}
#endif