aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBin Meng <bmeng@tinylab.org>2023-10-11 18:58:25 +0800
committerTom Rini <trini@konsulko.com>2023-11-05 13:28:41 -0500
commitc0138de8ffd8ad89b736bad35b96b7a185db2dad (patch)
tree9fb8f03214bc73c448942e511a964b6c1dab3b48
parent827117e2860dcda60e7836835a6f296cd7303a39 (diff)
downloadu-boot-c0138de8ffd8ad89b736bad35b96b7a185db2dad.zip
u-boot-c0138de8ffd8ad89b736bad35b96b7a185db2dad.tar.gz
u-boot-c0138de8ffd8ad89b736bad35b96b7a185db2dad.tar.bz2
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. Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--drivers/net/e1000.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c
index 41e6ba7..84a2a7c 100644
--- a/drivers/net/e1000.c
+++ b/drivers/net/e1000.c
@@ -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,