Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1621483

Re: [PATCH] net: phy: micrel: KSZ9031: fix crash when statistic requested

From Grygorii Strashko <grygorii.strashko@ti.com>
Newsgroups linux.kernel
Subject Re: [PATCH] net: phy: micrel: KSZ9031: fix crash when statistic requested
Date 2017-04-11 19:20 +0200
Message-ID <tv7Cp-1vq-5@gated-at.bofh.it> (permalink)
References <tuR4C-7xq-13@gated-at.bofh.it> <tuRei-7C4-5@gated-at.bofh.it> <tv6Gm-QX-29@gated-at.bofh.it> <tv6ZJ-Y3-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 04/11/2017 11:36 AM, Andrew Lunn wrote:
>> I've considered all this option, honestly, but I do not know if this
>> phys (issue should affect KSZ886X, KSZ8873MLL, KSZ9031, KSZ9021, KSZ8061, KS8737)
>> support fetching statistics or not and was hoping to get feedback from community.
>
> Hi Grygorii
>
> Microchip are one of the good guys. All there datesheets are open. So
> you should be able to check this.


Below is what i've found
			0xa 0x15 action
KS8737			-   +    remove stats? - reg 10(0xa) reserved
KSZ8061MNX/MNG		-   +	 remove stats? - reg 10(0xa) reserved
KSZ9021GN		+   +    add .probe()
KSZ9031 		+   +    add .probe()
KSZ8873MLL/FLL/RLL      -   -    remove stats
KSZ886X/KSZ8862		-   -    remove stats

The kszphy_probe() can be reused as .probe() callback as it seems
not phy specific.


-- 
regards,
-grygorii

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] net: phy: micrel: KSZ9031: fix crash when statistic requested Grygorii Strashko <grygorii.strashko@ti.com> - 2017-04-11 01:40 +0200
  Re: [PATCH] net: phy: micrel: KSZ9031: fix crash when statistic  requested Florian Fainelli <f.fainelli@gmail.com> - 2017-04-11 01:50 +0200
    Re: [PATCH] net: phy: micrel: KSZ9031: fix crash when statistic  requested Grygorii Strashko <grygorii.strashko@ti.com> - 2017-04-11 18:20 +0200
      Re: [PATCH] net: phy: micrel: KSZ9031: fix crash when statistic  requested Andrew Lunn <andrew@lunn.ch> - 2017-04-11 18:40 +0200
        Re: [PATCH] net: phy: micrel: KSZ9031: fix crash when statistic  requested Grygorii Strashko <grygorii.strashko@ti.com> - 2017-04-11 19:20 +0200

csiph-web