Re: 2.4.0test3 eepro100 module: card reports no reousrces

From: David Richardson (drr@chpc.utah.edu)
Date: Thu Jul 13 2000 - 09:59:56 EST


On Thu, 13 Jul 2000, Andrey Savochkin wrote:

> On Wed, Jul 12, 2000 at 10:31:51PM -0400, Eric Buddington wrote:
> > Linux 2.4.0test3 on an Athlon, with Ben Grear's vlan patch applied,
> > and the eepro100 init string tweaked to make the card accept big frames.
> >
> > I get the occasional message
> >
> > eth0: card reports no resources
>
> It's a known problem. I'm trying to do something with it.

On a three of my machines, I have the same problem. I have found that
making the following changes to drivers/net/eepro100.c appears to fix the
problem (at least, it silences the messages, and all appears to work
fine). It may be important to note that I compile the eepro100 driver into
the kernel, rather than as a module.

In drivers/net/eepro100.c:
line 36, change "static int txfifo = 8" to "static int txfifo = 15"
line 37, change "static int rxfifo = 8" to "static int rxfifo = 15"
line 60, change "#define TX_RING_SIZE 32"
   to "#define TX_RING_SIZE 64"
line 61, change "#define RX_RING_SIZE 32"
   to "#define RX_RING_SIZE 64"

This has silenced the errors on my machines (one Athlon on an Asus K7M
with two eepro100 cards, one Athlon on an Abit KA7 with one eepro100, and
one K6-2 on a DFI P5-BV3+ with one eepro100); I have seen no adverse
reactions to these changes.

Dave

-- 
David Richardson <drr@chpc.utah.edu>

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 21:00:17 EST