Thread (12 messages) flat view 12 messages, 3 authors, 2016-08-16
STALE3646d

Revision v5 of 2 in this series.

Revisions (2)
  1. v5 current
  2. v6 [diff vs current]

[RFC PATCH v5 1/3] net: Add mask for Control register 10Mbps speed

From: appana.durga.rao@xilinx.com (Kedareswara rao Appana)
Date: 2016-08-09 09:35:03
Also in: linux-devicetree, lkml, netdev
Subsystem: ethernet phy library, the rest · Maintainers: Andrew Lunn, Heiner Kallweit, Linus Torvalds

This patch adds mask for the Control register
10Mbps speed.

Signed-off-by: Kedareswara rao Appana <redacted>
---
Changes for v5:
---> New patch as suggested by Punnaiah.

 include/uapi/linux/mii.h | 1 +
 1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/mii.h b/include/uapi/linux/mii.h
index 237fac4..15d8510 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          */
-- 
2.1.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help