SCSI seagate in 2.1.X

Pavel Machek (pavel@bug.ucw.cz)
Thu, 30 Jul 1998 21:03:07 +0200


Hi!

I bought FUTURE DOMAIN TMC-950. It works well in 2.0, but when I tried
2.1.112, I got burnt (I'm currently trying to fix it, but I'm not too
successfull.). If anyone has seagate.c driver working under 2.1.100+,
please speak up.

Driver contains pearls like

WRITE_DATA ((controller_type == SEAGATE) ? 0x80 : 0x40);
WRITE_CONTROL (CMD_START_ARB);
restore_flags (flags);
}
while (!((status_read = STATUS) & (STAT_ARB_CMPL | STAT_SEL)) &&
(jiffies < clock) && !st0x_aborted);

and is called with interrupts disabled. Well, that can not work :-(,
jiffies really will not change when interrupts are disabled. I enable
them for now, but I'm afraid that I'm breaking something in serious
way.

Pavel

-- 
I'm really pavel@atrey.karlin.mff.cuni.cz. 	   Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html