more than 16 interfaces

Aaron Lehmann aaronl@vitelus.com
Mon Aug 2 20:29:57 1999


Look at the linux-kernel mailing list archives. This came up very recently
(this week).

On Mon, 2 Aug 1999, Chuck Musser wrote:

> Hello all,
> 
> I've tried configuring my kernel (Linux 2.2.10) to use more than 16 eth
> devices, but it didn't work. When the machine boots, it still only
> registers up to eth15. My machine has a built-in 3c905 and 4 Adaptec
> Quartec 4-port PCI ethernet boards. These have DEC DC21140 (rev 34)
> chips.
> 
> Any advice?
> 
> Thanks,
> 
> Chuck
> 
> p.s.: Here's what I added to devices/net/Space.c:
> 
> static struct device eth16_dev = {
>     "eth16", 0,0,0,0,ETH_NOPROBE_ADDR /* I/O base*/, 0,0,0,0, NEXT_DEV,
> ethif_probe };
> static struct device eth15_dev = {
>     "eth15", 0,0,0,0,ETH_NOPROBE_ADDR /* I/O base*/, 0,0,0,0,
> &eth16_dev, ethif_probe };
> static struct device eth14_dev = {
>     "eth14", 0,0,0,0,ETH_NOPROBE_ADDR /* I/O base*/, 0,0,0,0,
> &eth15_dev, ethif_probe };
> static struct device eth13_dev = {
>     "eth13", 0,0,0,0,ETH_NOPROBE_ADDR /* I/O base*/, 0,0,0,0,
> &eth14_dev, ethif_probe };
> static struct device eth12_dev = {
>     "eth12", 0,0,0,0,ETH_NOPROBE_ADDR /* I/O base*/, 0,0,0,0,
> &eth13_dev, ethif_probe };
> static struct device eth11_dev = {
>     "eth11", 0,0,0,0,ETH_NOPROBE_ADDR /* I/O base*/, 0,0,0,0,
> &eth12_dev, ethif_probe };
> static struct device eth10_dev = {
>     "eth10", 0,0,0,0,ETH_NOPROBE_ADDR /* I/O base*/, 0,0,0,0,
> &eth11_dev, ethif_probe };
> static struct device eth9_dev = {
>     "eth9", 0,0,0,0,ETH_NOPROBE_ADDR /* I/O base*/, 0,0,0,0, &eth10_dev,
> ethif_probe };
> static struct device eth8_dev = {
>     "eth8", 0,0,0,0,ETH_NOPROBE_ADDR /* I/O base*/, 0,0,0,0, &eth9_dev,
> ethif_probe };
> 
>