[OpenWrt-Devel] [PATCH] ar71xx: fix kernel Oops in at803x_link_change_notify

Christian Lamparter chunkeey at googlemail.com
Tue Jul 14 19:56:53 EDT 2015


On Tuesday, July 14, 2015 05:35:13 PM Chris Blake wrote:
> Not sure if this helps, but the recent Cisco Meraki AP drop includes a
> newish PHY driver for the at8033/8035.

> The GPL source is at
> http://dl.meraki.net/linux/meraki-firmware-sources-r23-20150601.tar.bz2 and
> a copy of the actual file can be found at
> https://github.com/riptidewave93/meraki-linux/blob/linux-3.4-r23-20150601/drivers/net/ethernet/atheros/ag7240/phys/athr_ar8033_phy.c

Thank you both!

For the record AR8033 seems to be a different/new chip with new quirks.
Nevertheless this SDK contains the phy code for the AR8035 as well. It's
just in a different file: athrf1_phy.c [0] (8035's SmartEEE mentioned
in line 242).

The rx/tx delay switching is done in athr_phy_speed as well (line 333+).
What's more: This is very much the same code I have seen in Western
Digital's source too, which was much older. I think at this point it's
save to assume that the AR8035 code was stable and this chip always
needed the special tx/rx delay treatment. I'll make the changes and
post them here (probably next week) and probably on linux-net (as this
isn't device specific behavior and I think it should be in the mainline
as well). 
 
Regards,
  Christian

[0] <https://github.com/riptidewave93/meraki-linux/blob/linux-3.4-r23-20150601/drivers/net/ethernet/atheros/ag7240/phys/athrf1_phy.c> 
_______________________________________________
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