]> git.ipfire.org Git - thirdparty/linux.git/commit
net: stmmac: dwmac-loongson: Add new GMAC's PCI device ID support
authorHuacai Chen <chenhuacai@loongson.cn>
Thu, 24 Apr 2025 07:22:09 +0000 (15:22 +0800)
committerJakub Kicinski <kuba@kernel.org>
Mon, 28 Apr 2025 20:37:26 +0000 (13:37 -0700)
commitef1179f78119c243bdc276cfb819242bc35308cd
treed0b2e4855a2df9e67ab615712bc5fb9ec43156b7
parent2725fc2e0b6113ea9e655b77409d6129876e45e9
net: stmmac: dwmac-loongson: Add new GMAC's PCI device ID support

Add a new GMAC's PCI device ID (0x7a23) support which is used in
Loongson-2K3000/Loongson-3B6000M. The new GMAC device use external PHY,
so it reuses loongson_gmac_data() as the old GMAC device (0x7a03), and
the new GMAC device still doesn't support flow control now.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Yanteng Si <si.yanteng@linux.dev>
Tested-by: Henry Chen <chenx97@aosc.io>
Tested-by: Biao Dong <dongbiao@loongson.cn>
Signed-off-by: Baoqi Zhang <zhangbaoqi@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Link: https://patch.msgid.link/20250424072209.3134762-4-chenhuacai@loongson.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-loongson.c