diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2006-01-12 19:51:05 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-01-17 07:44:51 -0500 |
commit | 0fadb0597d240d4ed279042cab632d567510a1a3 (patch) | |
tree | 83786788f8bf5ef24b3b2cc871b84030c4d59fdf /drivers/net/e1000/e1000_hw.h | |
parent | 47028635d17c7b9c7ffc67499be5fed579bdfe72 (diff) |
[PATCH] e1000: Fix collision distance
Fixed the collision distance for 82543 controllers and newer.
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/e1000/e1000_hw.h')
-rw-r--r-- | drivers/net/e1000/e1000_hw.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/e1000/e1000_hw.h b/drivers/net/e1000/e1000_hw.h index 1ddfd56fc5df..600570ff254b 100644 --- a/drivers/net/e1000/e1000_hw.h +++ b/drivers/net/e1000/e1000_hw.h | |||
@@ -2078,7 +2078,10 @@ struct e1000_host_command_info { | |||
2078 | /* Collision related configuration parameters */ | 2078 | /* Collision related configuration parameters */ |
2079 | #define E1000_COLLISION_THRESHOLD 15 | 2079 | #define E1000_COLLISION_THRESHOLD 15 |
2080 | #define E1000_CT_SHIFT 4 | 2080 | #define E1000_CT_SHIFT 4 |
2081 | #define E1000_COLLISION_DISTANCE 64 | 2081 | /* Collision distance is a 0-based value that applies to |
2082 | * half-duplex-capable hardware only. */ | ||
2083 | #define E1000_COLLISION_DISTANCE 63 | ||
2084 | #define E1000_COLLISION_DISTANCE_82542 64 | ||
2082 | #define E1000_FDX_COLLISION_DISTANCE E1000_COLLISION_DISTANCE | 2085 | #define E1000_FDX_COLLISION_DISTANCE E1000_COLLISION_DISTANCE |
2083 | #define E1000_HDX_COLLISION_DISTANCE E1000_COLLISION_DISTANCE | 2086 | #define E1000_HDX_COLLISION_DISTANCE E1000_COLLISION_DISTANCE |
2084 | #define E1000_COLD_SHIFT 12 | 2087 | #define E1000_COLD_SHIFT 12 |