diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-05-19 07:06:35 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-05-19 07:06:35 +0000 |
commit | b0b3bc5f009249df74c13ec0dc6087cf1943b318 (patch) | |
tree | 04584132f5c79a71a972bf9597a9c1d3085f9bbb /target/linux/ar7/patches-2.6.25/140-cpmac_fix.patch | |
parent | d132c5f42c208e4ab1bb3be0a7503262ee7e4059 (diff) | |
download | master-31e0f0ae-b0b3bc5f009249df74c13ec0dc6087cf1943b318.tar.gz master-31e0f0ae-b0b3bc5f009249df74c13ec0dc6087cf1943b318.tar.bz2 master-31e0f0ae-b0b3bc5f009249df74c13ec0dc6087cf1943b318.zip |
refresh kernel patches
SVN-Revision: 11196
Diffstat (limited to 'target/linux/ar7/patches-2.6.25/140-cpmac_fix.patch')
-rw-r--r-- | target/linux/ar7/patches-2.6.25/140-cpmac_fix.patch | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/target/linux/ar7/patches-2.6.25/140-cpmac_fix.patch b/target/linux/ar7/patches-2.6.25/140-cpmac_fix.patch index 2435b3518e..5ef2efdbdc 100644 --- a/target/linux/ar7/patches-2.6.25/140-cpmac_fix.patch +++ b/target/linux/ar7/patches-2.6.25/140-cpmac_fix.patch @@ -1,7 +1,7 @@ -Index: linux-2.6.25.1/drivers/net/cpmac.c +Index: linux-2.6.25.4/drivers/net/cpmac.c =================================================================== ---- linux-2.6.25.1.orig/drivers/net/cpmac.c 2008-05-01 23:45:25.000000000 +0200 -+++ linux-2.6.25.1/drivers/net/cpmac.c 2008-05-03 16:21:17.000000000 +0200 +--- linux-2.6.25.4.orig/drivers/net/cpmac.c ++++ linux-2.6.25.4/drivers/net/cpmac.c @@ -38,6 +38,7 @@ #include <linux/platform_device.h> #include <linux/dma-mapping.h> @@ -10,7 +10,7 @@ Index: linux-2.6.25.1/drivers/net/cpmac.c MODULE_AUTHOR("Eugene Konev <ejka@imfi.kspu.ru>"); MODULE_DESCRIPTION("TI AR7 ethernet driver (CPMAC)"); -@@ -207,6 +208,7 @@ +@@ -207,6 +208,7 @@ struct cpmac_priv { struct work_struct reset_work; struct platform_device *pdev; struct napi_struct napi; @@ -18,7 +18,7 @@ Index: linux-2.6.25.1/drivers/net/cpmac.c }; static irqreturn_t cpmac_irq(int, void *); -@@ -455,6 +457,9 @@ +@@ -455,6 +457,9 @@ static int cpmac_start_xmit(struct sk_bu struct cpmac_desc *desc; struct cpmac_priv *priv = netdev_priv(dev); @@ -28,7 +28,7 @@ Index: linux-2.6.25.1/drivers/net/cpmac.c if (unlikely(skb_padto(skb, ETH_ZLEN))) return NETDEV_TX_OK; -@@ -634,14 +639,14 @@ +@@ -634,14 +639,14 @@ static void cpmac_clear_tx(struct net_de priv->desc_ring[i].dataflags = 0; if (priv->desc_ring[i].skb) { dev_kfree_skb_any(priv->desc_ring[i].skb); @@ -45,7 +45,7 @@ Index: linux-2.6.25.1/drivers/net/cpmac.c struct cpmac_priv *priv = container_of(work, struct cpmac_priv, reset_work); -@@ -650,8 +655,47 @@ +@@ -650,8 +655,47 @@ static void cpmac_hw_error(struct work_s spin_unlock(&priv->rx_lock); cpmac_clear_tx(priv->dev); cpmac_hw_start(priv->dev); @@ -95,7 +95,7 @@ Index: linux-2.6.25.1/drivers/net/cpmac.c } static irqreturn_t cpmac_irq(int irq, void *dev_id) -@@ -682,49 +726,33 @@ +@@ -682,49 +726,33 @@ static irqreturn_t cpmac_irq(int irq, vo cpmac_write(priv->regs, CPMAC_MAC_EOI_VECTOR, 0); @@ -159,7 +159,7 @@ Index: linux-2.6.25.1/drivers/net/cpmac.c } static int cpmac_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) -@@ -911,6 +939,7 @@ +@@ -911,6 +939,7 @@ static int cpmac_open(struct net_device goto fail_irq; } |