Remove get_scsi for now.

This commit is contained in:
rocky
2005-01-21 03:15:36 +00:00
parent 688c30e66a
commit cedfde7b80

View File

@@ -1,5 +1,5 @@
/* /*
$Id: _cdio_osx.c,v 1.7 2005/01/20 12:36:21 rocky Exp $ $Id: _cdio_osx.c,v 1.8 2005/01/21 03:15:36 rocky Exp $
Copyright (C) 2003, 2004, 2005 Rocky Bernstein <rocky@panix.com> Copyright (C) 2003, 2004, 2005 Rocky Bernstein <rocky@panix.com>
from vcdimager code: from vcdimager code:
@@ -34,7 +34,7 @@
#include "config.h" #include "config.h"
#endif #endif
static const char _rcsid[] = "$Id: _cdio_osx.c,v 1.7 2005/01/20 12:36:21 rocky Exp $"; static const char _rcsid[] = "$Id: _cdio_osx.c,v 1.8 2005/01/21 03:15:36 rocky Exp $";
#include <cdio/logging.h> #include <cdio/logging.h>
#include <cdio/sector.h> #include <cdio/sector.h>
@@ -165,7 +165,7 @@ GetRegistryEntryProperties ( io_service_t service )
return dict; return dict;
} }
#ifdef GET_SCSI_FIXED
static bool static bool
get_scsi(_img_private_t *p_env) get_scsi(_img_private_t *p_env)
{ {
@@ -243,6 +243,7 @@ get_scsi(_img_private_t *p_env)
return true; return true;
} }
#endif
static bool static bool
init_osx(_img_private_t *p_env) { init_osx(_img_private_t *p_env) {
@@ -325,7 +326,7 @@ init_osx(_img_private_t *p_env) {
*/ */
IORegistryEntryGetPath(p_env->MediaClass_service, kIOServicePlane, IORegistryEntryGetPath(p_env->MediaClass_service, kIOServicePlane,
p_env->psz_MediaClass_service); p_env->psz_MediaClass_service);
#if 0 #ifdef GET_SCSI_FIXED
return get_scsi(p_env); return get_scsi(p_env);
#else #else
return true; return true;
@@ -1690,8 +1691,8 @@ cdio_open_osx (const char *psz_orig_source)
.stat_size = _stat_size_osx .stat_size = _stat_size_osx
}; };
_data = _cdio_malloc (sizeof (_img_private_t)); _data = _cdio_malloc (sizeof (_img_private_t));
_data->access_mode = _AM_OSX; _data->access_mode = _AM_OSX;
_data->MediaClass_service = 0; _data->MediaClass_service = 0;
_data->gen.init = false; _data->gen.init = false;
_data->gen.fd = -1; _data->gen.fd = -1;