diff options
author | françois romieu <romieu@fr.zoreil.com> | 2010-10-13 11:26:05 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-16 20:13:23 +0200 |
commit | 15419227f773b6c1b5fae44bde876078a9204caa (patch) | |
tree | 0e0c50fee62dfbc7934bf389367aae87e6fd626c /drivers/net/via-velocity.h | |
parent | fib: avoid false sharing on fib_table_hash (diff) | |
download | linux-15419227f773b6c1b5fae44bde876078a9204caa.tar.xz linux-15419227f773b6c1b5fae44bde876078a9204caa.zip |
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.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/via-velocity.h b/drivers/net/via-velocity.h index b5e120b0074b..aa2e69b9ff61 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 { |