aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2010-01-20 11:58:04 -0500
committerDavid S. Miller <davem@davemloft.net>2010-01-20 22:20:59 -0500
commit9b952f51d019db37276bdb2924e776ca09132fc1 (patch)
tree48c54f055e1f4dc9dd4ea0d8869b7a004f5c3737 /drivers/net/tg3.h
parent666bc831cf820e16cbd0c2d5be780c512b1afe15 (diff)
tg3: Add 5717 serdes phy ID
The serdes and copper phys of the 5717 asic rev have different phy IDs. This patch adds the serdes phy ID. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Reviewed-by: Michael Chan <mchan@broadcom.com> Reviewed-by: Benjamin Li <benli@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r--drivers/net/tg3.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index 91139fdf7f43..edb7a14cf58f 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -2893,7 +2893,8 @@ struct tg3 {
2893#define PHY_ID_BCM5756 0xbc050ed0 2893#define PHY_ID_BCM5756 0xbc050ed0
2894#define PHY_ID_BCM5784 0xbc050fa0 2894#define PHY_ID_BCM5784 0xbc050fa0
2895#define PHY_ID_BCM5761 0xbc050fd0 2895#define PHY_ID_BCM5761 0xbc050fd0
2896#define PHY_ID_BCM5717 0x5c0d8a00 2896#define PHY_ID_BCM5718C 0x5c0d8a00
2897#define PHY_ID_BCM5718S 0xbc050ff0
2897#define PHY_ID_BCM5906 0xdc00ac40 2898#define PHY_ID_BCM5906 0xdc00ac40
2898#define PHY_ID_BCM8002 0x60010140 2899#define PHY_ID_BCM8002 0x60010140
2899#define PHY_ID_INVALID 0xffffffff 2900#define PHY_ID_INVALID 0xffffffff
@@ -2936,7 +2937,8 @@ struct tg3 {
2936 (X) == PHY_ID_BCM5780 || (X) == PHY_ID_BCM5787 || \ 2937 (X) == PHY_ID_BCM5780 || (X) == PHY_ID_BCM5787 || \
2937 (X) == PHY_ID_BCM5755 || (X) == PHY_ID_BCM5756 || \ 2938 (X) == PHY_ID_BCM5755 || (X) == PHY_ID_BCM5756 || \
2938 (X) == PHY_ID_BCM5906 || (X) == PHY_ID_BCM5761 || \ 2939 (X) == PHY_ID_BCM5906 || (X) == PHY_ID_BCM5761 || \
2939 (X) == PHY_ID_BCM5717 || (X) == PHY_ID_BCM8002) 2940 (X) == PHY_ID_BCM5718C || (X) == PHY_ID_BCM5718S || \
2941 (X) == PHY_ID_BCM8002)
2940 2942
2941 struct tg3_hw_stats *hw_stats; 2943 struct tg3_hw_stats *hw_stats;
2942 dma_addr_t stats_mapping; 2944 dma_addr_t stats_mapping;