[OpenWrt-Devel] [PATCH] [ar71xx] Add support for Ubiquiti Rocket M XW devices

Roger Pueyo Centelles rogerpueyo at rogerpueyo.com
Thu Apr 16 08:55:02 EDT 2015


Hi,

Just setting the mask with BIT(4) does not work. The Rocket needs this line:

   ath79_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII;

for the RGMII AR8035 Ethernet controller, while the Nano/Loco use the MII
mode:

   ath79_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_MII;

Therefore the ubnt_xw_init() function does not apply for the Rocket.
Anyway, there are some common lines, so probably the three devices could be
merged somehow, I guess.

Roger

2015-04-16 14:29 GMT+02:00 Alexander Couzens <lynxis at fe80.eu>:

> Hi Roger,
>
> the loco xw seems to be very similiar to the rocket xw.
> Have you tried the init code from my last mail?
> If it works I would prefer it, because it's reusing existent code and it's
> a
> lot less code.
>
> Best,
> lynxis
> --
> Alexander Couzens
>
> mail: lynxis at fe80.eu
> jabber: lynxis at jabber.ccc.de
> mobile: +4915123277221
>
> _______________________________________________
> 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/f19cb70a/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