} else
hd_status = IDE_ALTSTATUS_REG; /* use non-intrusive polling */
+ /* set features register for atapi identify command */
+ if ((cmd == WIN_PIDENTIFY))
+ OUT_BYTE(0,IDE_FEATURE_REG); /* disable dma & overlap mode */
+
#if CONFIG_BLK_DEV_PROMISE
if (IS_PROMISE_DRIVE) {
if (promise_cmd(drive,PROMISE_IDENTIFY)) {
{
int weight;
-#ifdef __SMP__
+#ifdef __SMP__
/* We are not permitted to run a task someone else is running */
if (p->processor != NO_PROC_ID)
return -1000;
-#ifdef PAST_2_0
+#ifdef PAST_2_0
/* This process is locked to a processor group */
- if (p->processor_mask && !(p->processor_mask & (1<<this_cpu))
+ if (p->processor_mask && !(p->processor_mask & (1<<this_cpu)))
return -1000;
-#endif
+#endif
#endif
/*