From owner-freebsd-current@FreeBSD.ORG Tue Apr 16 18:36:15 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B7943CFB; Tue, 16 Apr 2013 18:36:15 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232]) by mx1.freebsd.org (Postfix) with ESMTP id 1020AE69; Tue, 16 Apr 2013 18:36:14 +0000 (UTC) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.5/8.14.5) with ESMTP id r3GIaJGc015834; Tue, 16 Apr 2013 13:36:19 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.5/8.14.5/Submit) id r3GIaIP2015833; Tue, 16 Apr 2013 13:36:18 -0500 (CDT) (envelope-from brooks) Date: Tue, 16 Apr 2013 13:36:18 -0500 From: Brooks Davis To: Adrian Chadd Subject: Re: control of order of inet devices Message-ID: <20130416183618.GG98205@lor.one-eyed-alien.net> References: <20130416135621.GE3286@vpn.offrom.nl> <20130416154423.GD98205@lor.one-eyed-alien.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="L1c6L/cjZjI9d0Eq" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Willy Offermans , freebsd-current@freebsd.org, freebsd-hardware@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Apr 2013 18:36:15 -0000 --L1c6L/cjZjI9d0Eq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Apr 16, 2013 at 10:08:00AM -0700, Adrian Chadd wrote: > Since people keep asking about this; maybe it's time we added a hint > to the bus code that allows for the unit to be set based on the pci > bus / slot / etc. I don't see how that would address Willy's request. Neither the unit number or the if_index of an interface effects its order in getifaddrs() output. With modern bus hierarchies, you probably don't want to use the unit anyway as it loses too much information. Some along the lines of Fedora's Consistent Network Device Naming would likely be more useful. That would be fairly easy to implement. -- Brooks --L1c6L/cjZjI9d0Eq Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iD8DBQFRbZoiXY6L6fI4GtQRAnuJAJ9AU4LWOJ9Fx2XcFfXr3O6VznsC3ACdHU8N z43Dv00XJBwtbzvt8wohuyQ= =hIjv -----END PGP SIGNATURE----- --L1c6L/cjZjI9d0Eq--