Re: network card detection in 2.3.18ac7

Lauri Tischler (lauri.tischler@efore.fi)
Tue, 21 Sep 1999 15:18:37 +0300


Alan Cox wrote:
>
> I imagine the pci-scan code is broken.

It's been broken a long time, I'm running 2.2.12 on a box with 4 tulip
cards. three DC21041 and on DS21140

If I position the cards in the box I get
slot-1 DS21140 eth0 pcidevice-8
slot-2 DC21140 eth1 pcidevice-9
slot-3 DC21140 eth2 pcidevice-10
slot-4 DC21140 eth3 pcidevice-11

I move the DS21140 to slot 2 I get

slot-1 DC21140 eth0 pcidevice-8
slot-2 DS21140 eth3 pcidevice-11
slot-3 DC21140 eth1 pcidevice-9
slot-4 DC21140 eth2 pcidevice-10

I would assume that pci-devices are allocated oddly, first nic gets first
pci-device, then the bus is scanned for same type of devices and they get
next pci-devices, etc...

As the the nicnames are allocated against the pci-devicelist, which is
allready wrong, the names are wrong also.

--
Lauri Tischler, Network Admin
Tel:    +358-9-47846331        *       Mouse movement detected      *
Fax:    +358-9-47846500        * Reboot Windows to activate changes *
Mobile: +358-40-5569010    
EMail:  lauri.tischler@efore.fi

- 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/