From 34c0625f24cffe055490650097f19c0fa1062641 Mon Sep 17 00:00:00 2001 From: florian Date: Fri, 9 Apr 2010 18:44:56 +0000 Subject: [PATCH] backport r20765 to backfire git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@20766 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches-2.6.32/230-external_phy_fix.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 target/linux/brcm63xx/patches-2.6.32/230-external_phy_fix.patch diff --git a/target/linux/brcm63xx/patches-2.6.32/230-external_phy_fix.patch b/target/linux/brcm63xx/patches-2.6.32/230-external_phy_fix.patch new file mode 100644 index 000000000..5edcfe8ef --- /dev/null +++ b/target/linux/brcm63xx/patches-2.6.32/230-external_phy_fix.patch @@ -0,0 +1,13 @@ +--- linux-2.6.32.10.orig/drivers/net/bcm63xx_enet.c 2010-04-06 19:25:52.612158288 +0100 ++++ linux-2.6.32.10/drivers/net/bcm63xx_enet.c 2010-04-07 21:40:26.991801424 +0100 +@@ -965,7 +965,9 @@ + /* all set, enable mac and interrupts, start dma engine and + * kick rx dma channel */ + wmb(); +- enet_writel(priv, ENET_CTL_ENABLE_MASK, ENET_CTL_REG); ++ val = enet_readl(priv, ENET_CTL_REG); ++ val |= ENET_CTL_ENABLE_MASK; ++ enet_writel(priv, val, ENET_CTL_REG); + enet_dma_writel(priv, ENETDMA_CFG_EN_MASK, ENETDMA_CFG_REG); + enet_dma_writel(priv, ENETDMA_CHANCFG_EN_MASK, + ENETDMA_CHANCFG_REG(priv->rx_chan)); \ No newline at end of file