Date: Tue, 22 Aug 2000 12:35:06 +0100 From: Dermot McNally <dermot@traveldev.com> To: freebsd-stable@freebsd.org Subject: Numbering of fxp devices Message-ID: <39A2656A.F156C9D9@traveldev.com>
next in thread | raw e-mail | index | archive | help
Hi, I have a box with two fxp devices which probe like this: fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0x2000-0x203f mem 0xf4200000-0xf42fffff,0xf4300000-0xf4300fff irq 5 at device 4.0 on pci2 fxp0: Ethernet address 00:d0:b7:69:93:79 fxp1: <Intel Pro 10/100B/100+ Ethernet> port 0x1080-0x10bf mem 0xf4000000-0xf40fffff,0xf4100000-0xf4100fff irq 10 at device 14.0 on pci0 fxp1: Ethernet address 00:90:27:f7:06:2e One of these is integrated in the motherboard, the other is a card. What puzzles me is the order in which the devices are numbered. I had expected (for no particular reason) that the on-board device would come up as fxp0, but when I first installed 4.0-RELEASE, they came up the other way around. The order stayed this way for a couple of weeks during which I tracked -stable and made world frequently, but after one upgrade, the box came up with the on-board card claiming to be fxp0. However, not long afterwards, it reverted to the original behaviour. Now, obviously the numbering doesn't matter all that much. What _does_ matter is if the numbering is unpredictable at boot time (worst case) or if it may be reversed after a remote upgrade. Is this down to pure fluke or can I lock down the order in some way? Thanks, Dermot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39A2656A.F156C9D9>