linux-mips
[Top] [All Lists]

Re: sgiwd93 multiple disk problem

To: linux-mips@oss.sgi.com
Subject: Re: sgiwd93 multiple disk problem
From: Florian Lohoff <flo@rfc822.org>
Date: Tue, 3 Apr 2001 19:04:58 +0200
In-reply-to: <20010403174749.B4135@paradigm.rfc822.org>; from flo@rfc822.org on Tue, Apr 03, 2001 at 05:47:49PM +0200
Organization: rfc822 - pure communication
References: <20010403174749.B4135@paradigm.rfc822.org>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.3.15i
On Tue, Apr 03, 2001 at 05:47:49PM +0200, Florian Lohoff wrote:
> Hi,
> i guess Ryan Murray has stumbled over the multiple disk problem
> on one of my machines again - I would like to fix that bug if i am able to.

While staring at it - Duplicate cache-inv in driver init

--- drivers/scsi/sgiwd93.c      2001/03/26 00:38:20     1.27
+++ drivers/scsi/sgiwd93.c      2001/04/03 17:03:12
@@ -329,7 +333,6 @@
                        hdata1 = (struct WD33C93_hostdata 
*)sgiwd93_host1->hostdata;
                        hdata1->no_sync = 0;
                        hdata1->dma_bounce_buffer = (uchar *) (KSEG1ADDR(buf));
-                       dma_cache_wback_inv((unsigned long) buf, PAGE_SIZE);
        
                        if (request_irq(SGI_WD93_1_IRQ, sgiwd93_intr, 0, "SGI 
WD93", (void *) sgiwd93_host1)) {
                                printk(KERN_WARNING "sgiwd93: Could not 
allocate irq %d (for host1).\n", SGI_WD93_1_IRQ);


Flo
-- 
Florian Lohoff                  flo@rfc822.org             +49-5201-669912
     Why is it called "common sense" when nobody seems to have any?


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