]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/net/phy/smsc.c
karo: merge with Ka-Ro specific tree for secure boot support
[karo-tx-uboot.git] / drivers / net / phy / smsc.c
index c562f9f0bea5719ee8707c782e8dcf437d35c411..1001d448524c90fda2a72c04abb15e48ebdab8c0 100644 (file)
@@ -7,7 +7,7 @@
  *   Copyright 2010-2011 Freescale Semiconductor, Inc.
  *   author Andy Fleming
  *
- * Some code get from linux kenrel
+ * Some code copied from linux kernel
  * Copyright (c) 2006 Herbert Valerio Riedel <hvr@gnu.org>
  */
 #include <miiphy.h>
@@ -17,6 +17,7 @@
 #define MII_LAN83C185_EDPWRDOWN                (1 << 13) /* EDPWRDOWN */
 #define MII_LAN83C185_ENERGYON         (1 << 1)  /* ENERGYON */
 
+/* This code does not check the partner abilities. */
 static int smsc_parse_status(struct phy_device *phydev)
 {
        int bmcr;
@@ -182,7 +183,7 @@ static struct phy_driver lan8710_driver = {
        .name = "SMSC LAN8710/LAN8720",
        .uid = 0x0007c0f0,
        .mask = 0xffff0,
-       .features = PHY_GBIT_FEATURES,
+       .features = PHY_BASIC_FEATURES,
        .config = &smsc_config,
        .startup = &smsc_startup,
        .shutdown = &genphy_shutdown,