[realtek] Re: natsemi problem

Alex Buell alex.buell@tahallah.clara.co.uk
Fri, 29 Dec 2000 14:02:15 +0000 (GMT)


On Fri, 29 Dec 2000, Donald Becker wrote:

> The correct fix is to dynamically increase the Tx threshold by adding the
> following code to the netdev_error() routine:
>
> 	if (intr_status & IntrTxUnderrun) {
> 		if ((np->tx_config & 0x3f) < 62)
> 			np->tx_config += 2;
> 		writew(np->tx_config, ioaddr + TxConfig);
> 	}

Thanks, I'll revert the previous change and add that code and see if it
works better.

FWIW, on a pure 100 megabit network (instead of a mixed 100 and 10 megabit
network as I had previously), I get 1650kb/s with his change with no
errors.

Cheers,
Alex
-- 
To boldly code where no one has coded before.

http://www.tahallah.clara.co.uk