linux-mips
[Top] [All Lists]

Re: [RFT] DEC SCSI driver clean-up

To: Geert Uytterhoeven <geert@linux-m68k.org>
Subject: Re: [RFT] DEC SCSI driver clean-up
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Mon, 25 Nov 2002 13:30:56 +0100 (MET)
Cc: Linux/MIPS Development <linux-mips@linux-mips.org>, Linux/m68k <linux-m68k@lists.linux-m68k.org>, tsbogend@alpha.franken.de
In-reply-to: <Pine.GSO.4.21.0211211557560.18129-100000@vervain.sonytel.be>
Organization: Technical University of Gdansk
Original-recipient: rfc822;linux-mips@linux-mips.org
Reply-to: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Sender: linux-mips-bounce@linux-mips.org
On Thu, 21 Nov 2002, Geert Uytterhoeven wrote:

> Yes, it definitely doesn't work, since SCSI_JAZZ_ESP isn't used at all in
> jazz_esp.c (noticed while moving the SCSI host template initializers from the
> header files to the source files).

 I suggest the following patch for the Oktagon driver.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +

patch-mips-2.4.20-pre6-20021125-oktagon_esp-0
--- linux/drivers/scsi/oktagon_esp.c.macro      Thu Jun 27 02:59:32 2002
+++ linux/drivers/scsi/oktagon_esp.c    Mon Nov 25 12:11:43 2002
@@ -548,7 +548,7 @@ static void dma_invalidate(struct NCR_ES
 
 void dma_mmu_get_scsi_one(struct NCR_ESP *esp, Scsi_Cmnd *sp)
 {
-        sp->SCp.have_data_in = (int) sp->SCp.ptr =
+        sp->SCp.ptr =
                 sp->request_buffer;
 }
 


<Prev in Thread] Current Thread [Next in Thread>