lkml.org 
[lkml]   [2003]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: Linux 2.5.64
    On Tue, 4 Mar 2003, Linus Torvalds wrote:
    > Christoph Hellwig <hch@sgi.com>:
    > o wd33c93 updates

    > Dave Jones <davej@codemonkey.org.uk>:
    > o wd33c93 sync up with 2.4

    These were not compatible. The patch below (untested) fixes the breakage for
    sgiwd93:

    --- linux-2.5.64/drivers/scsi/wd33c93.c.orig Wed Mar 5 10:07:20 2003
    +++ linux-2.5.64/drivers/scsi/wd33c93.c Wed Mar 5 11:56:14 2003
    @@ -1471,7 +1471,7 @@
    int busycount = 0;
    extern void sgiwd93_reset(unsigned long);
    /* wait 'til the chip gets some time for us */
    - while ((READ_AUX_STAT() & ASR_BSY) && busycount++ < 100)
    + while ((read_aux_stat(regs) & ASR_BSY) && busycount++ < 100)
    udelay (10);
    /*
    * there are scsi devices out there, which manage to lock up
    @@ -1481,7 +1481,7 @@
    * does this for the SGI Indy, where this is possible
    */
    /* still busy ? */
    - if (READ_AUX_STAT() & ASR_BSY)
    + if (read_aux_stat(regs) & ASR_BSY)
    sgiwd93_reset(instance->base); /* yeah, give it the hard one */
    }
    #endif
    Gr{oetje,eeting}s,
    Geert

    --
    Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

    In personal conversations with technical people, I call myself a hacker. But
    when I'm talking to journalists I just say "programmer" or something like that.
    -- Linus Torvalds

    -
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:33    [W:6.835 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site