diff -rc xmcd-2.2.orig/libdi_d/slioc.c xmcd-2.2/libdi_d/slioc.c *** xmcd-2.2.orig/libdi_d/slioc.c Sun Nov 30 01:45:28 1997 --- xmcd-2.2/libdi_d/slioc.c Sun Nov 30 01:45:55 1997 *************** *** 597,603 **** static word32_t sav_a1 = 0, sav_a2 = 0; ! #ifdef linux /* Use new method to get drive status */ if (slioc_send(CDROM_DRIVE_STATUS, (void *) CDSL_CURRENT, 0, app_data.debug, &ret)) { --- 597,603 ---- static word32_t sav_a1 = 0, sav_a2 = 0; ! #if defined(linux) && !defined(PPC) /* Use new method to get drive status */ if (slioc_send(CDROM_DRIVE_STATUS, (void *) CDSL_CURRENT, 0, app_data.debug, &ret)) { *************** *** 810,816 **** if (start) { if (loej) ! #ifdef CDROMCLOSETRAY ret = slioc_send(CDROMCLOSETRAY, NULL, 0, TRUE, NULL); #else ret = FALSE; --- 810,816 ---- if (start) { if (loej) ! #if defined(CDROMCLOSETRAY) && !defined(PPC) ret = slioc_send(CDROMCLOSETRAY, NULL, 0, TRUE, NULL); #else ret = FALSE; *************** *** 1383,1388 **** --- 1383,1389 ---- DBGDUMP("cdrom_volctrl data bytes", (byte_t *) &volctrl, sizeof(struct cdrom_volctrl)); + #if defined(linux) && !defined(PPC) if (slioc_send(CDROMVOLCTRL, &volctrl, sizeof(struct cdrom_volctrl), TRUE, NULL)) return (vol); *************** *** 1408,1413 **** --- 1409,1415 ---- /* Still failed: just drop through */ } + #endif }