Messages in this thread | | | Date | Sat, 31 Jul 1999 00:45:05 -0400 | From | Paul Gortmaker <> | Subject | Re: more than 16 ethernet devices? |
| |
>is it possible to set up more than 16 eth devices? I'm using 18 ethercards >in one box (it's an industrial PC) and when loading eth modules (some >rtl8139, ne2k-pci and ne), it allows to setup only eth0..eth15, and after >loading another module, dev. name isn't listed in /proc/net/dev (device name >is empty).
Yes - go into linux/drivers/net/net_init.c and change
#define MAX_ETH_CARDS 16
to whatever suits your needs. You may also want to up the limit on the max number of cards handled per module insertion - e.g. in drivers/net/ne.c there is #define MAX_NE_CARDS 4 - increase this too if you have more than four ISA ne2000 cards. (The alternative is to insert the module more than once.) The limit for the 8139 is 8, and the ne2k-pci driver uses a linked list of cards (since it accepts no options) and hence has no similar limit.
Paul.
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
- 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/
| |