From owner-freebsd-stable Tue Aug 22 18:52:11 2000 Delivered-To: freebsd-stable@freebsd.org Received: from user1.erieonline.com (user1.erieonline.com [63.164.22.8]) by hub.freebsd.org (Postfix) with ESMTP id 0D77A37B42C for ; Tue, 22 Aug 2000 18:52:06 -0700 (PDT) Received: from localhost (iansmith@localhost) by user1.erieonline.com (8.9.3/8.9.3) with ESMTP id VAA18688; Tue, 22 Aug 2000 21:51:39 -0400 Date: Tue, 22 Aug 2000 21:51:39 -0400 (EDT) From: Smith@ian.org X-Sender: iansmith@user1.erieonline.com To: Chris Dillon Cc: Dermot McNally , freebsd-stable@FreeBSD.ORG, Fred Clift Subject: Re: Numbering of fxp devices In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 22 Aug 2000, Chris Dillon wrote: > 7 NICs, one of which is dual-port, for a total of 8 ports. I recently > moved all of those NICs from a Compaq Proliant 3000 running 3.4-STABLE > into a new Proliant ML530 running 4.1-STABLE. The card order is > definately weird, but that isn't so much FreeBSD's fault. Compaq was > nice enough to label primary, secondary, and tertiary PCI bus slots on > the back of the machine, but they aren't in order anyway. What I > ended up doing was booting the system with all the cards installed, > noting the MAC address of each interface, and then comparing that to > physical slot locations. Not as nice as the sequential ordering in > the Proliant 3000, but not a big deal either, as long as it doesn't > change on me in the future without some warning. :-) Might I ask what 2-port card you are using? I have a router with limited slots.. 3 ethernet and four T1 ports currently. I also wonder if there woudl be a way to map cards based on their MAC addresses, or is the MAC address discovery done way too late? Hmm.. maybe some sort of aliasing? A conf file could list device numbers and MAC addresses, so once the kernel finished finding everything, it could look through the cards and asign /dev/ether0 to one, /dev/ether1 to another, ect. Thinking on that.. I do like the aliasing idea. Maybe a /dev/ethernet/ directory where each card is listed by it's MAC address, then given symbolic names to create normal /dev entries that also get listed with ifconfig and such. -- Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message