From owner-freebsd-hackers@FreeBSD.ORG Sun Apr 9 00:57:15 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93C5716A403 for ; Sun, 9 Apr 2006 00:57:15 +0000 (UTC) (envelope-from dd@freebsd.org) Received: from charade.trit.org (charade.trit.org [65.19.139.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32A4243D48 for ; Sun, 9 Apr 2006 00:57:15 +0000 (GMT) (envelope-from dd@freebsd.org) Received: from maverick.trit.org (maverick.trit.org [IPv6:2001:4830:2381:2062:212:f0ff:fe4c:896a]) by charade.trit.org (Postfix) with ESMTP id C582F1AF62E; Sun, 9 Apr 2006 00:57:14 +0000 (UTC) Received: from maverick.trit.org (localhost [127.0.0.1]) by maverick.trit.org (8.13.6/8.13.4) with ESMTP id k390vEdt060834; Sun, 9 Apr 2006 00:57:14 GMT (envelope-from dd@freebsd.org) Received: (from dima@localhost) by maverick.trit.org (8.13.6/8.13.4/Submit) id k390vDOR060832; Sun, 9 Apr 2006 00:57:13 GMT (envelope-from dd@freebsd.org) X-Authentication-Warning: maverick.trit.org: dima set sender to dd@freebsd.org using -f Date: Sun, 9 Apr 2006 00:57:13 +0000 From: Dima Dorfman To: Mike Meyer Message-ID: <20060409005712.GA856@trit.org> References: <20060407225742.GA21619@odin.ac.hmc.edu> <20060407230247.GH16344@submonkey.net> <4437C9F6.5000008@samsco.org> <17463.65076.117616.563302@bhuda.mired.org> <443811EF.2020509@samsco.org> <17464.8074.937742.701480@bhuda.mired.org> <44383346.2030207@samsco.org> <17464.16087.217524.843667@bhuda.mired.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7AUc2qLy4jB3hD7Z" Content-Disposition: inline In-Reply-To: <17464.16087.217524.843667@bhuda.mired.org> X-PGP-Key: 69FAE582 (https://www.trit.org/~dima/dima.asc) X-PGP-Fingerprint: B340 8338 7DA3 4D61 7632 098E 0730 055B 69FA E582 User-Agent: Mutt/1.5.9i Cc: hackers@freebsd.org Subject: Re: Using any network interface whatsoever X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Apr 2006 00:57:15 -0000 --7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Mike Meyer wrote: > What do I want for that? I identify ethernet boards by which slot on > the back of the system I plug the cable into. Currently, I have to map > that to board types to and which board is plugged into which slot to > know which name to use. I want a name that tells me which slot I plug > a cable in to plug it into that interface. Is information about the slot even available on a PC? For something like this: : em0@pci6:7:0: class=0x020000 card=0x016d1028 chip=0x10768086 rev=0x05 hdr=0x00 : vendor = 'Intel Corporation' : device = '82547EI Gigabit Ethernet Controller' : class = network : subclass = ethernet would you consider eth-6-7-0 to be an improvement over em0? It has the advantage of not changing if another card is added to the system, but it's not very informative. For a system that has only its two on-board NICs, "em0" and "em1" are very obvious--at least it's clear which one corresponds to the label "eth 0" on the chassis. --7AUc2qLy4jB3hD7Z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQFEOFvoBzAFW2n65YIRArj9AJ4vBLlHsCNfgSpEVtNCEESWcAxSGQCeKcz4 dikHHTP5TU+99KlYMaLW7dY= =uSwv -----END PGP SIGNATURE----- --7AUc2qLy4jB3hD7Z--