]> rtime.felk.cvut.cz Git - lincan.git/blob - lincan/include/proc.h
Merge branch 'master' into can-usb1
[lincan.git] / lincan / include / proc.h
1 /* proc.h
2  * Header file for the Linux CAN-bus driver.
3  * Written by Arnaud Westenberg email:arnaud@wanadoo.nl
4  * Rewritten for new CAN queues by Pavel Pisa - OCERA team member
5  * email:pisa@cmp.felk.cvut.cz
6  * This software is released under the GPL-License.
7  * Version lincan-0.3  17 Jun 2004
8  */
9
10 #include <linux/proc_fs.h>
11 #include "./constants.h"
12
13 int can_init_procdir(void);
14 int can_init_procentry(int board);
15 int can_delete_procdir(void);
16 int can_delete_procentry(struct candevice_t *candev);
17
18 struct canproc_t {
19         struct proc_dir_entry *can_proc_entry;
20         struct channelproc_t *channel[MAX_TOT_CHIPS];
21 };
22
23 struct channelproc_t {
24         char ch_name[20];
25         struct proc_dir_entry *ch_entry;
26         struct objectproc_t *object[MAX_MSGOBJS];
27 };
28
29
30 struct objectproc_t {
31         char obj_name[20];
32         struct proc_dir_entry *obj_entry;
33         char lnk_name[20];
34         char lnk_dev[20];
35         struct proc_dir_entry *lnk;
36 };