Project

General

Profile

mISDN.diff

Patch for mISDN on Ubuntu 12.04 - konrad, 05/31/2012 12:30 PM

View differences:

drivers/isdn/hardware/mISDN/avmfritz.c
21 21
 *
22 22
 */
23 23
#include <linux/module.h>
24
#include <linux/interrupt.h>
24 25
#include <linux/pci.h>
25 26
#include <linux/delay.h>
26 27
#include <linux/mISDNhw.h>
drivers/isdn/hardware/mISDN/hfcmulti.c
165 165
#define HFC_MULTI_VERSION	"2.03"
166 166

  
167 167
#include <linux/module.h>
168
#include <linux/interrupt.h>
168 169
#include <linux/slab.h>
169 170
#include <linux/pci.h>
170 171
#include <linux/delay.h>
drivers/isdn/hardware/mISDN/hfcpci.c
45 45
 */
46 46

  
47 47
#include <linux/module.h>
48
#include <linux/interrupt.h>
48 49
#include <linux/pci.h>
49 50
#include <linux/delay.h>
50 51
#include <linux/mISDNhw.h>
drivers/isdn/hardware/mISDN/mISDNinfineon.c
39 39
 */
40 40

  
41 41
#include <linux/module.h>
42
#include <linux/interrupt.h>
42 43
#include <linux/pci.h>
43 44
#include <linux/delay.h>
44 45
#include <linux/mISDNhw.h>
drivers/isdn/hardware/mISDN/mISDNisar.c
25 25
 */
26 26
/* #define DEBUG */
27 27

  
28
#include <linux/module.h>
29
#include <linux/interrupt.h>
28 30
#include <linux/gfp.h>
29 31
#include <linux/delay.h>
30 32
#include <linux/vmalloc.h>
drivers/isdn/hardware/mISDN/speedfax.c
23 23
 */
24 24

  
25 25
#include <linux/module.h>
26
#include <linux/interrupt.h>
26 27
#include <linux/slab.h>
27 28
#include <linux/pci.h>
28 29
#include <linux/delay.h>
drivers/isdn/hardware/mISDN/w6692.c
22 22
 */
23 23

  
24 24
#include <linux/module.h>
25
#include <linux/interrupt.h>
25 26
#include <linux/pci.h>
26 27
#include <linux/delay.h>
27 28
#include <linux/mISDNhw.h>
drivers/isdn/hardware/mISDN/xhfc_pci2pi.c
21 21
 *
22 22
 */
23 23

  
24
#include <linux/interrupt.h>
24 25
#include <linux/module.h>
25 26
#include <linux/delay.h>
26 27
#include <linux/pci.h>
......
29 30

  
30 31
static int card_cnt = 0;
31 32
static LIST_HEAD(card_list);
32
static rwlock_t card_lock = RW_LOCK_UNLOCKED;
33

  
33
static DEFINE_RWLOCK(card_lock);
34 34

  
35 35
static struct pci_device_id xhfc_ids[] = {
36 36
	{
drivers/isdn/hardware/mISDN/xhfc_su.c
26 26
 *      G - common mISDN debug flags described at mISDNhw.h
27 27
 */
28 28
#include <linux/module.h>
29
#include <linux/interrupt.h>
29 30
#include <linux/delay.h>
30 31
#include <linux/mISDNhw.h>
31 32
#include "xhfc_su.h"
drivers/isdn/mISDN/dsp_kb1ec.c
30 30
#include "dsp.h"
31 31
#include "dsp_kb1ec.h"
32 32
#include "dsp_cancel.h"
33
#include <linux/module.h>
33 34

  
34 35
static void *new(const char *arg)
35 36
{
drivers/isdn/mISDN/dsp_mec2.c
24 24
 *
25 25
 */
26 26

  
27
#include <linux/module.h>
27 28
#include <linux/mISDNif.h>
28 29
#include <linux/mISDNdsp.h>
29 30
#include "core.h"
drivers/isdn/mISDN/dsp_mg2ec.c
24 24
 *
25 25
 */
26 26

  
27
#include <linux/module.h>
27 28
#include <linux/mISDNif.h>
28 29
#include <linux/mISDNdsp.h>
29 30
#include "core.h"
drivers/isdn/mISDN/dsp_octwareec.c
24 24
 *
25 25
 */
26 26

  
27
#include <linux/module.h>
27 28
#include <linux/mISDNif.h>
28 29
#include <linux/mISDNdsp.h>
29 30
#include "core.h"
drivers/isdn/mISDN/dsp_oslec.c
26 26
 *
27 27
 */
28 28

  
29
#include <linux/module.h>
29 30
#include <linux/mISDNif.h>
30 31
#include <linux/mISDNdsp.h>
31 32
#include "core.h"
drivers/isdn/mISDN/dsp_pipeline.c
32 32
#include <linux/mISDNdsp.h>
33 33
#include "dsp.h"
34 34
#include "dsp_hwec.h"
35
#include <linux/export.h>
35 36

  
36 37
/* uncomment for debugging */
37 38
/*#define PIPELINE_DEBUG*/
drivers/isdn/mISDN/hwchannel.c
110 110
	}
111 111
	skb_queue_purge(&ch->squeue);
112 112
	skb_queue_purge(&ch->rqueue);
113
	flush_work_sync(&ch->workq);
113
	flush_scheduled_work();
114 114
	return 0;
115 115
}
116 116
EXPORT_SYMBOL(mISDN_freedchannel);
......
143 143
	mISDN_clear_bchannel(ch);
144 144
	skb_queue_purge(&ch->rqueue);
145 145
	ch->rcount = 0;
146
	flush_work_sync(&ch->workq);
146
	flush_scheduled_work();
147 147
	return 0;
148 148
}
149 149
EXPORT_SYMBOL(mISDN_freebchannel);
drivers/isdn/mISDN/octvqe/octvqe_linux.c
1111 1111
    write:	    octdev_write,
1112 1112
    release:	  octdev_release,
1113 1113
    poll:	     octdev_poll,
1114
    ioctl:	    octdev_ioctl,
1114
    unlocked_ioctl:	    octdev_ioctl,
1115 1115
};
1116 1116

  
1117 1117
static int octvqe_init(void)
drivers/isdn/mISDN/socket.c
18 18
#include <linux/mISDNif.h>
19 19
#include <linux/slab.h>
20 20
#include "core.h"
21

  
21
#include <linux/export.h>
22 22
static u_int	*debug;
23 23

  
24 24
static struct proto mISDN_proto = {
Add picture from clipboard (Maximum size: 48.8 MB)