From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754789AbcHXSQM (ORCPT ); Wed, 24 Aug 2016 14:16:12 -0400 Received: from down.free-electrons.com ([37.187.137.238]:47005 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753140AbcHXSQL (ORCPT ); Wed, 24 Aug 2016 14:16:11 -0400 Date: Wed, 24 Aug 2016 20:14:44 +0200 From: Thomas Petazzoni To: lsorense@csclub.uwaterloo.ca (Lennart Sorensen) Cc: Ralph Sennhauser , "linux-kernel@vger.kernel.org" , Gregory CLEMENT Subject: Re: [Regression?] Commit cb4f71c429 deliberately changes order of network interfaces Message-ID: <20160824201444.487022de@free-electrons.com> In-Reply-To: <20160824180727.GE14311@csclub.uwaterloo.ca> References: <20160821151158.78da01e6@gmail.com> <20160824165011.6c811913@free-electrons.com> <20160824191004.3b4ff2cb@gmail.com> <20160824180727.GE14311@csclub.uwaterloo.ca> Organization: Free Electrons X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Wed, 24 Aug 2016 14:07:27 -0400, Lennart Sorensen wrote: > > The nice thing about having the order in the dtb I thought was that it > > wont ever change. > > I wonder, if someone was to build a box with this cpu, and add a PCIe > network device, which order would they get probed in? Any chance the > PCIe could grab eth0 before the mvneta devices get probed? Depends on the network driver I believe. But with an e1000e NIC plugged in a PCIe slot, it indeed gets assigned as eth0, and the internal mvneta devices get eth1, eth2, etc. Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com