From owner-freebsd-stable Tue Aug 22 4:35:14 2000 Delivered-To: freebsd-stable@freebsd.org Received: from hal.medianet.ie (hal.medianet.ie [212.17.32.26]) by hub.freebsd.org (Postfix) with ESMTP id C147A37B423 for ; Tue, 22 Aug 2000 04:35:10 -0700 (PDT) Received: [from teebar.traveldev.com (rum.medianet.ie [212.17.34.203] by hal.medianet.ie (DIESPAM) with ESMTP id e7MBZ3p10273 for ; Tue, 22 Aug 2000 12:35:03 +0100] Received: from traveldev.com (dermot.traveldev.com [192.168.0.50]) by teebar.traveldev.com (8.10.2/8.10.2) with ESMTP id e7MBZBV76348 for ; Tue, 22 Aug 2000 12:35:11 +0100 (IST) Message-ID: <39A2656A.F156C9D9@traveldev.com> Date: Tue, 22 Aug 2000 12:35:06 +0100 From: Dermot McNally X-Mailer: Mozilla 4.73 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Numbering of fxp devices Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I have a box with two fxp devices which probe like this: fxp0: 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: 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