The sense I'm getting is that while the bigendianp detection is
clever, it isn't complete. It may be that we need to use this along in conjunctin with the endianness of the OS. That is instead of big/little endian, what's needed is same/not same endian. For now, the simplest thing is to just disable all of this and wait to discover a CD-ROM drive where we have a problem.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: interface.c,v 1.10 2005/01/10 03:39:57 rocky Exp $
|
||||
$Id: interface.c,v 1.11 2005/01/14 03:41:11 rocky Exp $
|
||||
|
||||
Copyright (C) 2005 Rocky Bernstein <rocky@panix.com>
|
||||
Copyright (C) 1998 Monty xiphmont@mit.edu
|
||||
@@ -111,7 +111,16 @@ cdda_open(cdrom_drive_t *d)
|
||||
|
||||
/* d->select_speed(d,d->maxspeed); most drives are full speed by default */
|
||||
if (d->bigendianp==-1)
|
||||
#ifdef USE_DATA_BIGENDIANP
|
||||
d->bigendianp=data_bigendianp(d);
|
||||
#else
|
||||
#if WORDS_BIGENDIAN
|
||||
d->bigendianp=1;
|
||||
#else
|
||||
d->bigendianp=0;
|
||||
#endif /*WORDS_BIGENDIAN*/
|
||||
#endif /*USE_DATA_BIGENDIANP*/
|
||||
|
||||
return(0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user