Add multisession test.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
/* Common MMC routines.
|
/* Common MMC routines.
|
||||||
|
|
||||||
$Id: scsi_mmc.c,v 1.1 2004/06/27 21:58:12 rocky Exp $
|
$Id: scsi_mmc.c,v 1.2 2004/06/28 00:26:19 rocky Exp $
|
||||||
|
|
||||||
Copyright (C) 2004 Rocky Bernstein <rocky@panix.com>
|
Copyright (C) 2004 Rocky Bernstein <rocky@panix.com>
|
||||||
|
|
||||||
@@ -45,6 +45,8 @@ cdio_get_drive_cap_mmc(const uint8_t *p)
|
|||||||
if (p[3] & 0x10) i_drivetype |= CDIO_DRIVE_CAP_DVD_R;
|
if (p[3] & 0x10) i_drivetype |= CDIO_DRIVE_CAP_DVD_R;
|
||||||
if (p[3] & 0x20) i_drivetype |= CDIO_DRIVE_CAP_DVD_RAM;
|
if (p[3] & 0x20) i_drivetype |= CDIO_DRIVE_CAP_DVD_RAM;
|
||||||
|
|
||||||
|
if (p[4] & 0x40) i_drivetype |= CDIO_DRIVE_CAP_MULTISESSION;
|
||||||
|
|
||||||
if (p[6] & 0x01) i_drivetype |= CDIO_DRIVE_CAP_LOCK;
|
if (p[6] & 0x01) i_drivetype |= CDIO_DRIVE_CAP_LOCK;
|
||||||
if (p[6] & 0x08) i_drivetype |= CDIO_DRIVE_CAP_OPEN_TRAY;
|
if (p[6] & 0x08) i_drivetype |= CDIO_DRIVE_CAP_OPEN_TRAY;
|
||||||
if (p[6] >> 5 != 0)
|
if (p[6] >> 5 != 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user