Implementation of the command set of USB Mass Storage Specification\r
for Bootability, Revision 1.0.\r
\r
-Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2007 - 2017, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
switch (USB_BOOT_SENSE_KEY (SenseData.SenseKey)) {\r
\r
case USB_BOOT_SENSE_NO_SENSE:\r
- Status = EFI_NO_RESPONSE;\r
+ if (SenseData.Asc == USB_BOOT_ASC_NO_ADDITIONAL_SENSE_INFORMATION) {\r
+ //\r
+ // It is not an error if a device does not have additional sense information\r
+ //\r
+ Status = EFI_SUCCESS;\r
+ } else {\r
+ Status = EFI_NO_RESPONSE;\r
+ }\r
break;\r
\r
case USB_BOOT_SENSE_RECOVERED:\r
Definition of the command set of USB Mass Storage Specification\r
for Bootability, Revision 1.0.\r
\r
-Copyright (c) 2007 - 2012, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2007 - 2017, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
#define USB_BOOT_SENSE_VOLUME_OVERFLOW 0x0D ///< Partition overflow\r
#define USB_BOOT_SENSE_MISCOMPARE 0x0E ///< Source data mis-match while verfying.\r
\r
-#define USB_BOOT_ASC_NOT_READY 0x04\r
-#define USB_BOOT_ASC_NO_MEDIA 0x3A\r
-#define USB_BOOT_ASC_MEDIA_CHANGE 0x28\r
+#define USB_BOOT_ASC_NO_ADDITIONAL_SENSE_INFORMATION 0x00\r
+#define USB_BOOT_ASC_NOT_READY 0x04\r
+#define USB_BOOT_ASC_NO_MEDIA 0x3A\r
+#define USB_BOOT_ASC_MEDIA_CHANGE 0x28\r
\r
//\r
// Supported PDT codes, or Peripheral Device Type\r