diff --git a/include/cdio/scsi_mmc.h b/include/cdio/scsi_mmc.h index c6467af6..a7600555 100644 --- a/include/cdio/scsi_mmc.h +++ b/include/cdio/scsi_mmc.h @@ -1,5 +1,5 @@ /* - $Id: scsi_mmc.h,v 1.2 2004/05/11 02:15:47 rocky Exp $ + $Id: scsi_mmc.h,v 1.3 2004/05/26 06:29:15 rocky Exp $ Copyright (C) 2003, 2004 Rocky Bernstein @@ -48,6 +48,13 @@ #define CDIO_MMC_GPCMD_READ_CD 0xbe #define CDIO_MMC_GPCMD_READ_MSF 0xb9 +/*! This is listed as optional in ATAPI 2.6, but is (curiously) + missing from Mt. Fuji, Table 57. It _is_ mentioned in Mt. Fuji + Table 377 as an MMC command for SCSi devices though... Most ATAPI + drives support it. */ +#define CDIO_MMC_GPCMD_SET_SPEED 0xbb + + #define CDIO_MMC_SET_COMMAND(rec, command) \ rec[0] = command diff --git a/include/cdio/types.h b/include/cdio/types.h index 52f77d74..8541ce4f 100644 --- a/include/cdio/types.h +++ b/include/cdio/types.h @@ -1,5 +1,5 @@ /* - $Id: types.h,v 1.16 2004/05/11 02:15:57 rocky Exp $ + $Id: types.h,v 1.17 2004/05/26 06:29:15 rocky Exp $ Copyright (C) 2000 Herbert Valerio Riedel Copyright (C) 2002, 2003, 2004 Rocky Bernstein @@ -238,6 +238,11 @@ extern "C" { */ #define CDIO_INVALID_LSN CDIO_INVALID_LBA + /*! + Number of ASCII bytes in a media catalog number (MCN). + */ +#define CDIO_MCN_SIZE 13 + typedef int cdio_fs_anal_t; /*! The type of an drive capability bit mask. See below for values*/