summaryrefslogtreecommitdiffstats
path: root/drivers/net/via-velocity.h
diff options
context:
space:
mode:
authorfrançois romieu <romieu@fr.zoreil.com>2010-10-13 09:26:05 +0000
committerDavid S. Miller <davem@davemloft.net>2010-10-16 11:13:23 -0700
commit15419227f773b6c1b5fae44bde876078a9204caa (patch)
tree0e0c50fee62dfbc7934bf389367aae87e6fd626c /drivers/net/via-velocity.h
parent10da66f7552b3c7966c2f4f1f72009fb0b5539ec (diff)
downloadop-kernel-dev-15419227f773b6c1b5fae44bde876078a9204caa.zip
op-kernel-dev-15419227f773b6c1b5fae44bde876078a9204caa.tar.gz
via-velocity: forced 1000 Mbps mode support.
Full duplex only. Half duplex 1000 Mbps is not supported. Signed-off-by: David Lv <DavidLv@viatech.com.cn> Acked-by: Francois Romieu <romieu@fr.zoreil.com> Tested-by: Seguier Regis <rseguier@e-teleport.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/via-velocity.h')
-rw-r--r--drivers/net/via-velocity.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/via-velocity.h b/drivers/net/via-velocity.h
index b5e120b..aa2e69b 100644
--- a/drivers/net/via-velocity.h
+++ b/drivers/net/via-velocity.h
@@ -848,7 +848,7 @@ enum velocity_owner {
* Bits in CHIPGCR register
*/
-#define CHIPGCR_FCGMII 0x80
+#define CHIPGCR_FCGMII 0x80 /* enable GMII mode */
#define CHIPGCR_FCFDX 0x40
#define CHIPGCR_FCRESV 0x20
#define CHIPGCR_FCMODE 0x10
@@ -1390,7 +1390,8 @@ enum speed_opt {
SPD_DPX_100_HALF = 1,
SPD_DPX_100_FULL = 2,
SPD_DPX_10_HALF = 3,
- SPD_DPX_10_FULL = 4
+ SPD_DPX_10_FULL = 4,
+ SPD_DPX_1000_FULL = 5
};
enum velocity_init_type {
OpenPOWER on IntegriCloud