Hi lynxis, Just one port, but without switch.
The init is correct now and the Ethernet port works. I was using the wrong mask, I thought it would be BIT(2) but I was wrong. I'll be submitting the patch in a while. Thank you very much! Roger 2015-04-16 0:15 GMT+02:00 Alexander Couzens <lyn...@fe80.eu>: > Hi Roger, > > how many ethernet ports does this product has? 1 or 2? > Ubiquity add a switch chip to it's new nanostation m (xw). > > I would say this product has only one port. > Can you try this init please? > > static void __init ubnt_rocket_m_xw_setup(void) > { > ubnt_xw_init(); > > ath79_register_mdio(0, ~BIT(4)); > ath79_eth0_data.phy_mask = BIT(4); > ath79_register_eth(0); > } > > Best Regards, > lynxis > > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel > >
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel