All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] net: phy: micrel: add support for KSZ8081MNX
@ 2015-03-24 10:32 Luca Ellero
  2015-03-24 11:53 ` Pavel Machek
  2015-03-27 21:04 ` Joe Hershberger
  0 siblings, 2 replies; 3+ messages in thread
From: Luca Ellero @ 2015-03-24 10:32 UTC (permalink / raw)
  To: u-boot

This patch adds a support for KSZ8081MNX in MII mode.

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
---
 drivers/net/phy/micrel.c |   11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c
index 1815b29..49f444a 100644
--- a/drivers/net/phy/micrel.c
+++ b/drivers/net/phy/micrel.c
@@ -22,6 +22,16 @@ static struct phy_driver KSZ804_driver = {
 	.shutdown = &genphy_shutdown,
 };
 
+static struct phy_driver KSZ8081_driver = {
+	.name = "Micrel KSZ8081",
+	.uid = 0x221560,
+	.mask = 0xfffff0,
+	.features = PHY_BASIC_FEATURES,
+	.config = &genphy_config,
+	.startup = &genphy_startup,
+	.shutdown = &genphy_shutdown,
+};
+
 /**
  * KSZ8895
  */
@@ -272,6 +282,7 @@ static struct phy_driver ksz9031_driver = {
 int phy_micrel_init(void)
 {
 	phy_register(&KSZ804_driver);
+	phy_register(&KSZ8081_driver);
 #ifdef CONFIG_PHY_MICREL_KSZ9021
 	phy_register(&ksz9021_driver);
 #else
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] net: phy: micrel: add support for KSZ8081MNX
  2015-03-24 10:32 [U-Boot] [PATCH] net: phy: micrel: add support for KSZ8081MNX Luca Ellero
@ 2015-03-24 11:53 ` Pavel Machek
  2015-03-27 21:04 ` Joe Hershberger
  1 sibling, 0 replies; 3+ messages in thread
From: Pavel Machek @ 2015-03-24 11:53 UTC (permalink / raw)
  To: u-boot

On Tue 2015-03-24 11:32:24, Luca Ellero wrote:
> This patch adds a support for KSZ8081MNX in MII mode.
> 
> Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>

Acked-by: Pavel Machek <pavel@denx.de>

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] net: phy: micrel: add support for KSZ8081MNX
  2015-03-24 10:32 [U-Boot] [PATCH] net: phy: micrel: add support for KSZ8081MNX Luca Ellero
  2015-03-24 11:53 ` Pavel Machek
@ 2015-03-27 21:04 ` Joe Hershberger
  1 sibling, 0 replies; 3+ messages in thread
From: Joe Hershberger @ 2015-03-27 21:04 UTC (permalink / raw)
  To: u-boot

Hi Luca,

On Tue, Mar 24, 2015 at 5:32 AM, Luca Ellero <luca.ellero@brickedbrain.com>
wrote:
>
> This patch adds a support for KSZ8081MNX in MII mode.
>
> Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>

Applied to net/next, thanks!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-27 21:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-24 10:32 [U-Boot] [PATCH] net: phy: micrel: add support for KSZ8081MNX Luca Ellero
2015-03-24 11:53 ` Pavel Machek
2015-03-27 21:04 ` Joe Hershberger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.