]> bbs.cooldavid.org Git - net-next-2.6.git/blame - drivers/staging/comedi/kcomedilib/ksyms.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit...
[net-next-2.6.git] / drivers / staging / comedi / kcomedilib / ksyms.c
CommitLineData
b79a7a20
DS
1/*
2 comedi/kcomedilib/ksyms.c
3 a comedlib interface for kernel modules
4
5 COMEDI - Linux Control and Measurement Device Interface
6 Copyright (C) 1997-2001 David A. Schleef <ds@schleef.org>
7
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21
22*/
23
b79a7a20
DS
24#include "../comedi.h"
25#include "../comedilib.h"
26#include "../comedidev.h"
27
28#include <linux/module.h>
29
30#include <linux/errno.h>
31#include <linux/kernel.h>
32#include <linux/sched.h>
33#include <linux/fcntl.h>
34#include <linux/delay.h>
35#include <linux/ioport.h>
36#include <linux/mm.h>
b79a7a20 37
b79a7a20
DS
38/* functions specific to kcomedilib */
39
40EXPORT_SYMBOL(comedi_register_callback);
41EXPORT_SYMBOL(comedi_get_krange);
42EXPORT_SYMBOL(comedi_get_buf_head_pos);
43EXPORT_SYMBOL(comedi_set_user_int_count);
44EXPORT_SYMBOL(comedi_map);
45EXPORT_SYMBOL(comedi_unmap);
46
47/* This list comes from user-space comedilib, to show which
48 * functions are not ported yet. */
49
50EXPORT_SYMBOL(comedi_open);
51EXPORT_SYMBOL(comedi_close);
52
53/* logging */
54EXPORT_SYMBOL(comedi_loglevel);
55EXPORT_SYMBOL(comedi_perror);
56EXPORT_SYMBOL(comedi_strerror);
2696fb57 57/* EXPORT_SYMBOL(comedi_errno); */
b79a7a20
DS
58EXPORT_SYMBOL(comedi_fileno);
59
60/* device queries */
61EXPORT_SYMBOL(comedi_get_n_subdevices);
62EXPORT_SYMBOL(comedi_get_version_code);
63EXPORT_SYMBOL(comedi_get_driver_name);
64EXPORT_SYMBOL(comedi_get_board_name);
65
66/* subdevice queries */
67EXPORT_SYMBOL(comedi_get_subdevice_type);
68EXPORT_SYMBOL(comedi_find_subdevice_by_type);
69EXPORT_SYMBOL(comedi_get_subdevice_flags);
70EXPORT_SYMBOL(comedi_get_n_channels);
2696fb57
BP
71/*
72* EXPORT_SYMBOL(comedi_range_is_chan_specific);
73* EXPORT_SYMBOL(comedi_maxdata_is_chan_specific);
74*/
b79a7a20
DS
75
76/* channel queries */
77EXPORT_SYMBOL(comedi_get_maxdata);
78#ifdef KCOMEDILIB_DEPRECATED
79EXPORT_SYMBOL(comedi_get_rangetype);
80#endif
81EXPORT_SYMBOL(comedi_get_n_ranges);
2696fb57 82/* EXPORT_SYMBOL(comedi_find_range); */
b79a7a20
DS
83
84/* buffer queries */
85EXPORT_SYMBOL(comedi_get_buffer_size);
2696fb57
BP
86/*
87* EXPORT_SYMBOL(comedi_get_max_buffer_size);
88* EXPORT_SYMBOL(comedi_set_buffer_size);
89*/
b79a7a20
DS
90EXPORT_SYMBOL(comedi_get_buffer_contents);
91EXPORT_SYMBOL(comedi_get_buffer_offset);
92
93/* low-level stuff */
2696fb57
BP
94/*
95* EXPORT_SYMBOL(comedi_trigger); EXPORT_SYMBOL(comedi_do_insnlist);
96*/
b79a7a20
DS
97EXPORT_SYMBOL(comedi_do_insn);
98EXPORT_SYMBOL(comedi_lock);
99EXPORT_SYMBOL(comedi_unlock);
100
101/* physical units */
2696fb57
BP
102/*
103* EXPORT_SYMBOL(comedi_to_phys); EXPORT_SYMBOL(comedi_from_phys);
104*/
b79a7a20
DS
105
106/* synchronous stuff */
107EXPORT_SYMBOL(comedi_data_read);
108EXPORT_SYMBOL(comedi_data_read_hint);
109EXPORT_SYMBOL(comedi_data_read_delayed);
110EXPORT_SYMBOL(comedi_data_write);
111EXPORT_SYMBOL(comedi_dio_config);
112EXPORT_SYMBOL(comedi_dio_read);
113EXPORT_SYMBOL(comedi_dio_write);
114EXPORT_SYMBOL(comedi_dio_bitfield);
115
116/* slowly varying stuff */
2696fb57
BP
117/*
118* EXPORT_SYMBOL(comedi_sv_init); EXPORT_SYMBOL(comedi_sv_update);
119* EXPORT_SYMBOL(comedi_sv_measure);
120*/
b79a7a20
DS
121
122/* commands */
2696fb57
BP
123/*
124* EXPORT_SYMBOL(comedi_get_cmd_src_mask);
125* EXPORT_SYMBOL(comedi_get_cmd_generic_timed);
126*/
b79a7a20
DS
127EXPORT_SYMBOL(comedi_cancel);
128EXPORT_SYMBOL(comedi_command);
129EXPORT_SYMBOL(comedi_command_test);
130EXPORT_SYMBOL(comedi_poll);
131
132/* buffer configuration */
133EXPORT_SYMBOL(comedi_mark_buffer_read);
134EXPORT_SYMBOL(comedi_mark_buffer_written);
135
2696fb57 136/* EXPORT_SYMBOL(comedi_get_range); */
b79a7a20
DS
137EXPORT_SYMBOL(comedi_get_len_chanlist);
138
139/* deprecated */
2696fb57
BP
140/*
141* EXPORT_SYMBOL(comedi_get_timer);
142* EXPORT_SYMBOL(comedi_timed_1chan);
143*/
b79a7a20
DS
144
145/* alpha */
2696fb57 146/* EXPORT_SYMBOL(comedi_set_global_oor_behavior); */