[tg3] Fix various tg3 issues
Modified-by: Michael Brown <mcb30@ipxe.org> Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
committed by
Michael Brown
parent
77f64b11f7
commit
e27803e40f
@@ -298,6 +298,7 @@
|
||||
#define ASIC_REV_57780 0x57780
|
||||
#define ASIC_REV_5717 0x5717
|
||||
#define ASIC_REV_57765 0x57785
|
||||
#define ASIC_REV_57766 0x57766
|
||||
#define ASIC_REV_5719 0x5719
|
||||
#define ASIC_REV_5720 0x5720
|
||||
#define GET_CHIP_REV(CHIP_REV_ID) ((CHIP_REV_ID) >> 8)
|
||||
@@ -1215,6 +1216,8 @@
|
||||
#define TG3_CPMU_LNK_AWARE_PWRMD 0x00003610
|
||||
#define CPMU_LNK_AWARE_MACCLK_MASK 0x001f0000
|
||||
#define CPMU_LNK_AWARE_MACCLK_6_25 0x00130000
|
||||
|
||||
#define TG3_CPMU_D0_CLCK_POLICY 0x00003614
|
||||
/* 0x3614 --> 0x361c unused */
|
||||
|
||||
#define TG3_CPMU_HST_ACC 0x0000361c
|
||||
@@ -1225,6 +1228,9 @@
|
||||
#define TG3_CPMU_CLCK_ORIDE 0x00003624
|
||||
#define CPMU_CLCK_ORIDE_MAC_ORIDE_EN 0x80000000
|
||||
|
||||
#define TG3_CPMU_CLCK_ORIDE_EN 0x00003628
|
||||
#define CPMU_CLCK_ORIDE_MAC_CLCK_ORIDE_EN 0x00002000
|
||||
|
||||
#define TG3_CPMU_CLCK_STAT 0x00003630
|
||||
#define CPMU_CLCK_STAT_MAC_CLCK_MASK 0x001f0000
|
||||
#define CPMU_CLCK_STAT_MAC_CLCK_62_5 0x00000000
|
||||
|
||||
Reference in New Issue
Block a user