lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160714.161707.2089949241813985527.davem@davemloft.net>
Date:	Thu, 14 Jul 2016 16:17:07 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	hdegoede@...hat.com
Cc:	robh+dt@...nel.org, mark.rutland@....com,
	maxime.ripard@...e-electrons.com, wens@...e.org,
	netdev@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
	devicetree@...r.kernel.org
Subject: Re: [PATCH] dt: bindings: Add a generic ethernet device binding

From: Hans de Goede <hdegoede@...hat.com>
Date: Wed, 13 Jul 2016 12:20:04 +0200

> On some boards (android tablets) different batches use different sdio
> wifi modules. This is not a problem since sdio is a discoverable bus,
> so we only need to describe and activate the mmc controller in dt and
> then the kernel will automatically load the right driver.
> 
> But sometimes it is useful to specify certain ethernet properties for
> these "unknown" sdio devices, specifically we want the boot-loader
> to be able to set "local-mac-address" as some of these sdio wifi
> modules come without an eeprom / without a factory programmed mac
> address.
> 
> Since the exact device is unknown (differs per batch) we cannot use
> a wifi-chip specific compatible. This commit adds a new
> "generic,ethernet" binding for use in dt-nodes describing such an
> unknown ethernet device.
> 
> Cc: Maxime Ripard <maxime.ripard@...e-electrons.com>
> Signed-off-by: Hans de Goede <hdegoede@...hat.com>

Precedence exists for a "system ethernet address" as far back as the
original sparc device tree implementation, so please just specify it
that way rather than trying to force having to make an alias or
reference to it from a specific device.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ