Backport of upstream patch: always use vpi.vci notation.

This is handy when debugging what your PPPoA settings should be and you're 
using OpenWRT instead of the braindead device your DSL provider wants you to 
use.

Index: target/linux/generic/patches-2.6.37/281-solos_vpi_order.patch
===================================================================
--- target/linux/generic/patches-2.6.37/281-solos_vpi_order.patch       
(revision 0)
+++ target/linux/generic/patches-2.6.37/281-solos_vpi_order.patch       
(revision 0)
@@ -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;
+                               }




_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to