mmc.h: TEST_UNIT_READY MMC command opcode
device.h: Add DRIVER_OP_MMC_SENSE to driver_return_code_t. win32_ioctl.c: work around MS bug where buffer sizes are 0 or 1. Set return code status if sense data passed back. Translate bad parameter MS Windows error into a driver_return_code_t error. test/driver/mmc.c: Reinstate old logic now that the MS Windows driver has been made to work more like other drivers and copes with some of the MS Windows causing failure here.
This commit is contained in:
@@ -113,6 +113,8 @@ extern "C" {
|
||||
|
||||
*/
|
||||
typedef enum {
|
||||
CDIO_MMC_TEST_UNIT_READY = 0x00, /**< Request drive
|
||||
information. */
|
||||
CDIO_MMC_GPCMD_INQUIRY = 0x12, /**< Request drive
|
||||
information. */
|
||||
CDIO_MMC_GPCMD_MODE_SELECT_6 = 0x15, /**< Select medium
|
||||
|
||||
Reference in New Issue
Block a user