diff mbox series

[net-next,v1] stmmac: intel: Add PCI IDs for TGL-H platform

Message ID 20201222160337.30870-1-muhammad.husaini.zulkifli@intel.com (mailing list archive)
State Accepted
Delegated to: Netdev Maintainers
Headers show
Series [net-next,v1] stmmac: intel: Add PCI IDs for TGL-H platform | expand

Checks

Context Check Description
netdev/cover_letter success Link
netdev/fixes_present success Link
netdev/patch_count success Link
netdev/tree_selection success Clearly marked for net-next
netdev/subject_prefix success Link
netdev/cc_maintainers warning 3 maintainers not CCed: mcoquelin.stm32@gmail.com linux-arm-kernel@lists.infradead.org linux-stm32@st-md-mailman.stormreply.com
netdev/source_inline success Was 0 now: 0
netdev/verify_signedoff success Link
netdev/module_param success Was 0 now: 0
netdev/build_32bit success Errors and warnings before: 0 this patch: 0
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/verify_fixes success Link
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 16 lines checked
netdev/build_allmodconfig_warn success Errors and warnings before: 0 this patch: 0
netdev/header_inline success Link
netdev/stable success Stable not CCed

Commit Message

Zulkifli, Muhammad Husaini Dec. 22, 2020, 4:03 p.m. UTC
From: Noor Azura Ahmad Tarmizi <noor.azura.ahmad.tarmizi@intel.com>

Add TGL-H PCI info and PCI IDs for the new TSN Controller to the list
of supported devices.

Signed-off-by: Noor Azura Ahmad Tarmizi <noor.azura.ahmad.tarmizi@intel.com>
Signed-off-by: Voon Weifeng <weifeng.voon@intel.com>
Signed-off-by: Muhammad Husaini Zulkifli <muhammad.husaini.zulkifli@intel.com>
---
 drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Jakub Kicinski Dec. 23, 2020, 8:13 p.m. UTC | #1
On Wed, 23 Dec 2020 00:03:37 +0800 Muhammad Husaini Zulkifli wrote:
> From: Noor Azura Ahmad Tarmizi <noor.azura.ahmad.tarmizi@intel.com>
> 
> Add TGL-H PCI info and PCI IDs for the new TSN Controller to the list
> of supported devices.
> 
> Signed-off-by: Noor Azura Ahmad Tarmizi <noor.azura.ahmad.tarmizi@intel.com>
> Signed-off-by: Voon Weifeng <weifeng.voon@intel.com>
> Signed-off-by: Muhammad Husaini Zulkifli <muhammad.husaini.zulkifli@intel.com>

Applied, thanks. Are these needed in the 5.10 LTS branch?
Wong, Vee Khee Dec. 24, 2020, 1:23 a.m. UTC | #2
> -----Original Message-----
> From: Jakub Kicinski <kuba@kernel.org>
> Sent: Thursday, December 24, 2020 4:14 AM
> To: Zulkifli, Muhammad Husaini <muhammad.husaini.zulkifli@intel.com>
> Cc: davem@davemloft.net; peppe.cavallaro@st.com;
> alexandre.torgue@st.com; joabreu@synopsys.com;
> netdev@vger.kernel.org; Ahmad Tarmizi, Noor Azura
> <noor.azura.ahmad.tarmizi@intel.com>; Voon, Weifeng
> <weifeng.voon@intel.com>
> Subject: Re: [PATCH net-next v1] stmmac: intel: Add PCI IDs for TGL-H
> platform
> 
> On Wed, 23 Dec 2020 00:03:37 +0800 Muhammad Husaini Zulkifli wrote:
> > From: Noor Azura Ahmad Tarmizi <noor.azura.ahmad.tarmizi@intel.com>
> >
> > Add TGL-H PCI info and PCI IDs for the new TSN Controller to the list
> > of supported devices.
> >
> > Signed-off-by: Noor Azura Ahmad Tarmizi
> <noor.azura.ahmad.tarmizi@intel.com>
> > Signed-off-by: Voon Weifeng <weifeng.voon@intel.com>
> > Signed-off-by: Muhammad Husaini Zulkifli
> <muhammad.husaini.zulkifli@intel.com>
> 
> Applied, thanks. Are these needed in the 5.10 LTS branch?

Yes, these are needed in the 5.10 LTS branch.
Jakub Kicinski Dec. 24, 2020, 1:42 a.m. UTC | #3
On Thu, 24 Dec 2020 01:23:25 +0000 Wong, Vee Khee wrote:
> > On Wed, 23 Dec 2020 00:03:37 +0800 Muhammad Husaini Zulkifli wrote:  
> > > From: Noor Azura Ahmad Tarmizi <noor.azura.ahmad.tarmizi@intel.com>
> > >
> > > Add TGL-H PCI info and PCI IDs for the new TSN Controller to the list
> > > of supported devices.
> > >
> > > Signed-off-by: Noor Azura Ahmad Tarmizi  
> > <noor.azura.ahmad.tarmizi@intel.com>  
> > > Signed-off-by: Voon Weifeng <weifeng.voon@intel.com>
> > > Signed-off-by: Muhammad Husaini Zulkifli  
> > <muhammad.husaini.zulkifli@intel.com>
> > 
> > Applied, thanks. Are these needed in the 5.10 LTS branch?  
> 
> Yes, these are needed in the 5.10 LTS branch.

Okay, queued.
diff mbox series

Patch

diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
index 55dbb1a930da..d3608db576f7 100644
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
@@ -723,6 +723,8 @@  static SIMPLE_DEV_PM_OPS(intel_eth_pm_ops, intel_eth_pci_suspend,
 #define PCI_DEVICE_ID_INTEL_EHL_PSE1_RGMII1G_ID		0x4bb0
 #define PCI_DEVICE_ID_INTEL_EHL_PSE1_SGMII1G_ID		0x4bb1
 #define PCI_DEVICE_ID_INTEL_EHL_PSE1_SGMII2G5_ID	0x4bb2
+#define PCI_DEVICE_ID_INTEL_TGLH_SGMII1G_0_ID		0x43ac
+#define PCI_DEVICE_ID_INTEL_TGLH_SGMII1G_1_ID		0x43a2
 #define PCI_DEVICE_ID_INTEL_TGL_SGMII1G_ID		0xa0ac
 
 static const struct pci_device_id intel_eth_pci_id_table[] = {
@@ -737,6 +739,8 @@  static const struct pci_device_id intel_eth_pci_id_table[] = {
 	{ PCI_DEVICE_DATA(INTEL, EHL_PSE1_SGMII1G_ID, &ehl_pse1_sgmii1g_info) },
 	{ PCI_DEVICE_DATA(INTEL, EHL_PSE1_SGMII2G5_ID, &ehl_pse1_sgmii1g_info) },
 	{ PCI_DEVICE_DATA(INTEL, TGL_SGMII1G_ID, &tgl_sgmii1g_info) },
+	{ PCI_DEVICE_DATA(INTEL, TGLH_SGMII1G_0_ID, &tgl_sgmii1g_info) },
+	{ PCI_DEVICE_DATA(INTEL, TGLH_SGMII1G_1_ID, &tgl_sgmii1g_info) },
 	{}
 };
 MODULE_DEVICE_TABLE(pci, intel_eth_pci_id_table);