<div dir="ltr"><div><div><div><div>Hi lynxis,<br><br></div>Just one port, but without switch.<br><br></div>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.<br><br></div>I'll be submitting the patch in a while. Thank you very much!<br><br></div>Roger<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-16 0:15 GMT+02:00 Alexander Couzens <span dir="ltr"><<a href="mailto:lynxis@fe80.eu" target="_blank">lynxis@fe80.eu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Roger,<br>
<br>
how many ethernet ports does this product has? 1 or 2?<br>
Ubiquity add a switch chip to it's new nanostation m (xw).<br>
<br>
I would say this product has only one port.<br>
Can you try this init please?<br>
<br>
static void __init ubnt_rocket_m_xw_setup(void)<br>
{<br>
ubnt_xw_init();<br>
<br>
ath79_register_mdio(0, ~BIT(4));<br>
ath79_eth0_data.phy_mask = BIT(4);<br>
ath79_register_eth(0);<br>
}<br>
<br>
Best Regards,<br>
lynxis<br>
<br>_______________________________________________<br>
openwrt-devel mailing list<br>
<a href="mailto:openwrt-devel@lists.openwrt.org">openwrt-devel@lists.openwrt.org</a><br>
<a href="https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel" target="_blank">https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel</a><br>
<br></blockquote></div><br></div>