mirror of https://github.com/hak5/openwrt-owl.git
ar71xx: don't set builtin_switch flag for QCA9558
It makes no sense, the SoC has no built-in switch. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39160owl
parent
dd7c1f8fcd
commit
76f37c5d46
|
@ -254,13 +254,8 @@ void __init ath79_register_mdio(unsigned int id, u32 phy_mask)
|
||||||
mdio_data->is_ar934x = 1;
|
mdio_data->is_ar934x = 1;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ATH79_SOC_QCA9558:
|
|
||||||
if (id == 1)
|
|
||||||
mdio_data->builtin_switch = 1;
|
|
||||||
mdio_data->is_ar934x = 1;
|
|
||||||
break;
|
|
||||||
|
|
||||||
case ATH79_SOC_QCA9556:
|
case ATH79_SOC_QCA9556:
|
||||||
|
case ATH79_SOC_QCA9558:
|
||||||
mdio_data->is_ar934x = 1;
|
mdio_data->is_ar934x = 1;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue