mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
generic: ar8216: remove redundant phy address check
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35542
This commit is contained in:
parent
14fd37258b
commit
5f70b1db2a
@ -1881,7 +1881,7 @@ ar8216_config_init(struct phy_device *pdev)
|
|||||||
goto err_unregister_switch;
|
goto err_unregister_switch;
|
||||||
|
|
||||||
/* VID fixup only needed on ar8216 */
|
/* VID fixup only needed on ar8216 */
|
||||||
if (chip_is_ar8216(priv) && pdev->addr == 0) {
|
if (chip_is_ar8216(priv)) {
|
||||||
dev->phy_ptr = priv;
|
dev->phy_ptr = priv;
|
||||||
dev->priv_flags |= IFF_NO_IP_ALIGN;
|
dev->priv_flags |= IFF_NO_IP_ALIGN;
|
||||||
dev->eth_mangle_rx = ar8216_mangle_rx;
|
dev->eth_mangle_rx = ar8216_mangle_rx;
|
||||||
|
Loading…
Reference in New Issue
Block a user