aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/capi/kcapi_proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn/capi/kcapi_proc.c')
-rw-r--r--drivers/isdn/capi/kcapi_proc.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/isdn/capi/kcapi_proc.c b/drivers/isdn/capi/kcapi_proc.c
index 8d51cd1bf674..68db3c5a1063 100644
--- a/drivers/isdn/capi/kcapi_proc.c
+++ b/drivers/isdn/capi/kcapi_proc.c
@@ -1,9 +1,9 @@
1/* 1/*
2 * Kernel CAPI 2.0 Module - /proc/capi handling 2 * Kernel CAPI 2.0 Module - /proc/capi handling
3 * 3 *
4 * Copyright 1999 by Carsten Paeth <calle@calle.de> 4 * Copyright 1999 by Carsten Paeth <calle@calle.de>
5 * Copyright 2002 by Kai Germaschewski <kai@germaschewski.name> 5 * Copyright 2002 by Kai Germaschewski <kai@germaschewski.name>
6 * 6 *
7 * This software may be used and distributed according to the terms 7 * This software may be used and distributed according to the terms
8 * of the GNU General Public License, incorporated herein by reference. 8 * of the GNU General Public License, incorporated herein by reference.
9 * 9 *
@@ -29,7 +29,7 @@ static char *state2str(unsigned short state)
29// /proc/capi 29// /proc/capi
30// =========================================================================== 30// ===========================================================================
31 31
32// /proc/capi/controller: 32// /proc/capi/controller:
33// cnr driver cardstate name driverinfo 33// cnr driver cardstate name driverinfo
34// /proc/capi/contrstats: 34// /proc/capi/contrstats:
35// cnr nrecvctlpkt nrecvdatapkt nsentctlpkt nsentdatapkt 35// cnr nrecvctlpkt nrecvdatapkt nsentctlpkt nsentdatapkt
@@ -85,7 +85,7 @@ static int contrstats_show(struct seq_file *seq, void *v)
85 return 0; 85 return 0;
86 86
87 seq_printf(seq, "%d %lu %lu %lu %lu\n", 87 seq_printf(seq, "%d %lu %lu %lu %lu\n",
88 ctr->cnr, 88 ctr->cnr,
89 ctr->nrecvctlpkt, 89 ctr->nrecvctlpkt,
90 ctr->nrecvdatapkt, 90 ctr->nrecvdatapkt,
91 ctr->nsentctlpkt, 91 ctr->nsentctlpkt,
@@ -134,9 +134,9 @@ static const struct file_operations proc_contrstats_ops = {
134 .release = seq_release, 134 .release = seq_release,
135}; 135};
136 136
137// /proc/capi/applications: 137// /proc/capi/applications:
138// applid l3cnt dblkcnt dblklen #ncci recvqueuelen 138// applid l3cnt dblkcnt dblklen #ncci recvqueuelen
139// /proc/capi/applstats: 139// /proc/capi/applstats:
140// applid nrecvctlpkt nrecvdatapkt nsentctlpkt nsentdatapkt 140// applid nrecvctlpkt nrecvdatapkt nsentctlpkt nsentdatapkt
141// --------------------------------------------------------------------------- 141// ---------------------------------------------------------------------------
142 142
@@ -297,7 +297,7 @@ static const struct file_operations proc_driver_ops = {
297 297
298// --------------------------------------------------------------------------- 298// ---------------------------------------------------------------------------
299 299
300void __init 300void __init
301kcapi_proc_init(void) 301kcapi_proc_init(void)
302{ 302{
303 proc_mkdir("capi", NULL); 303 proc_mkdir("capi", NULL);