diff options
author | Appana Durga Kedareswara Rao <appana.durga.rao@xilinx.com> | 2016-08-10 11:20:06 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-12 16:57:20 -0700 |
commit | 300d8b93d73533411a98362350fe7d1795f1a044 (patch) | |
tree | 14000f413364272b0bbfa875575e6db6d6a5323c | |
parent | f08aff444ae0004c9ae6df3241fc313a5024d375 (diff) | |
download | linux-stable-300d8b93d73533411a98362350fe7d1795f1a044.tar.gz linux-stable-300d8b93d73533411a98362350fe7d1795f1a044.tar.bz2 linux-stable-300d8b93d73533411a98362350fe7d1795f1a044.zip |
net: Add mask for Control register 10Mbps speed
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>
-rw-r--r-- | include/uapi/linux/mii.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/mii.h b/include/uapi/linux/mii.h index 237fac4bc17b..15d8510cdae0 100644 --- a/include/uapi/linux/mii.h +++ b/include/uapi/linux/mii.h @@ -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 */ |