[4480] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

SCSI seagate in 2.1.X

daemon@ATHENA.MIT.EDU (Pavel Machek)
Thu Jul 30 16:50:16 1998

Date: 	Thu, 30 Jul 1998 21:03:07 +0200
From: Pavel Machek <pavel@bug.ucw.cz>
To: linux-kernel@vger.rutgers.edu, linux-scsi@vger.rutgers.edu,
        drew@colorado.edu

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-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post