scsi_mmc.h: add definition for SET_SPEED
types.h: add size of MCN.
This commit is contained in:
@@ -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 <rocky@panix.com>
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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 <hvr@gnu.org>
|
||||
Copyright (C) 2002, 2003, 2004 Rocky Bernstein <rocky@panix.com>
|
||||
@@ -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*/
|
||||
|
||||
Reference in New Issue
Block a user