[dahdi-commits] sruffell: linux/trunk r5944 - /linux/trunk/drivers/dahdi/fxo_modes.h

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Mon Feb 2 16:48:53 CST 2009


Author: sruffell
Date: Mon Feb  2 16:48:53 2009
New Revision: 5944

URL: http://svn.digium.com/svn-view/dahdi?view=rev&rev=5944
Log:
Raise the voltage threshhold for detecting when there is battery loss from 3V
to 40V.  DAHDI-166

Modified:
    linux/trunk/drivers/dahdi/fxo_modes.h

Modified: linux/trunk/drivers/dahdi/fxo_modes.h
URL: http://svn.digium.com/svn-view/dahdi/linux/trunk/drivers/dahdi/fxo_modes.h?view=diff&rev=5944&r1=5943&r2=5944
==============================================================================
--- linux/trunk/drivers/dahdi/fxo_modes.h (original)
+++ linux/trunk/drivers/dahdi/fxo_modes.h Mon Feb  2 16:48:53 2009
@@ -48,7 +48,7 @@
 	  .dcv = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	/* Austria, Belgium, Denmark, Finland, France, Germany, 
 	   Greece, Iceland, Ireland, Italy, Luxembourg, Netherlands,
@@ -61,13 +61,13 @@
 	  .ring_x = 0x023a,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "ARGENTINA",
 	  .dcv = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "AUSTRALIA",
 	  .ohs = 1,
@@ -75,7 +75,7 @@
 	  .acim = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "AUSTRIA",
 	  .ohs2 = 1,
@@ -84,7 +84,7 @@
 	  .acim = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "BAHRAIN",
 	  .ilim = 1,
@@ -92,7 +92,7 @@
 	  .acim = 0x2,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "BELGIUM",
 	  .ohs2 = 1,
@@ -101,13 +101,13 @@
 	  .acim = 0x2,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "BRAZIL",
 	  .mini = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "BULGARIA",
 	  .ilim = 1,
@@ -116,32 +116,32 @@
 	  .acim = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "CANADA",
 	  .dcv = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "CHILE",
 	  .dcv = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "CHINA",
 	  .mini = 0x3,
 	  .acim = 0xf,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "COLOMBIA",
 	  .dcv = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "CROATIA",
 	  .ilim = 1,
@@ -150,7 +150,7 @@
 	  .acim = 0x2,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "CYPRUS",
 	  .ilim = 1,
@@ -158,7 +158,7 @@
 	  .acim = 0x2,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "CZECH",
 	  .ilim = 1,
@@ -167,7 +167,7 @@
 	  .acim = 0x2,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "DENMARK",
 	  .ohs2 = 1,
@@ -176,25 +176,25 @@
 	  .acim = 0x2,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "ECUADOR",
 	  .dcv = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "EGYPT",
 	  .mini = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "ELSALVADOR",
 	  .dcv = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "FINLAND",
 	  .ohs2 = 1,
@@ -203,7 +203,7 @@
 	  .acim = 0x2,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "FRANCE",
 	  .ohs2 = 1,
@@ -213,7 +213,7 @@
 	  .acim = 0x2,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "GERMANY",
 	  .ohs2 = 1,
@@ -222,7 +222,7 @@
 	  .acim = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "GREECE",
 	  .ohs2 = 1,
@@ -231,25 +231,25 @@
 	  .acim = 0x2,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "GUAM",
 	  .dcv = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "HONGKONG",
 	  .dcv = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "HUNGARY",
 	  .dcv = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "ICELAND",
 	  .ohs2 = 1,
@@ -258,20 +258,20 @@
 	  .acim = 0x2,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "INDIA",
 	  .dcv = 0x3,
 	  .acim = 0x4,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "INDONESIA",
 	  .dcv = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "IRELAND",
 	  .ohs2 = 1,
@@ -280,7 +280,7 @@
 	  .acim = 0x2,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "ISRAEL",
 	  .ilim = 1,
@@ -288,7 +288,7 @@
 	  .acim = 0x2,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "ITALY",
 	  .ohs2 = 1,
@@ -297,31 +297,31 @@
 	  .acim = 0x2,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "JAPAN",
 	  .mini = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "JORDAN",
 	  .mini = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "KAZAKHSTAN",
 	  .dcv = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "KUWAIT",
 	  .dcv = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "LATVIA",
 	  .ilim = 1,
@@ -329,7 +329,7 @@
 	  .acim = 0x2,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "LEBANON",
 	  .ilim = 1,
@@ -337,7 +337,7 @@
 	  .acim = 0x2,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "LUXEMBOURG",
 	  .ohs2 = 1,
@@ -346,20 +346,20 @@
 	  .acim = 0x2,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "MACAO",
 	  .dcv = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	/* Current loop >= 20ma */
 	{ .name = "MALAYSIA",
 	  .mini = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "MALTA",
 	  .ilim = 1,
@@ -367,13 +367,13 @@
 	  .acim = 0x2,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "MEXICO",
 	  .dcv = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "MOROCCO",
 	  .ilim = 1,
@@ -381,7 +381,7 @@
 	  .acim = 0x2,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "NETHERLANDS",
 	  .ohs2 = 1,
@@ -390,14 +390,14 @@
 	  .acim = 0x2,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "NEWZEALAND",
 	  .dcv = 0x3,
 	  .acim = 0x4,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "NIGERIA",
 	  .ilim = 0x1,
@@ -405,7 +405,7 @@
 	  .acim = 0x2,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "NORWAY",
 	  .ohs2 = 1,
@@ -414,31 +414,31 @@
 	  .acim = 0x2,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "OMAN",
 	  .mini = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "PAKISTAN",
 	  .mini = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "PERU",
 	  .dcv = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "PHILIPPINES",
 	  .mini = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "POLAND",
 	  .rz = 1,
@@ -446,7 +446,7 @@
 	  .dcv = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "PORTUGAL",
 	  .ohs2 = 1,
@@ -455,45 +455,45 @@
 	  .acim = 0x2,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "ROMANIA",
 	  .dcv = 3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "RUSSIA",
 	  .mini = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "SAUDIARABIA",
 	  .dcv = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "SINGAPORE",
 	  .dcv = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "SLOVAKIA",
 	  .dcv = 0x3,
 	  .acim = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "SLOVENIA",
 	  .dcv = 0x3,
 	  .acim = 0x2,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "SOUTHAFRICA",
 	  .ohs = 1,
@@ -502,13 +502,13 @@
 	  .acim = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "SOUTHKOREA",
 	  .dcv = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "SPAIN",
 	  .ohs2 = 1,
@@ -517,7 +517,7 @@
 	  .acim = 0x2,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "SWEDEN",
 	  .ohs2 = 1,
@@ -526,7 +526,7 @@
 	  .acim = 0x2,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "SWITZERLAND",
 	  .ohs2 = 1,
@@ -535,31 +535,31 @@
 	  .acim = 0x2,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "SYRIA",
 	  .mini = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "TAIWAN",
 	  .mini = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "THAILAND",
 	  .mini = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "UAE",
 	  .dcv = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "UK",
 	  .ohs2 = 1,
@@ -568,19 +568,19 @@
 	  .acim = 0x5,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "USA",
 	  .dcv = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 	{ .name = "YEMEN",
 	  .dcv = 0x3,
 	  .battdebounce = 64,
 	  .battalarm = 1000,
-	  .battthresh = 3,
+	  .battthresh = 40,
 	},
 };
 




More information about the dahdi-commits mailing list