diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-11-28 18:14:34 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-11-28 18:14:34 +0000 |
commit | 5ac80d9e71891fdee6c4fea47e90edc2131d5d0e (patch) | |
tree | fbe7301ba7ec59ecb87238df66dccb6fac81013f /target/linux/ar7/patches-2.6.32/973-cpmac_handle_mvswitch.patch | |
parent | b12f4b416ec2817972b84178b0392b13fbebdcff (diff) | |
download | master-187ad058-5ac80d9e71891fdee6c4fea47e90edc2131d5d0e.tar.gz master-187ad058-5ac80d9e71891fdee6c4fea47e90edc2131d5d0e.tar.bz2 master-187ad058-5ac80d9e71891fdee6c4fea47e90edc2131d5d0e.zip |
[ar7] refresh patches and remove trailing whitespaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24181 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar7/patches-2.6.32/973-cpmac_handle_mvswitch.patch')
-rw-r--r-- | target/linux/ar7/patches-2.6.32/973-cpmac_handle_mvswitch.patch | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/target/linux/ar7/patches-2.6.32/973-cpmac_handle_mvswitch.patch b/target/linux/ar7/patches-2.6.32/973-cpmac_handle_mvswitch.patch index 7a2ce14539..13cfdc28f5 100644 --- a/target/linux/ar7/patches-2.6.32/973-cpmac_handle_mvswitch.patch +++ b/target/linux/ar7/patches-2.6.32/973-cpmac_handle_mvswitch.patch @@ -1,8 +1,6 @@ -Index: linux-2.6.32.26/drivers/net/cpmac.c -=================================================================== ---- linux-2.6.32.26.orig/drivers/net/cpmac.c 2010-11-28 05:23:59.482390691 -0800 -+++ linux-2.6.32.26/drivers/net/cpmac.c 2010-11-28 05:26:02.494883201 -0800 -@@ -369,6 +369,7 @@ +--- a/drivers/net/cpmac.c ++++ b/drivers/net/cpmac.c +@@ -369,6 +369,7 @@ static struct sk_buff *cpmac_rx_one(stru struct cpmac_desc *desc) { struct sk_buff *skb, *result = NULL; @@ -10,7 +8,7 @@ Index: linux-2.6.32.26/drivers/net/cpmac.c if (unlikely(netif_msg_hw(priv))) cpmac_dump_desc(priv->dev, desc); -@@ -382,9 +383,13 @@ +@@ -382,9 +383,13 @@ static struct sk_buff *cpmac_rx_one(stru skb = netdev_alloc_skb(priv->dev, CPMAC_SKB_SIZE); if (likely(skb)) { @@ -26,7 +24,7 @@ Index: linux-2.6.32.26/drivers/net/cpmac.c desc->skb->ip_summed = CHECKSUM_NONE; priv->dev->stats.rx_packets++; priv->dev->stats.rx_bytes += desc->datalen; -@@ -456,7 +461,12 @@ +@@ -456,7 +461,12 @@ static int cpmac_poll(struct napi_struct skb = cpmac_rx_one(priv, desc); if (likely(skb)) { @@ -40,7 +38,7 @@ Index: linux-2.6.32.26/drivers/net/cpmac.c received++; } desc = desc->next; -@@ -951,7 +961,7 @@ +@@ -951,7 +961,7 @@ static void cpmac_adjust_link(struct net static int cpmac_open(struct net_device *dev) { @@ -49,7 +47,7 @@ Index: linux-2.6.32.26/drivers/net/cpmac.c struct cpmac_priv *priv = netdev_priv(dev); struct resource *mem; struct cpmac_desc *desc; -@@ -995,7 +1005,12 @@ +@@ -995,7 +1005,12 @@ static int cpmac_open(struct net_device res = -ENOMEM; goto fail_desc; } |