atm/solos-pci: Fix incorrectly applied patch. Thanks to Philip A. Prindeville for...
authorMichael Büsch <mb@bu3sch.de>
Sat, 5 Mar 2011 20:53:21 +0000 (20:53 +0000)
committerMichael Büsch <mb@bu3sch.de>
Sat, 5 Mar 2011 20:53:21 +0000 (20:53 +0000)
SVN-Revision: 25881

target/linux/generic/patches-2.6.37/281-solos_uniform_vpi_vci.patch

index 2071ac4b801cf46fb5ba80975a3fdbfc358e08e3..06d3f8c08c11f7d8af391f87131f41549547c035 100644 (file)
@@ -1,16 +1,15 @@
---- /dev/null
-+++ b/linux/generic/patches-2.6.37/281-solos_vpi_order.patch
-@@ -0,0 +1,13 @@
-+--- a/drivers/atm/solos-pci.c 2010-12-24 01:07:09.000000000 -0700
-++++ b/drivers/atm/solos-pci.c 2010-12-24 14:18:45.000000000 -0700
-+@@ -734,8 +734,8 @@ void solos_bh(unsigned long card_arg)
-+                                             le16_to_cpu(header->vci));
-+                              if (!vcc) {
-+                                      if (net_ratelimit())
-+-                                             dev_warn(&card->dev->dev, "Received packet for unknown VCI.VPI %d.%d on port %d\n",
-+-                                                      le16_to_cpu(header->vci), le16_to_cpu(header->vpi),
-++                                             dev_warn(&card->dev->dev, "Received packet for unknown VPI.VCI %d.%d on port %d\n",
-++                                                      le16_to_cpu(header->vpi), le16_to_cpu(header->vci),
-+                                                       port);
-+                                      continue;
-+                              }
+Index: linux-2.6.37/drivers/atm/solos-pci.c
+===================================================================
+--- linux-2.6.37.orig/drivers/atm/solos-pci.c  2011-03-05 21:46:26.136023697 +0100
++++ linux-2.6.37/drivers/atm/solos-pci.c       2011-03-05 21:48:49.046598163 +0100
+@@ -710,8 +710,8 @@ void solos_bh(unsigned long card_arg)
+                                              le16_to_cpu(header->vci));
+                               if (!vcc) {
+                                       if (net_ratelimit())
+-                                              dev_warn(&card->dev->dev, "Received packet for unknown VCI.VPI %d.%d on port %d\n",
+-                                                       le16_to_cpu(header->vci), le16_to_cpu(header->vpi),
++                                              dev_warn(&card->dev->dev, "Received packet for unknown VPI.VCI %d.%d on port %d\n",
++                                                       le16_to_cpu(header->vpi), le16_to_cpu(header->vci),
+                                                        port);
+                                       continue;
+                               }