From: Jeff Garzik <jgarzik@pobox.com>
To: hps@intermeta.de
Cc: linux-kernel@vger.kernel.org
Subject: Re: Oops with 3c59x module (3com 3c595 NIC)
Date: Sun, 08 Dec 2002 14:49:20 -0500 [thread overview]
Message-ID: <3DF3A240.2000508@pobox.com> (raw)
In-Reply-To: <asve18$2i0$1@forge.intermeta.de>
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
next prev parent reply other threads:[~2002-12-08 19:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-07 21:43 Oops with 3c59x module (3com 3c595 NIC) Matt Rickard
2002-12-07 22:17 ` Andrew Morton
2002-12-07 23:16 ` Jeff Garzik
2002-12-07 23:46 ` Andrew Morton
2002-12-08 12:30 ` Henning P. Schmiedehausen
2002-12-08 19:49 ` Jeff Garzik [this message]
2002-12-08 19:13 ` Matt Rickard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3DF3A240.2000508@pobox.com \
--to=jgarzik@pobox.com \
--cc=hps@intermeta.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.