~ubuntu-branches/ubuntu/quantal/zaptel/quantal

« back to all changes in this revision

Viewing changes to debian/patches/headers_2627

  • Committer: Bazaar Package Importer
  • Author(s): Tzafrir Cohen
  • Date: 2008-08-28 22:58:23 UTC
  • mfrom: (11.1.11 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080828225823-r8bdunirm8hmc76m
Tags: 1:1.4.11~dfsg-2
* Patch xpp_fxs_power: Fixed an issue with hook detection of the Astribank
  FXS module.
* Don't fail init.d script if fxotune fails. This may happen if running it
  when Asterisk is already running.
* Bump standards version to 3.8.0.0 .
* Ignore false lintian warning ("m-a a-i" has "a a").
* Patch xpp_fxo_cid_always: do always pass PCM if that's what the user
  asked.
* Patch vzaphfc_proc_root_dir: fix vzaphfc on 2.6.26.
* Patch wcte12xp_flags: Proper time for irq save flags.
* Patch headers_2627: Fix location of semaphore.h for 2.6.27 .
* Patch xpp_fxs_dtmf_leak: Don't play DTMFs to the wrong channel.
* Patch wctdm_fix_alarm: Fix sending channel alarms.
* Patch device_class_2626: Fix building 2.6.26 (Closes: #493397).
* Using dh_lintian for lintian overrides, hence requiring debhelper 6.0.7.
* Lintian: we know we have direct changes. Too bad we're half-upstream :-(
* Fix doc-base section names. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Fix location of headers for kernel 2.6.27.
 
2
 
 
3
Source:  svn diff -c 4496 http://svn.digium.com/svn/zaptel/branches/1.4
 
4
Upstream Issue: http://bugs.digium.com/13277
 
5
 
 
6
--- a/kernel/xpp/xpd.h
 
7
+++ b/kernel/xpp/xpd.h
 
8
@@ -29,8 +29,13 @@
 
9
 #ifdef __KERNEL__
 
10
 #include <linux/kernel.h>
 
11
 #include <linux/device.h>
 
12
+#include <linux/version.h>
 
13
 #include <asm/atomic.h>
 
14
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
 
15
+#include <linux/semaphore.h>
 
16
+#else
 
17
 #include <asm/semaphore.h>
 
18
+#endif
 
19
 #include <linux/moduleparam.h>
 
20
 #ifdef XPP_DEBUGFS
 
21
 #ifndef        CONFIG_DEBUG_FS
 
22
--- a/kernel/wctdm24xxp/GpakCust.c
 
23
+++ b/kernel/wctdm24xxp/GpakCust.c
 
24
@@ -37,7 +37,11 @@
 
25
 
 
26
 #include <linux/version.h>
 
27
 #include <linux/delay.h>
 
28
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
 
29
+#include <linux/semaphore.h>
 
30
+#else
 
31
 #include <asm/semaphore.h>
 
32
+#endif
 
33
 
 
34
 #include "zaptel.h"
 
35
 #include "wctdm24xxp.h"
 
36
--- a/kernel/wctdm24xxp/wctdm24xxp.h
 
37
+++ b/kernel/wctdm24xxp/wctdm24xxp.h
 
38
@@ -29,7 +29,12 @@
 
39
 
 
40
 #include "../zaptel.h"
 
41
 #include "../voicebus.h"
 
42
+#include <linux/version.h>
 
43
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
 
44
+#include <linux/semaphore.h>
 
45
+#else
 
46
 #include <asm/semaphore.h>
 
47
+#endif
 
48
 
 
49
 #define NUM_FXO_REGS 60
 
50
 
 
51
--- a/kernel/wctdm24xxp/base.c
 
52
+++ b/kernel/wctdm24xxp/base.c
 
53
@@ -44,7 +44,11 @@ Tx Gain - W/Pre-Emphasis: -23.99 to 0.00
 
54
 #include <linux/interrupt.h>
 
55
 #include <linux/workqueue.h>
 
56
 #include <linux/delay.h>
 
57
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
 
58
+#include <linux/semaphore.h>
 
59
+#else
 
60
 #include <asm/semaphore.h>
 
61
+#endif
 
62
 
 
63
 #ifdef LINUX26
 
64
 #include <linux/moduleparam.h>
 
65
--- a/kernel/wctdm24xxp/GpakApi.c
 
66
+++ b/kernel/wctdm24xxp/GpakApi.c
 
67
@@ -34,7 +34,11 @@
 
68
  */
 
69
 
 
70
 #include <linux/version.h>
 
71
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
 
72
+#include <linux/semaphore.h>
 
73
+#else
 
74
 #include <asm/semaphore.h>
 
75
+#endif
 
76
 
 
77
 #include "zaptel.h"
 
78
 
 
79
--- a/kernel/wcte12xp/vpmadt032.c
 
80
+++ b/kernel/wcte12xp/vpmadt032.c
 
81
@@ -29,7 +29,12 @@
 
82
  */
 
83
 
 
84
 #include <linux/delay.h>
 
85
+#include <linux/version.h>
 
86
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
 
87
+#include <linux/semaphore.h>
 
88
+#else
 
89
 #include <asm/semaphore.h>
 
90
+#endif
 
91
 #include <linux/pci.h> 
 
92
 #include <linux/firmware.h> 
 
93
 #include <linux/list.h> 
 
94
--- a/kernel/wctc4xxp/base.c
 
95
+++ b/kernel/wctc4xxp/base.c
 
96
@@ -38,7 +38,12 @@
 
97
 #include <linux/mman.h>
 
98
 #include <linux/delay.h>
 
99
 #include <asm/io.h>
 
100
+#include <linux/version.h>
 
101
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
 
102
+#include <linux/semaphore.h>
 
103
+#else
 
104
 #include <asm/semaphore.h>
 
105
+#endif
 
106
 #include <linux/jiffies.h>
 
107
 #include <linux/workqueue.h>
 
108
 #include <linux/moduleparam.h>