mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Grygorii Strashko <grygorii.strashko@ti.com>
To: Andrew Lunn <andrew@lunn.ch>
Cc: Florian Fainelli <f.fainelli@gmail.com>,
	"David S. Miller" <davem@davemloft.net>, <netdev@vger.kernel.org>,
	Sekhar Nori <nsekhar@ti.com>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] net: phy: micrel: KSZ9031: fix crash when statistic requested
Date: Tue, 11 Apr 2017 12:17:16 -0500	[thread overview]
Message-ID: <a397cb88-4fd9-b34d-ab96-54604be7e6df@ti.com> (raw)
In-Reply-To: <20170411163628.GL27307@lunn.ch>



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

      reply	other threads:[~2017-04-11 17:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-10 23:33 Grygorii Strashko
2017-04-10 23:40 ` Florian Fainelli
2017-04-11 16:17   ` Grygorii Strashko
2017-04-11 16:36     ` Andrew Lunn
2017-04-11 17:17       ` Grygorii Strashko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a397cb88-4fd9-b34d-ab96-54604be7e6df@ti.com \
    --to=grygorii.strashko@ti.com \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=f.fainelli@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=nsekhar@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®