Skip to contentSkip to conversation

phy: add Micrel KS8721BL phy definition

PATCH New Vladimir Zapolskiy 2 participants 2 messages Dec 6, 2011 – Dec 20, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 phy: add Micrel KS8721BL phy definition

This adds support for the Micrel KS8721BL/SL PHY.

The definition is taken from the correspondent datasheet.

---
 drivers/net/phy/micrel.c |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
drivers/net/phy/micrel.c +11 -0
index 47064a1..d4e64f2 100644
@@ -32,9 +32,20 @@ static struct phy_driver KSZ804_driver = {
 	.shutdown = &genphy_shutdown,
 };
 
+static struct phy_driver KS8721_driver = {
+	.name = "Micrel KS8721BL",
+	.uid = 0x221610,
+	.mask = 0xfffff0,
+	.features = PHY_BASIC_FEATURES,
+	.config = &genphy_config,
+	.startup = &genphy_startup,
+	.shutdown = &genphy_shutdown,
+};
+
 int phy_micrel_init(void)
 {
 	phy_register(&KSZ804_driver);
+	phy_register(&KS8721_driver);
 
 	return 0;
 }
Signature · 1 line
1.7.5.4
#1 lore raw

PATCH 1/1 phy: add Micrel KS8721BL phy definition

Dear Vladimir Zapolskiy,

Quoted 8 lines · In message <[email protected]>…

This adds support for the Micrel KS8721BL/SL PHY.

The definition is taken from the correspondent datasheet.

---
 drivers/net/phy/micrel.c |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

Applied to "next" branch, thanks.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
People are always a lot more complicated than you  think.  It's  very
important to remember that.             - Terry Pratchett, _Truckers_