Date: Wed, 23 Aug 2000 16:39:30 -0700 From: Mike Smith <msmith@freebsd.org> To: Dermot McNally <dermot@traveldev.com> Cc: freebsd-stable@freebsd.org Subject: Re: Numbering of fxp devices Message-ID: <200008232339.QAA00873@mass.osd.bsdi.com> In-Reply-To: Your message of "Tue, 22 Aug 2000 12:35:06 BST." <39A2656A.F156C9D9@traveldev.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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? The numbering is based on slot numbers as assigned by your BIOS. Things may be insanely permuted if/when you move things around, but they should stay stable otherwise. -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] 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?200008232339.QAA00873>