Thread (13 messages) 13 messages, 5 authors, 2017-05-23

Re: [PATCH 3/3] stmmac: pci: Use dmi_system_id table for retrieving PHY addresses

From: Joe Perches <joe@perches.com>
Date: 2017-05-22 11:33:57
Also in: lkml

On Mon, 2017-05-22 at 13:12 +0200, Jan Kiszka wrote:
Avoids reimplementation of DMI matching in stmmac_pci_find_phy_addr.
[]
quoted hunk ↗ jump to hunk
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
[]
quoted hunk ↗ jump to hunk
@@ -31,65 +31,78 @@
[]
+static const struct stmmac_pci_dmi_data iot2040_stmmac_dmi_data[] = {
 	{
-		.name = "GalileoGen2",
 		.func = 6,
 		.phy_addr = 1,
 	},
 	{
-		.name = "SIMATIC IOT2000",
-		.asset_tag = "6ES7647-0AA00-0YA2",
-		.func = 6,
+		.func = 7,
Why change this from 6 to 7?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help