From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Walle Date: Sat, 24 Apr 2021 13:01:46 +0200 Subject: [PATCH] net: use a more deterministic approach to get the active ethernet device In-Reply-To: <20210224163044.17017-1-michael@walle.cc> References: <20210224163044.17017-1-michael@walle.cc> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am 2021-02-24 17:30, schrieb Michael Walle: > If the environment variable "ethact" is not set, the first device in > the > uclass is returned. This depends on the probing order of the ethernet > devices. Moreover it is not not configurable at all. > > Try to return the ethernet device with sequence id 0 first which then > can be configured by the aliases in a device tree. Fall back to the old > mechanism in case of an error. any news? -michael