lkml.org 
[lkml]   [2002]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Oops with 3c59x module (3com 3c595 NIC)
    Henning P. Schmiedehausen wrote:
    > Jeff Garzik <jgarzik@pobox.com> writes:
    >
    >
    >>pci-skeleton.c and several of Don's drivers actually do do something
    >>else on TxUnderrun, twiddle DMA burst settings:
    >
    >
    >> if ((intr_status & TxUnderrun)
    >> && (np->tx_config & TxThresholdField) !=
    >>TxThresholdField) {
    >> long ioaddr = dev->base_addr;
    >> np->tx_config += TxThresholdInc;
    >> writel(np->tx_config, ioaddr + TxMode);
    >> np->stats.tx_fifo_errors++;
    >> }
    >
    >
    >>I wonder how feasible it is to do that on 3c59x hardware?
    >
    >
    > I wonder whether this is not a layer violation. Shouldn't there be
    > some sort of API call to do this?


    that's unlikely because this operation is incredibly hardware-specific.

    Jeff



    -
    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:31    [W:0.021 / U:0.312 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site