Sun drive capabilities improved. Sun and Windows ASPI use common
MODE_SENSE defines defines now.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: aspi32.c,v 1.13 2004/07/08 01:28:01 rocky Exp $
|
||||
$Id: aspi32.c,v 1.14 2004/07/08 06:30:01 rocky Exp $
|
||||
|
||||
Copyright (C) 2004 Rocky Bernstein <rocky@panix.com>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
static const char _rcsid[] = "$Id: aspi32.c,v 1.13 2004/07/08 01:28:01 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: aspi32.c,v 1.14 2004/07/08 06:30:01 rocky Exp $";
|
||||
|
||||
#include <cdio/cdio.h>
|
||||
#include <cdio/sector.h>
|
||||
@@ -746,12 +746,12 @@ get_drive_cap_aspi (const _img_private_t *env)
|
||||
which = p[0] & 0x3F;
|
||||
switch( which )
|
||||
{
|
||||
case CDRAUDIOCTL:
|
||||
case READERRREC:
|
||||
case CDRPARMS:
|
||||
/* Don't handle theses yet. */
|
||||
case CDIO_MMC_AUDIO_CTL_PAGE:
|
||||
case CDIO_MMC_R_W_ERROR_PAGE:
|
||||
case CDIO_MMC_CDR_PARMS_PAGE:
|
||||
/* Don't handle these yet. */
|
||||
break;
|
||||
case CDRCAPS:
|
||||
case CDIO_MMC_CAPABILITIES_PAGE:
|
||||
i_drivetype |= cdio_get_drive_cap_mmc(p);
|
||||
break;
|
||||
default: ;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* Win32 aspi specific */
|
||||
/*
|
||||
$Id: aspi32.h,v 1.3 2004/06/28 00:24:03 rocky Exp $
|
||||
$Id: aspi32.h,v 1.4 2004/07/08 06:30:17 rocky Exp $
|
||||
|
||||
Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com>
|
||||
|
||||
@@ -145,14 +145,6 @@ struct SRB_ExecSCSICmd
|
||||
unsigned char SenseArea[SENSE_LEN+2];
|
||||
};
|
||||
|
||||
/*!
|
||||
Values and structures used in MODE SENSE 10 command.
|
||||
*/
|
||||
#define READERRREC 0x01
|
||||
#define CDRPARMS 0x0D
|
||||
#define CDRAUDIOCTL 0x0E
|
||||
#define CDRCAPS 0x2A
|
||||
|
||||
/*****************************************************************************
|
||||
%%% SRB - HOST ADAPTER INQUIRY - SC_HA_INQUIRY (0) %%%
|
||||
*****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user