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] [day] [month] [year] [list]
Message-ID: <CAJGZr0KJh9DU+8VOodx7mcjt0jeAZhRZZz5gj+q7mTukSmGHhw@mail.gmail.com>
Date:   Sat, 5 Jan 2019 00:23:43 +0300
From:   Maxim Uvarov <muvarov@...il.com>
To:     RaghuramChary.Jallipalli@...rochip.com
Cc:     kernel list <linux-kernel@...r.kernel.org>,
        UNGLinuxDriver@...rochip.com,
        Steve Glendinning <steve.glendinning@...well.net>
Subject: Re: [PATCH] usbnet: smsc95xx: allow to down ethernet link

чт, 3 янв. 2019 г. в 16:19, <RaghuramChary.Jallipalli@...rochip.com>:
>
> > allow ifconfig ethX to down ethernet link. Ethernet part of chip is switched to
> > power down more and on ifconfig up driver does soft reset and restores it's
> > state.
> >
> Thanks for the patch.
> If I understand the issue correctly, the ethernet link is not going down in power down mode? Pls clarify.

Issue was that if you down interface with ifconfig eth dow, then
ethtool showed that interface is down. But actually pairing ethernet
link is still up.
Later if ifconfig eth up is called then soft reset is called and
pairing ethernet link when down and up. So to down ethernet link I
just followed spec
a) disable autoneg b) enable powerdown bit.

> Does these changes be applied to smsc75xx driver as well??
>
Might be if they have the same sequence for powerdown ethernet part.

Best regards,
Max.


> Thanks,
> -Raghu
>
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ