aboutsummaryrefslogtreecommitdiff
path: root/drivers/qe/uec_phy.h
diff options
context:
space:
mode:
authorAnton Vorontsov2008-03-24 20:46:24 +0300
committerKim Phillips2008-03-25 19:16:45 -0500
commit91cdaa3a9d7562b869d96774e9c9ddf142c0848d (patch)
tree3706d31d19eda36a4a64d5839780526ea31b3854 /drivers/qe/uec_phy.h
parentaabce7fb505ffe55ebf3bf4dcafdae97a581558d (diff)
uec: add support for gbit mii status readings
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Diffstat (limited to 'drivers/qe/uec_phy.h')
-rw-r--r--drivers/qe/uec_phy.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/qe/uec_phy.h b/drivers/qe/uec_phy.h
index e59a940e0dd..6f769fb50b8 100644
--- a/drivers/qe/uec_phy.h
+++ b/drivers/qe/uec_phy.h
@@ -29,6 +29,11 @@
#define MII_1000BASETCONTROL_FULLDUPLEXCAP 0x0200
#define MII_1000BASETCONTROL_HALFDUPLEXCAP 0x0100
+/* 1000BT status */
+#define MII_1000BASETSTATUS 0x0a
+#define LPA_1000FULL 0x0400
+#define LPA_1000HALF 0x0200
+
/* Cicada Extended Control Register 1 */
#define MII_CIS8201_EXT_CON1 0x17
#define MII_CIS8201_EXTCON1_INIT 0x0000