mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-28 03:37:17 +01:00
realtek: eth: add init_mac() for RTL930x
This function does nothing at the moment. Simply add it for completeness. Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de> Link: https://github.com/openwrt/openwrt/pull/21391 Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
This commit is contained in:
parent
f8ec6a3b5f
commit
320e6f3188
1 changed files with 7 additions and 0 deletions
|
|
@ -1345,6 +1345,11 @@ static int rtl8390_init_mac(struct rtl838x_eth_priv *priv)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int rteth_930x_init_mac(struct rtl838x_eth_priv *priv)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int rtl931x_chip_init(struct rtl838x_eth_priv *priv)
|
||||
{
|
||||
pr_info("In %s\n", __func__);
|
||||
|
|
@ -1715,6 +1720,8 @@ static int __init rtl838x_eth_probe(struct platform_device *pdev)
|
|||
rtl8380_init_mac(priv);
|
||||
else if (priv->r->family_id == RTL8390_FAMILY_ID)
|
||||
rtl8390_init_mac(priv);
|
||||
else if (priv->r->family_id == RTL9300_FAMILY_ID)
|
||||
rteth_930x_init_mac(priv);
|
||||
else if (priv->r->family_id == RTL9310_FAMILY_ID)
|
||||
rtl931x_chip_init(priv);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue