[OpenWrt-Devel] [ar71xx] Help with Ubiquiti Rocket M5 XW support patch

Roger Pueyo Centelles rogerpueyo at rogerpueyo.com
Thu Apr 16 04:32:52 EDT 2015


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 <lynxis at 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 at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150416/b935f96e/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list