Re: [PATCH] M68k wd33c93 locking

From: Jan-Benedict Glaw (jbglaw@lug-owl.de)
Date: Mon Jul 28 2003 - 03:49:00 EST


On Sat, 2003-07-26 16:51:29 +0200, Geert Uytterhoeven <geert@linux-m68k.org>
wrote in message <200307261451.h6QEpT9s002280@callisto.of.borg>:
> M68k wd33c93: host_lock is a pointer to a spinlock, not a spinlock (from Ralf
> Bächle)

> --- linux-2.6.x/drivers/scsi/a3000.c Fri May 9 10:21:34 2003
> +++ linux-m68k-2.6.x/drivers/scsi/a3000.c Fri Jun 6 13:33:13 2003
> @@ -36,9 +36,9 @@
> return IRQ_NONE;
> if (status & ISTR_INTS)
> {
> - spin_lock_irqsave(&a3000_host->host_lock, flags);
> + spin_lock_irqsave(a3000_host->host_lock, flags);
> wd33c93_intr (a3000_host);
> - spin_unlock_irqrestore(&a3000_host->host_lock, flags);
> + spin_unlock_irqrestore(a3000_host->host_lock, flags);
> return IRQ_HANDLED;
> }
> printk("Non-serviced A3000 SCSI-interrupt? ISTR = %02x\n", status);

Is this the fix to A3000 SCSI? Hmmm... I'd give my box another try these
days:)

MfG, JBG

-- 
   Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg
    fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!
      ret = do_actions((curr | FREE_SPEECH) & ~(IRAQ_WAR_2 | DRM | TCPA));


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:35 EST