diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2009-12-03 03:36:21 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-03 16:18:03 -0500 |
commit | b703df6f628ab63eaa875232551b1f2f0503b9af (patch) | |
tree | cbeb9291af92306fc8b36a9fcac5d2d9b9d4c3df /drivers/net/tg3.h | |
parent | 19cfaecc094781da273b5cd1411ee46589898d0e (diff) |
tg3: Add 57765 asic rev
This patch adds the 57765 asic revision.
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r-- | drivers/net/tg3.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h index 8035583ae39d..6a2c31071caf 100644 --- a/drivers/net/tg3.h +++ b/drivers/net/tg3.h | |||
@@ -49,6 +49,12 @@ | |||
49 | #define TG3PCI_DEVICE_TIGON3_5717 0x1655 | 49 | #define TG3PCI_DEVICE_TIGON3_5717 0x1655 |
50 | #define TG3PCI_DEVICE_TIGON3_5718 0x1656 | 50 | #define TG3PCI_DEVICE_TIGON3_5718 0x1656 |
51 | #define TG3PCI_DEVICE_TIGON3_5724 0x165c | 51 | #define TG3PCI_DEVICE_TIGON3_5724 0x165c |
52 | #define TG3PCI_DEVICE_TIGON3_57781 0x16b1 | ||
53 | #define TG3PCI_DEVICE_TIGON3_57785 0x16b5 | ||
54 | #define TG3PCI_DEVICE_TIGON3_57761 0x16b0 | ||
55 | #define TG3PCI_DEVICE_TIGON3_57765 0x16b4 | ||
56 | #define TG3PCI_DEVICE_TIGON3_57791 0x16b2 | ||
57 | #define TG3PCI_DEVICE_TIGON3_57795 0x16b6 | ||
52 | /* 0x04 --> 0x64 unused */ | 58 | /* 0x04 --> 0x64 unused */ |
53 | #define TG3PCI_MSI_DATA 0x00000064 | 59 | #define TG3PCI_MSI_DATA 0x00000064 |
54 | /* 0x66 --> 0x68 unused */ | 60 | /* 0x66 --> 0x68 unused */ |
@@ -122,6 +128,7 @@ | |||
122 | #define ASIC_REV_5785 0x5785 | 128 | #define ASIC_REV_5785 0x5785 |
123 | #define ASIC_REV_57780 0x57780 | 129 | #define ASIC_REV_57780 0x57780 |
124 | #define ASIC_REV_5717 0x5717 | 130 | #define ASIC_REV_5717 0x5717 |
131 | #define ASIC_REV_57765 0x57785 | ||
125 | #define GET_CHIP_REV(CHIP_REV_ID) ((CHIP_REV_ID) >> 8) | 132 | #define GET_CHIP_REV(CHIP_REV_ID) ((CHIP_REV_ID) >> 8) |
126 | #define CHIPREV_5700_AX 0x70 | 133 | #define CHIPREV_5700_AX 0x70 |
127 | #define CHIPREV_5700_BX 0x71 | 134 | #define CHIPREV_5700_BX 0x71 |
@@ -220,6 +227,7 @@ | |||
220 | /* 0xc0 --> 0xf4 unused */ | 227 | /* 0xc0 --> 0xf4 unused */ |
221 | 228 | ||
222 | #define TG3PCI_GEN2_PRODID_ASICREV 0x000000f4 | 229 | #define TG3PCI_GEN2_PRODID_ASICREV 0x000000f4 |
230 | #define TG3PCI_GEN15_PRODID_ASICREV 0x000000fc | ||
223 | /* 0xf8 --> 0x200 unused */ | 231 | /* 0xf8 --> 0x200 unused */ |
224 | 232 | ||
225 | #define TG3_CORR_ERR_STAT 0x00000110 | 233 | #define TG3_CORR_ERR_STAT 0x00000110 |
@@ -2795,6 +2803,7 @@ struct tg3 { | |||
2795 | #define TG3_FLG3_4G_DMA_BNDRY_BUG 0x00080000 | 2803 | #define TG3_FLG3_4G_DMA_BNDRY_BUG 0x00080000 |
2796 | #define TG3_FLG3_40BIT_DMA_LIMIT_BUG 0x00100000 | 2804 | #define TG3_FLG3_40BIT_DMA_LIMIT_BUG 0x00100000 |
2797 | #define TG3_FLG3_SHORT_DMA_BUG 0x00200000 | 2805 | #define TG3_FLG3_SHORT_DMA_BUG 0x00200000 |
2806 | #define TG3_FLG3_USE_JUMBO_BDFLAG 0x00400000 | ||
2798 | 2807 | ||
2799 | struct timer_list timer; | 2808 | struct timer_list timer; |
2800 | u16 timer_counter; | 2809 | u16 timer_counter; |