lkml.org 
[lkml]   [2002]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    SubjectRe: Sun GEM card looses TX on x86 32bit PCI
    From
       From: Beezly <beezly@beezly.org.uk>
    Date: 11 Mar 2002 12:19:24 +0000

    I managed to run the latest patch, but it appears to Oops when the
    overflow condition occurs. Sadly I was not able to get the output of the
    oops... but it was at exactly the same time that I was run my "test"
    which causes the RX to halt.

    Duh, this will fix it:

    --- drivers/net/sungem.c.~1~ Mon Mar 11 04:18:58 2002
    +++ drivers/net/sungem.c Mon Mar 11 04:24:13 2002
    @@ -317,7 +317,7 @@
    }

    /* Second, disable RX DMA. */
    - writel(0, RXDMA_CFG);
    + writel(0, gp->regs + RXDMA_CFG);
    for (limit = 0; limit < 5000; limit++) {
    if (!(readl(gp->regs + RXDMA_CFG) & RXDMA_CFG_ENABLE))
    break;
    -
    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:24    [W:0.022 / U:31.816 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site