@@ -52,6 +52,7 @@ static const struct e1000_info *e1000_info_tbl[] = {
52
52
[board_pch_spt ] = & e1000_pch_spt_info ,
53
53
[board_pch_cnp ] = & e1000_pch_cnp_info ,
54
54
[board_pch_tgp ] = & e1000_pch_tgp_info ,
55
+ [board_pch_adp ] = & e1000_pch_adp_info ,
55
56
};
56
57
57
58
struct e1000_reg_info {
@@ -6341,7 +6342,8 @@ static void e1000e_s0ix_entry_flow(struct e1000_adapter *adapter)
6341
6342
u32 mac_data ;
6342
6343
u16 phy_data ;
6343
6344
6344
- if (er32 (FWSM ) & E1000_ICH_FWSM_FW_VALID ) {
6345
+ if (er32 (FWSM ) & E1000_ICH_FWSM_FW_VALID &&
6346
+ hw -> mac .type >= e1000_pch_adp ) {
6345
6347
/* Request ME configure the device for S0ix */
6346
6348
mac_data = er32 (H2ME );
6347
6349
mac_data |= E1000_H2ME_START_DPG ;
@@ -6490,7 +6492,8 @@ static void e1000e_s0ix_exit_flow(struct e1000_adapter *adapter)
6490
6492
u16 phy_data ;
6491
6493
u32 i = 0 ;
6492
6494
6493
- if (er32 (FWSM ) & E1000_ICH_FWSM_FW_VALID ) {
6495
+ if (er32 (FWSM ) & E1000_ICH_FWSM_FW_VALID &&
6496
+ hw -> mac .type >= e1000_pch_adp ) {
6494
6497
/* Request ME unconfigure the device from S0ix */
6495
6498
mac_data = er32 (H2ME );
6496
6499
mac_data &= ~E1000_H2ME_START_DPG ;
@@ -7898,22 +7901,22 @@ static const struct pci_device_id e1000_pci_tbl[] = {
7898
7901
{ PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_TGP_I219_V14 ), board_pch_tgp },
7899
7902
{ PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_TGP_I219_LM15 ), board_pch_tgp },
7900
7903
{ PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_TGP_I219_V15 ), board_pch_tgp },
7901
- { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_RPL_I219_LM23 ), board_pch_tgp },
7902
- { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_RPL_I219_V23 ), board_pch_tgp },
7903
- { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_ADP_I219_LM16 ), board_pch_tgp },
7904
- { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_ADP_I219_V16 ), board_pch_tgp },
7905
- { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_ADP_I219_LM17 ), board_pch_tgp },
7906
- { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_ADP_I219_V17 ), board_pch_tgp },
7907
- { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_RPL_I219_LM22 ), board_pch_tgp },
7908
- { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_RPL_I219_V22 ), board_pch_tgp },
7909
- { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_MTP_I219_LM18 ), board_pch_tgp },
7910
- { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_MTP_I219_V18 ), board_pch_tgp },
7911
- { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_MTP_I219_LM19 ), board_pch_tgp },
7912
- { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_MTP_I219_V19 ), board_pch_tgp },
7913
- { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_LNP_I219_LM20 ), board_pch_tgp },
7914
- { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_LNP_I219_V20 ), board_pch_tgp },
7915
- { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_LNP_I219_LM21 ), board_pch_tgp },
7916
- { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_LNP_I219_V21 ), board_pch_tgp },
7904
+ { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_RPL_I219_LM23 ), board_pch_adp },
7905
+ { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_RPL_I219_V23 ), board_pch_adp },
7906
+ { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_ADP_I219_LM16 ), board_pch_adp },
7907
+ { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_ADP_I219_V16 ), board_pch_adp },
7908
+ { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_ADP_I219_LM17 ), board_pch_adp },
7909
+ { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_ADP_I219_V17 ), board_pch_adp },
7910
+ { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_RPL_I219_LM22 ), board_pch_adp },
7911
+ { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_RPL_I219_V22 ), board_pch_adp },
7912
+ { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_MTP_I219_LM18 ), board_pch_adp },
7913
+ { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_MTP_I219_V18 ), board_pch_adp },
7914
+ { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_MTP_I219_LM19 ), board_pch_adp },
7915
+ { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_MTP_I219_V19 ), board_pch_adp },
7916
+ { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_LNP_I219_LM20 ), board_pch_adp },
7917
+ { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_LNP_I219_V20 ), board_pch_adp },
7918
+ { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_LNP_I219_LM21 ), board_pch_adp },
7919
+ { PCI_VDEVICE (INTEL , E1000_DEV_ID_PCH_LNP_I219_V21 ), board_pch_adp },
7917
7920
7918
7921
{ 0 , 0 , 0 , 0 , 0 , 0 , 0 } /* terminate list */
7919
7922
};
0 commit comments