aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/mISDN
diff options
context:
space:
mode:
authorKarsten Keil <keil@b1-systems.de>2009-05-22 07:04:56 -0400
committerDavid S. Miller <davem@davemloft.net>2009-05-25 03:55:45 -0400
commiteac74af9b547e29c9634ed5eff4d514349e73310 (patch)
tree61842b3efc3acc8ef6e0f5d7feadd69f447a6cf5 /drivers/isdn/mISDN
parent7245a2fe3c10ed7c2e9b1c8a83af5919c0cc0a89 (diff)
mISDN: Cleanup debug messages
This patch make debug printk's KERN_DEBUG and also fix some codestyle issues. Signed-off-by: Karsten Keil <keil@b1-systems.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/mISDN')
-rw-r--r--drivers/isdn/mISDN/dsp_audio.c5
-rw-r--r--drivers/isdn/mISDN/dsp_cmx.c7
-rw-r--r--drivers/isdn/mISDN/dsp_core.c14
-rw-r--r--drivers/isdn/mISDN/dsp_ecdis.h2
-rw-r--r--drivers/isdn/mISDN/dsp_tones.c23
-rw-r--r--drivers/isdn/mISDN/l1oip_core.c30
-rw-r--r--drivers/isdn/mISDN/socket.c2
-rw-r--r--drivers/isdn/mISDN/tei.c1
-rw-r--r--drivers/isdn/mISDN/timerdev.c2
9 files changed, 45 insertions, 41 deletions
diff --git a/drivers/isdn/mISDN/dsp_audio.c b/drivers/isdn/mISDN/dsp_audio.c
index de3795e3f432..9c7c6451bf3d 100644
--- a/drivers/isdn/mISDN/dsp_audio.c
+++ b/drivers/isdn/mISDN/dsp_audio.c
@@ -210,9 +210,8 @@ dsp_audio_generate_seven(void)
210 j = 0; 210 j = 0;
211 for (k = 0; k < 256; k++) { 211 for (k = 0; k < 256; k++) {
212 if (dsp_audio_alaw_to_s32[k] 212 if (dsp_audio_alaw_to_s32[k]
213 < dsp_audio_alaw_to_s32[i]) { 213 < dsp_audio_alaw_to_s32[i])
214 j++; 214 j++;
215 }
216 } 215 }
217 sorted_alaw[j] = i; 216 sorted_alaw[j] = i;
218 } 217 }
diff --git a/drivers/isdn/mISDN/dsp_cmx.c b/drivers/isdn/mISDN/dsp_cmx.c
index 05866184ba23..9c7c0d1ba55f 100644
--- a/drivers/isdn/mISDN/dsp_cmx.c
+++ b/drivers/isdn/mISDN/dsp_cmx.c
@@ -238,7 +238,7 @@ dsp_cmx_add_conf_member(struct dsp *dsp, struct dsp_conf *conf)
238 238
239 member = kzalloc(sizeof(struct dsp_conf_member), GFP_ATOMIC); 239 member = kzalloc(sizeof(struct dsp_conf_member), GFP_ATOMIC);
240 if (!member) { 240 if (!member) {
241 printk(KERN_ERR "kmalloc struct dsp_conf_member failed\n"); 241 printk(KERN_ERR "kzalloc struct dsp_conf_member failed\n");
242 return -ENOMEM; 242 return -ENOMEM;
243 } 243 }
244 member->dsp = dsp; 244 member->dsp = dsp;
@@ -317,7 +317,7 @@ static struct dsp_conf
317 317
318 conf = kzalloc(sizeof(struct dsp_conf), GFP_ATOMIC); 318 conf = kzalloc(sizeof(struct dsp_conf), GFP_ATOMIC);
319 if (!conf) { 319 if (!conf) {
320 printk(KERN_ERR "kmalloc struct dsp_conf failed\n"); 320 printk(KERN_ERR "kzalloc struct dsp_conf failed\n");
321 return NULL; 321 return NULL;
322 } 322 }
323 INIT_LIST_HEAD(&conf->mlist); 323 INIT_LIST_HEAD(&conf->mlist);
@@ -1389,7 +1389,8 @@ dsp_cmx_send_member(struct dsp *dsp, int len, s32 *c, int members)
1389 while (r != rr && t != tt) { 1389 while (r != rr && t != tt) {
1390#ifdef CMX_TX_DEBUG 1390#ifdef CMX_TX_DEBUG
1391 if (strlen(debugbuf) < 48) 1391 if (strlen(debugbuf) < 48)
1392 sprintf(debugbuf+strlen(debugbuf), " %02x", p[t]); 1392 sprintf(debugbuf+strlen(debugbuf), " %02x",
1393 p[t]);
1393#endif 1394#endif
1394 *d++ = p[t]; /* write tx_buff */ 1395 *d++ = p[t]; /* write tx_buff */
1395 t = (t+1) & CMX_BUFF_MASK; 1396 t = (t+1) & CMX_BUFF_MASK;
diff --git a/drivers/isdn/mISDN/dsp_core.c b/drivers/isdn/mISDN/dsp_core.c
index a0e0af81eb2e..c35750647c66 100644
--- a/drivers/isdn/mISDN/dsp_core.c
+++ b/drivers/isdn/mISDN/dsp_core.c
@@ -280,7 +280,7 @@ dsp_fill_empty(struct dsp *dsp)
280static int 280static int
281dsp_control_req(struct dsp *dsp, struct mISDNhead *hh, struct sk_buff *skb) 281dsp_control_req(struct dsp *dsp, struct mISDNhead *hh, struct sk_buff *skb)
282{ 282{
283 struct sk_buff *nskb; 283 struct sk_buff *nskb;
284 int ret = 0; 284 int ret = 0;
285 int cont; 285 int cont;
286 u8 *data; 286 u8 *data;
@@ -558,7 +558,7 @@ tone_off:
558 dsp->pipeline.inuse = 1; 558 dsp->pipeline.inuse = 1;
559 dsp_cmx_hardware(dsp->conf, dsp); 559 dsp_cmx_hardware(dsp->conf, dsp);
560 ret = dsp_pipeline_build(&dsp->pipeline, 560 ret = dsp_pipeline_build(&dsp->pipeline,
561 len > 0 ? (char *)data : NULL); 561 len > 0 ? data : NULL);
562 dsp_cmx_hardware(dsp->conf, dsp); 562 dsp_cmx_hardware(dsp->conf, dsp);
563 dsp_rx_off(dsp); 563 dsp_rx_off(dsp);
564 } 564 }
@@ -720,7 +720,7 @@ dsp_function(struct mISDNchannel *ch, struct sk_buff *skb)
720 /* check if dtmf soft decoding is turned on */ 720 /* check if dtmf soft decoding is turned on */
721 if (dsp->dtmf.software) { 721 if (dsp->dtmf.software) {
722 digits = dsp_dtmf_goertzel_decode(dsp, skb->data, 722 digits = dsp_dtmf_goertzel_decode(dsp, skb->data,
723 skb->len, (dsp_options&DSP_OPT_ULAW)?1:0); 723 skb->len, (dsp_options&DSP_OPT_ULAW) ? 1 : 0);
724 } 724 }
725 /* we need to process receive data if software */ 725 /* we need to process receive data if software */
726 if (dsp->conf && dsp->conf->software) { 726 if (dsp->conf && dsp->conf->software) {
@@ -952,7 +952,7 @@ dsp_ctrl(struct mISDNchannel *ch, u_int cmd, void *arg)
952 int err = 0; 952 int err = 0;
953 953
954 if (debug & DEBUG_DSP_CTRL) 954 if (debug & DEBUG_DSP_CTRL)
955 printk(KERN_DEBUG "%s:(%x)\n", __func__, cmd); 955 printk(KERN_DEBUG "%s:(%x)\n", __func__, cmd);
956 956
957 switch (cmd) { 957 switch (cmd) {
958 case OPEN_CHANNEL: 958 case OPEN_CHANNEL:
@@ -1175,9 +1175,9 @@ static int dsp_init(void)
1175 1175
1176 /* init conversion tables */ 1176 /* init conversion tables */
1177 dsp_audio_generate_law_tables(); 1177 dsp_audio_generate_law_tables();
1178 dsp_silence = (dsp_options&DSP_OPT_ULAW)?0xff:0x2a; 1178 dsp_silence = (dsp_options&DSP_OPT_ULAW) ? 0xff : 0x2a;
1179 dsp_audio_law_to_s32 = (dsp_options&DSP_OPT_ULAW)?dsp_audio_ulaw_to_s32: 1179 dsp_audio_law_to_s32 = (dsp_options&DSP_OPT_ULAW) ?
1180 dsp_audio_alaw_to_s32; 1180 dsp_audio_ulaw_to_s32 : dsp_audio_alaw_to_s32;
1181 dsp_audio_generate_s2law_table(); 1181 dsp_audio_generate_s2law_table();
1182 dsp_audio_generate_seven(); 1182 dsp_audio_generate_seven();
1183 dsp_audio_generate_mix_table(); 1183 dsp_audio_generate_mix_table();
diff --git a/drivers/isdn/mISDN/dsp_ecdis.h b/drivers/isdn/mISDN/dsp_ecdis.h
index 8a20af43308b..21dbd153ee26 100644
--- a/drivers/isdn/mISDN/dsp_ecdis.h
+++ b/drivers/isdn/mISDN/dsp_ecdis.h
@@ -91,7 +91,7 @@ int16_t amp)
91 && det->tone_cycle_duration <= 475*8) { 91 && det->tone_cycle_duration <= 475*8) {
92 det->good_cycles++; 92 det->good_cycles++;
93 if (det->good_cycles > 2) 93 if (det->good_cycles > 2)
94 det->hit = TRUE; 94 det->hit = TRUE;
95 } 95 }
96 det->tone_cycle_duration = 0; 96 det->tone_cycle_duration = 0;
97 } 97 }
diff --git a/drivers/isdn/mISDN/dsp_tones.c b/drivers/isdn/mISDN/dsp_tones.c
index 7a9af66f4b19..1debf53670de 100644
--- a/drivers/isdn/mISDN/dsp_tones.c
+++ b/drivers/isdn/mISDN/dsp_tones.c
@@ -253,18 +253,24 @@ static struct pattern {
253 {8000, 0, 0, 0, 0, 0, 0, 0, 0, 0} }, 253 {8000, 0, 0, 0, 0, 0, 0, 0, 0, 0} },
254 254
255 {TONE_GERMAN_DIALPBX, 255 {TONE_GERMAN_DIALPBX,
256 {DATA_GA, DATA_S, DATA_GA, DATA_S, DATA_GA, DATA_S, NULL, NULL, NULL, NULL}, 256 {DATA_GA, DATA_S, DATA_GA, DATA_S, DATA_GA, DATA_S, NULL, NULL, NULL,
257 {SIZE_GA, SIZE_S, SIZE_GA, SIZE_S, SIZE_GA, SIZE_S, NULL, NULL, NULL, NULL}, 257 NULL},
258 {SIZE_GA, SIZE_S, SIZE_GA, SIZE_S, SIZE_GA, SIZE_S, NULL, NULL, NULL,
259 NULL},
258 {2000, 2000, 2000, 2000, 2000, 12000, 0, 0, 0, 0} }, 260 {2000, 2000, 2000, 2000, 2000, 12000, 0, 0, 0, 0} },
259 261
260 {TONE_GERMAN_OLDDIALPBX, 262 {TONE_GERMAN_OLDDIALPBX,
261 {DATA_GO, DATA_S, DATA_GO, DATA_S, DATA_GO, DATA_S, NULL, NULL, NULL, NULL}, 263 {DATA_GO, DATA_S, DATA_GO, DATA_S, DATA_GO, DATA_S, NULL, NULL, NULL,
262 {SIZE_GO, SIZE_S, SIZE_GO, SIZE_S, SIZE_GO, SIZE_S, NULL, NULL, NULL, NULL}, 264 NULL},
265 {SIZE_GO, SIZE_S, SIZE_GO, SIZE_S, SIZE_GO, SIZE_S, NULL, NULL, NULL,
266 NULL},
263 {2000, 2000, 2000, 2000, 2000, 12000, 0, 0, 0, 0} }, 267 {2000, 2000, 2000, 2000, 2000, 12000, 0, 0, 0, 0} },
264 268
265 {TONE_AMERICAN_DIALPBX, 269 {TONE_AMERICAN_DIALPBX,
266 {DATA_DT, DATA_S, DATA_DT, DATA_S, DATA_DT, DATA_S, NULL, NULL, NULL, NULL}, 270 {DATA_DT, DATA_S, DATA_DT, DATA_S, DATA_DT, DATA_S, NULL, NULL, NULL,
267 {SIZE_DT, SIZE_S, SIZE_DT, SIZE_S, SIZE_DT, SIZE_S, NULL, NULL, NULL, NULL}, 271 NULL},
272 {SIZE_DT, SIZE_S, SIZE_DT, SIZE_S, SIZE_DT, SIZE_S, NULL, NULL, NULL,
273 NULL},
268 {2000, 2000, 2000, 2000, 2000, 12000, 0, 0, 0, 0} }, 274 {2000, 2000, 2000, 2000, 2000, 12000, 0, 0, 0, 0} },
269 275
270 {TONE_GERMAN_RINGING, 276 {TONE_GERMAN_RINGING,
@@ -434,7 +440,7 @@ dsp_tone_hw_message(struct dsp *dsp, u8 *sample, int len)
434 440
435 /* unlocking is not required, because we don't expect a response */ 441 /* unlocking is not required, because we don't expect a response */
436 nskb = _alloc_mISDN_skb(PH_CONTROL_REQ, 442 nskb = _alloc_mISDN_skb(PH_CONTROL_REQ,
437 (len)?HFC_SPL_LOOP_ON:HFC_SPL_LOOP_OFF, len, sample, 443 (len) ? HFC_SPL_LOOP_ON : HFC_SPL_LOOP_OFF, len, sample,
438 GFP_ATOMIC); 444 GFP_ATOMIC);
439 if (nskb) { 445 if (nskb) {
440 if (dsp->ch.peer) { 446 if (dsp->ch.peer) {
@@ -498,8 +504,7 @@ dsp_tone(struct dsp *dsp, int tone)
498 504
499 /* we turn off the tone */ 505 /* we turn off the tone */
500 if (!tone) { 506 if (!tone) {
501 if (dsp->features.hfc_loops) 507 if (dsp->features.hfc_loops && timer_pending(&tonet->tl))
502 if (timer_pending(&tonet->tl))
503 del_timer(&tonet->tl); 508 del_timer(&tonet->tl);
504 if (dsp->features.hfc_loops) 509 if (dsp->features.hfc_loops)
505 dsp_tone_hw_message(dsp, NULL, 0); 510 dsp_tone_hw_message(dsp, NULL, 0);
diff --git a/drivers/isdn/mISDN/l1oip_core.c b/drivers/isdn/mISDN/l1oip_core.c
index ea3c3aa2004b..d9cf83b17e3c 100644
--- a/drivers/isdn/mISDN/l1oip_core.c
+++ b/drivers/isdn/mISDN/l1oip_core.c
@@ -308,8 +308,8 @@ l1oip_socket_send(struct l1oip *hc, u8 localcodec, u8 channel, u32 chanmask,
308 308
309 /* assemble frame */ 309 /* assemble frame */
310 *p++ = (L1OIP_VERSION<<6) /* version and coding */ 310 *p++ = (L1OIP_VERSION<<6) /* version and coding */
311 | (hc->pri?0x20:0x00) /* type */ 311 | (hc->pri ? 0x20 : 0x00) /* type */
312 | (hc->id?0x10:0x00) /* id */ 312 | (hc->id ? 0x10 : 0x00) /* id */
313 | localcodec; 313 | localcodec;
314 if (hc->id) { 314 if (hc->id) {
315 *p++ = hc->id>>24; /* id */ 315 *p++ = hc->id>>24; /* id */
@@ -317,7 +317,7 @@ l1oip_socket_send(struct l1oip *hc, u8 localcodec, u8 channel, u32 chanmask,
317 *p++ = hc->id>>8; 317 *p++ = hc->id>>8;
318 *p++ = hc->id; 318 *p++ = hc->id;
319 } 319 }
320 *p++ = (multi == 1)?0x80:0x00 + channel; /* m-flag, channel */ 320 *p++ = (multi == 1) ? 0x80 : 0x00 + channel; /* m-flag, channel */
321 if (multi == 1) 321 if (multi == 1)
322 *p++ = len; /* length */ 322 *p++ = len; /* length */
323 *p++ = timebase>>8; /* time base */ 323 *p++ = timebase>>8; /* time base */
@@ -401,12 +401,12 @@ l1oip_socket_recv(struct l1oip *hc, u8 remotecodec, u8 channel, u16 timebase,
401 } 401 }
402 402
403 /* prepare message */ 403 /* prepare message */
404 nskb = mI_alloc_skb((remotecodec == 3)?(len<<1):len, GFP_ATOMIC); 404 nskb = mI_alloc_skb((remotecodec == 3) ? (len<<1) : len, GFP_ATOMIC);
405 if (!nskb) { 405 if (!nskb) {
406 printk(KERN_ERR "%s: No mem for skb.\n", __func__); 406 printk(KERN_ERR "%s: No mem for skb.\n", __func__);
407 return; 407 return;
408 } 408 }
409 p = skb_put(nskb, (remotecodec == 3)?(len<<1):len); 409 p = skb_put(nskb, (remotecodec == 3) ? (len<<1) : len);
410 410
411 if (remotecodec == 1 && ulaw) 411 if (remotecodec == 1 && ulaw)
412 l1oip_alaw_to_ulaw(buf, len, p); 412 l1oip_alaw_to_ulaw(buf, len, p);
@@ -458,7 +458,7 @@ l1oip_socket_recv(struct l1oip *hc, u8 remotecodec, u8 channel, u16 timebase,
458 hc->chan[channel].disorder_flag ^= 1; 458 hc->chan[channel].disorder_flag ^= 1;
459 if (nskb) 459 if (nskb)
460#endif 460#endif
461 queue_ch_frame(&bch->ch, PH_DATA_IND, rx_counter, nskb); 461 queue_ch_frame(&bch->ch, PH_DATA_IND, rx_counter, nskb);
462 } 462 }
463} 463}
464 464
@@ -749,8 +749,8 @@ l1oip_socket_thread(void *data)
749 l1oip_socket_parse(hc, &sin_rx, recvbuf, recvlen); 749 l1oip_socket_parse(hc, &sin_rx, recvbuf, recvlen);
750 } else { 750 } else {
751 if (debug & DEBUG_L1OIP_SOCKET) 751 if (debug & DEBUG_L1OIP_SOCKET)
752 printk(KERN_WARNING "%s: broken pipe on socket\n", 752 printk(KERN_WARNING
753 __func__); 753 "%s: broken pipe on socket\n", __func__);
754 } 754 }
755 } 755 }
756 756
@@ -925,7 +925,7 @@ handle_dmsg(struct mISDNchannel *ch, struct sk_buff *skb)
925 p = skb->data; 925 p = skb->data;
926 l = skb->len; 926 l = skb->len;
927 while (l) { 927 while (l) {
928 ll = (l < L1OIP_MAX_PERFRAME)?l:L1OIP_MAX_PERFRAME; 928 ll = (l < L1OIP_MAX_PERFRAME) ? l : L1OIP_MAX_PERFRAME;
929 l1oip_socket_send(hc, 0, dch->slot, 0, 929 l1oip_socket_send(hc, 0, dch->slot, 0,
930 hc->chan[dch->slot].tx_counter++, p, ll); 930 hc->chan[dch->slot].tx_counter++, p, ll);
931 p += ll; 931 p += ll;
@@ -1173,7 +1173,7 @@ handle_bmsg(struct mISDNchannel *ch, struct sk_buff *skb)
1173 p = skb->data; 1173 p = skb->data;
1174 l = skb->len; 1174 l = skb->len;
1175 while (l) { 1175 while (l) {
1176 ll = (l < L1OIP_MAX_PERFRAME)?l:L1OIP_MAX_PERFRAME; 1176 ll = (l < L1OIP_MAX_PERFRAME) ? l : L1OIP_MAX_PERFRAME;
1177 l1oip_socket_send(hc, hc->codec, bch->slot, 0, 1177 l1oip_socket_send(hc, hc->codec, bch->slot, 0,
1178 hc->chan[bch->slot].tx_counter, p, ll); 1178 hc->chan[bch->slot].tx_counter, p, ll);
1179 hc->chan[bch->slot].tx_counter += ll; 1179 hc->chan[bch->slot].tx_counter += ll;
@@ -1331,8 +1331,8 @@ init_card(struct l1oip *hc, int pri, int bundle)
1331 spin_lock_init(&hc->socket_lock); 1331 spin_lock_init(&hc->socket_lock);
1332 hc->idx = l1oip_cnt; 1332 hc->idx = l1oip_cnt;
1333 hc->pri = pri; 1333 hc->pri = pri;
1334 hc->d_idx = pri?16:3; 1334 hc->d_idx = pri ? 16 : 3;
1335 hc->b_num = pri?30:2; 1335 hc->b_num = pri ? 30 : 2;
1336 hc->bundle = bundle; 1336 hc->bundle = bundle;
1337 if (hc->pri) 1337 if (hc->pri)
1338 sprintf(hc->name, "l1oip-e1.%d", l1oip_cnt + 1); 1338 sprintf(hc->name, "l1oip-e1.%d", l1oip_cnt + 1);
@@ -1517,9 +1517,9 @@ l1oip_init(void)
1517 1517
1518 if (debug & DEBUG_L1OIP_INIT) 1518 if (debug & DEBUG_L1OIP_INIT)
1519 printk(KERN_DEBUG "%s: interface %d is %s with %s.\n", 1519 printk(KERN_DEBUG "%s: interface %d is %s with %s.\n",
1520 __func__, l1oip_cnt, pri?"PRI":"BRI", 1520 __func__, l1oip_cnt, pri ? "PRI" : "BRI",
1521 bundle?"bundled IP packet for all B-channels" 1521 bundle ? "bundled IP packet for all B-channels" :
1522 :"seperate IP packets for every B-channel"); 1522 "seperate IP packets for every B-channel");
1523 1523
1524 hc = kzalloc(sizeof(struct l1oip), GFP_ATOMIC); 1524 hc = kzalloc(sizeof(struct l1oip), GFP_ATOMIC);
1525 if (!hc) { 1525 if (!hc) {
diff --git a/drivers/isdn/mISDN/socket.c b/drivers/isdn/mISDN/socket.c
index 2a2c30a9438f..c36f52137456 100644
--- a/drivers/isdn/mISDN/socket.c
+++ b/drivers/isdn/mISDN/socket.c
@@ -222,7 +222,7 @@ mISDN_sock_sendmsg(struct kiocb *iocb, struct socket *sock,
222 } else { /* use default for L2 messages */ 222 } else { /* use default for L2 messages */
223 if ((sk->sk_protocol == ISDN_P_LAPD_TE) || 223 if ((sk->sk_protocol == ISDN_P_LAPD_TE) ||
224 (sk->sk_protocol == ISDN_P_LAPD_NT)) 224 (sk->sk_protocol == ISDN_P_LAPD_NT))
225 mISDN_HEAD_ID(skb) = _pms(sk)->ch.nr; 225 mISDN_HEAD_ID(skb) = _pms(sk)->ch.nr;
226 } 226 }
227 227
228 if (*debug & DEBUG_SOCKET) 228 if (*debug & DEBUG_SOCKET)
diff --git a/drivers/isdn/mISDN/tei.c b/drivers/isdn/mISDN/tei.c
index 778b660f0672..bfcdd97df95d 100644
--- a/drivers/isdn/mISDN/tei.c
+++ b/drivers/isdn/mISDN/tei.c
@@ -872,7 +872,6 @@ ph_data_ind(struct manager *mgr, struct sk_buff *skb)
872 __func__, skb->len); 872 __func__, skb->len);
873 goto done; 873 goto done;
874 } 874 }
875 if (*debug & DEBUG_L2_TEI)
876 875
877 if ((skb->data[0] >> 2) != TEI_SAPI) /* not for us */ 876 if ((skb->data[0] >> 2) != TEI_SAPI) /* not for us */
878 goto done; 877 goto done;
diff --git a/drivers/isdn/mISDN/timerdev.c b/drivers/isdn/mISDN/timerdev.c
index bbd99d3282c0..5b7e9bf514f1 100644
--- a/drivers/isdn/mISDN/timerdev.c
+++ b/drivers/isdn/mISDN/timerdev.c
@@ -259,7 +259,7 @@ mISDN_ioctl(struct inode *inode, struct file *filep, unsigned int cmd,
259 return ret; 259 return ret;
260} 260}
261 261
262static struct file_operations mISDN_fops = { 262static const struct file_operations mISDN_fops = {
263 .read = mISDN_read, 263 .read = mISDN_read,
264 .poll = mISDN_poll, 264 .poll = mISDN_poll,
265 .ioctl = mISDN_ioctl, 265 .ioctl = mISDN_ioctl,