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: <b7d6a721c1a5dd7de39483a9f70c40912bb5265b.camel@microchip.com>
Date:   Tue, 22 Mar 2022 01:49:29 +0530
From:   Prasanna Vengateshan <prasanna.vengateshan@...rochip.com>
To:     Andrew Lunn <andrew@...n.ch>
CC:     <netdev@...r.kernel.org>, <olteanv@...il.com>,
        <robh+dt@...nel.org>, <UNGLinuxDriver@...rochip.com>,
        <woojung.huh@...rochip.com>, <hkallweit1@...il.com>,
        <linux@...linux.org.uk>, <davem@...emloft.net>, <kuba@...nel.org>,
        <linux-kernel@...r.kernel.org>, <vivien.didelot@...il.com>,
        <f.fainelli@...il.com>, <devicetree@...r.kernel.org>,
        Rob Herring <robh@...nel.org>
Subject: Re: [PATCH v9 net-next 03/11] dt-bindings: net: dsa: dt bindings
 for microchip lan937x

On Sun, 2022-03-20 at 01:49 +0100, Andrew Lunn wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the
> content is safe
> 
> > +examples:
> 
> > +          port@6 {
> > +            reg = <6>;
> > +            label = "lan5";
> > +            phy-mode = "internal";
> > +            phy-handle = <&t1phy4>;
> > +          };
> > +          port@7 {
> > +            reg = <7>;
> > +            label = "lan3";
> > +            phy-mode = "internal";
> > +            phy-handle = <&t1phy5>;
> > +          };
> > +        };
> > +
> > +        mdio {
> 
> ..
> 
> > +          t1phy4: ethernet-phy@6{
> > +            reg = <0x6>;
> > +          };
> > +          t1phy5: ethernet-phy@7{
> > +            reg = <0x7>;
> > +          };
> 
> I know it is only an example, but the numbering is a little odd here.
> 
> Port 6, which is named lan5 using t1phy4 at address 6?
> 
> I would be more likely to use t1phy6 instead of t1phy4. And t1phy7
> instead of t1phy5.

> 
>         Andrew

Sure, will change it in the next rev as above, Labels are just named to
understand front panel naming.

Prasanna V

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ