Re: Patch for eth[4-7]

Paul Gortmaker (gpg109@rsphy1.anu.edu.au)
Thu, 30 May 1996 23:56:38 +1000 (EST)


- From Juan Cespedes (cespedes@etsit.upm.es)
Thu, 30 May 1996 10:54:35 +0200 (MET DST)

> Every time I get a new kernel I have to patch
> drivers/net/Space.c to support more than 4 ethernet devices (I have a
> Linux box with six NE2000's), and I think it would be a good idea to
> include the following patch in the standard kernel to help any of us
> with a Linux acting as a router.

Well, I think it is safe to say that you are one of the few people
that has stuck more than 4 ethercards in a linux box. In fact you are
the only person that I am aware of (other than myself) that has used
five or more cards in one box. And I have only done this for short
periods of testing.

The ethernet-howto does mention that you will have to add more empty
slots if using >4 cards. I suppose we could add another one or two in
v2.1.x whe it comes out.

You may also wish to consider modules as an option. You can simply
change the number of cards per module to whatever you want, i.e:

- #define MAX_NE_CARDS 4 /* Max number of NE cards per module */
+ #define MAX_NE_CARDS 6 /* Max number of NE cards per module */

in ne.c and you are in business.

Paul.