Date: Tue, 22 Aug 2000 21:51:39 -0400 (EDT) From: Smith@ian.org To: Chris Dillon <cdillon@wolves.k12.mo.us> Cc: Dermot McNally <dermot@traveldev.com>, freebsd-stable@FreeBSD.ORG, Fred Clift <fred@clift.org> Subject: Re: Numbering of fxp devices Message-ID: <Pine.LNX.4.21.0008222144360.18090-100000@user1.erieonline.com> In-Reply-To: <Pine.BSF.4.21.0008221105470.59457-100000@mail.wolves.k12.mo.us>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0008222144360.18090-100000>