net: Add mask for Control register 10Mbps speed
authorAppana Durga Kedareswara Rao <appana.durga.rao@xilinx.com>
Wed, 10 Aug 2016 05:50:06 +0000 (11:20 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Aug 2016 23:57:20 +0000 (16:57 -0700)
This patch adds mask for the Control register
10Mbps speed.

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/mii.h

index 237fac4..15d8510 100644 (file)
@@ -48,6 +48,7 @@
 #define BMCR_SPEED100          0x2000  /* Select 100Mbps              */
 #define BMCR_LOOPBACK          0x4000  /* TXD loopback bits           */
 #define BMCR_RESET             0x8000  /* Reset to default state      */
+#define BMCR_SPEED10           0x0000  /* Select 10Mbps               */
 
 /* Basic mode status register. */
 #define BMSR_ERCAP             0x0001  /* Ext-reg capability          */