Skip to contentSkip to conversation

net: e1000: Drop e1000_eth_ids[]

PATCH In review Bin Meng 3 participants 3 messages Oct 11, 2023 – Nov 6, 2023 Network drivers

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

PATCH 1/1 net: e1000: Drop e1000_eth_ids[]

e1000_eth_ids holds compatible strings for e1000 devices, but it is meaningless as e1000 is a PCI device and there is no such compatible string assigned to e1000 by the DT bindings community.

Drop it.

---

 drivers/net/e1000.c | 6 ------
 1 file changed, 6 deletions(-)
drivers/net/e1000.c +0 -6
index 41e6ba760e..84a2a7cf90 100644
@@ -5718,15 +5718,9 @@ static const struct eth_ops e1000_eth_ops = {
 	.write_hwaddr = e1000_write_hwaddr,
 };
 
-static const struct udevice_id e1000_eth_ids[] = {
-	{ .compatible = "intel,e1000" },
-	{ }
-};
-
 U_BOOT_DRIVER(eth_e1000) = {
 	.name	= "eth_e1000",
 	.id	= UCLASS_ETH,
-	.of_match = e1000_eth_ids,
 	.bind	= e1000_eth_bind,
 	.probe	= e1000_eth_probe,
 	.ops	= &e1000_eth_ops,
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Bin Meng

e1000_eth_ids holds compatible strings for e1000 devices, but it is meaningless as e1000 is a PCI device and there is no such compatible string assigned to e1000 by the DT bindings community.

Quoted 7 lines

Drop it.

---

 drivers/net/e1000.c | 6 ------
 1 file changed, 6 deletions(-)