diff options
author | Luca Ellero <luca.ellero@brickedbrain.com> | 2015-03-24 11:32:24 +0100 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2015-04-20 17:57:12 -0500 |
commit | c6a40f6e518c4fb900ec6a46a7fc1d1d354beb3a (patch) | |
tree | 44cae9f43da9f28cbf39c1678c29d932a823f306 /drivers/net/phy/micrel.c | |
parent | a095f047ebf3ee098e7b84197d765029e0797dd3 (diff) | |
download | u-boot-imx-c6a40f6e518c4fb900ec6a46a7fc1d1d354beb3a.zip u-boot-imx-c6a40f6e518c4fb900ec6a46a7fc1d1d354beb3a.tar.gz u-boot-imx-c6a40f6e518c4fb900ec6a46a7fc1d1d354beb3a.tar.bz2 |
net: phy: micrel: add support for KSZ8081MNX
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>
Diffstat (limited to 'drivers/net/phy/micrel.c')
-rw-r--r-- | drivers/net/phy/micrel.c | 11 |
1 files changed, 11 insertions, 0 deletions
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 |