]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: stmmac: dwmac-loongson: Introduce PCI device info data
authorYanteng Si <siyanteng@loongson.cn>
Wed, 7 Aug 2024 13:48:04 +0000 (21:48 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 13 Aug 2024 07:48:00 +0000 (09:48 +0200)
commit0ec04d32b5e7f03f1a18713a4958a056240763c8
treebf7fe2a0aefb0cacc41ab1fdf59e7cc909174680
parent849dc7341d1f48dacdeadb86eb09f6d7777b1e5e
net: stmmac: dwmac-loongson: Introduce PCI device info data

The Loongson GNET device support is about to be added in one of the
next commits. As another preparation for that introduce the PCI device
info data with a setup() callback performing the device-specific
platform data initializations. Currently it is utilized for the
already supported Loongson GMAC device only.

Signed-off-by: Feiyang Chen <chenfeiyang@loongson.cn>
Signed-off-by: Yinggang Gu <guyinggang@loongson.cn>
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
Acked-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Yanteng Si <siyanteng@loongson.cn>
Tested-by: Serge Semin <fancer.lancer@gmail.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/stmicro/stmmac/dwmac-loongson.c