[OpenWrt-Devel] Patch file for QCA8334 eth switch chip

nam228 nampt282 at gmail.com
Mon May 18 23:45:52 EDT 2015

Hi all,

I have a board with a qca8334 eth switch chip.The chip is found by the 
ar8216 phy as an ar8337.

My board can not ping unless I remove the AR8337_PAD_MAC06_EXCHANGE_EN 
with a path file.

The patch file is:

--- a/drivers/net/phy/ar8327.c
+++ b/drivers/net/phy/ar8327.c
@@ -508,8 +508,8 @@ ar8327_hw_config_pdata(struct ar8xxx_pri
          data->port6_status = 

          t = ar8327_get_pad_cfg(pdata->pad0_cfg);
-       if (chip_is_ar8337(priv))
-               t |= AR8337_PAD_MAC06_EXCHANGE_EN;
+       //if (chip_is_ar8337(priv))
+       //      t |= AR8337_PAD_MAC06_EXCHANGE_EN;

          ar8xxx_write(priv, AR8327_REG_PAD0_MODE, t);
          t = ar8327_get_pad_cfg(pdata->pad5_cfg);

Does anyone know if the qca8334 is different from the ar8337 ?



P/S: my OpenWRT version is Chaos Calmer.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list