Fix to the tulip driver in 2.0.28

Baldur Norddahl (bbn@dark.x.dtu.dk)
Tue, 28 Jan 1997 16:12:08 +0100 (MET)


The tulip driver in linux 2.0.28 is only compatible with the 21140-AB
revision, and not 21140-AC and 21140-AE.

The problem is that the driver accedently activates a new feature in these
chip that it don't know how to handle. The symptoms is a lot of messages
like this:

kernel: eth0: Too much work at interrupt, csr5=0xfc668000.

To fix it look in drivers/net/tulip.c after this line:

#define TINTR_ENABLE 0xFFFFFFFF

and change it to:

#define TINTR_ENABLE 0xFFFFBBFF

This turns off two bits that are marked as reserved in the AB chip. On the
AC and AE chips these two bits activates early receive interrupt and early
transmit interrupt. The driver has no support for these.

Baldur