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: <55C749FD.8050303@cogentembedded.com>
Date:	Sun, 9 Aug 2015 15:39:25 +0300
From:	Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To:	Andrew Lunn <andrew@...n.ch>, David Miller <davem@...emloft.net>
Cc:	Florian Fainelli <f.fainelli@...il.com>,
	netdev <netdev@...r.kernel.org>
Subject: Re: [PATCHv2 net-next] dsa: Support multiple MDIO busses

Hello.

On 8/9/2015 4:29 AM, Andrew Lunn wrote:

> When using a cluster of switches, some topologies will have an MDIO
> bus per switch, not one for the whole cluster. Allow this to be
> represented in the device tree, by adding an optional mii-bus property
> at the switch level.

> Signed-off-by: Andrew Lunn <andrew@...n.ch>
> Reviewed-by: Florian Fainelli <f.fainelli@...il.com>
> ---
>
> v2: Fix documentation, which placed the properties documentation in
>      the wrong place.
> ---
>   Documentation/devicetree/bindings/net/dsa/dsa.txt |  5 +++++
>   net/dsa/dsa.c                                     | 12 +++++++++++-
>   2 files changed, 16 insertions(+), 1 deletion(-)

> diff --git a/Documentation/devicetree/bindings/net/dsa/dsa.txt b/Documentation/devicetree/bindings/net/dsa/dsa.txt
> index f0b4cd72411d..fc06f4a7c788 100644
> --- a/Documentation/devicetree/bindings/net/dsa/dsa.txt
> +++ b/Documentation/devicetree/bindings/net/dsa/dsa.txt
> @@ -32,6 +32,10 @@ A switch child node has the following optional property:
>   			  the presence and/or size of a connected EEPROM,
>   			  otherwise optional.
>
> +- mii-bus		: Should be a phandle to a valid MDIO bus device node.

    Why not call it "mdio-bus"?

> +			  This mii-bus will be used in preference to the
> +			  global dsa,mii-bus defined above, for this switch.
> +
>   A switch may have multiple "port" children nodes
>
>   Each port children node must have the following mandatory properties:
[...]

MBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ