#include "comedi_compat32.h"
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/fcntl.h>
#include <linux/delay.h>
#include <linux/ioport.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/kmod.h>
#include <linux/poll.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/vmalloc.h>
#include <linux/fs.h>
#include "comedidev.h"
#include <linux/cdev.h>
#include <linux/stat.h>
#include <linux/io.h>
#include <linux/uaccess.h>
#include "comedi_internal.h"
Go to the source code of this file.
|
| MODULE_AUTHOR ("http://www.comedi.org") |
|
| MODULE_DESCRIPTION ("Comedi core module") |
|
| MODULE_LICENSE ("GPL") |
|
| module_param (comedi_autoconfig, bool, S_IRUGO) |
|
| MODULE_PARM_DESC (comedi_autoconfig,"enable drivers to auto-configure comedi devices (default 1)") |
|
| module_param (comedi_num_legacy_minors, int, S_IRUGO) |
|
| MODULE_PARM_DESC (comedi_num_legacy_minors,"number of comedi minor devices to reserve for non-auto-configured devices (default 0)") |
|
| module_param (comedi_default_buf_size_kb, uint, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (comedi_default_buf_size_kb,"default asynchronous buffer size in KiB (default "__MODULE_STRING(CONFIG_COMEDI_DEFAULT_BUF_SIZE_KB)")") |
|
| module_param (comedi_default_buf_maxsize_kb, uint, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (comedi_default_buf_maxsize_kb,"default maximum size of asynchronous buffer in KiB (default "__MODULE_STRING(CONFIG_COMEDI_DEFAULT_BUF_MAXSIZE_KB)")") |
|
| module_init (comedi_init) |
|
| module_exit (comedi_cleanup) |
|
void | comedi_error (const struct comedi_device *dev, const char *s) |
|
| EXPORT_SYMBOL (comedi_error) |
|
void | comedi_event (struct comedi_device *dev, struct comedi_subdevice *s) |
|
| EXPORT_SYMBOL (comedi_event) |
|
unsigned | comedi_get_subdevice_runflags (struct comedi_subdevice *s) |
|
| EXPORT_SYMBOL (comedi_get_subdevice_runflags) |
|
int | comedi_alloc_board_minor (struct device *hardware_device) |
|
void | comedi_free_board_minor (unsigned minor) |
|
int | comedi_find_board_minor (struct device *hardware_device) |
|
int | comedi_alloc_subdevice_minor (struct comedi_device *dev, struct comedi_subdevice *s) |
|
void | comedi_free_subdevice_minor (struct comedi_subdevice *s) |
|
struct comedi_device_file_info * | comedi_get_device_file_info (unsigned minor) |
|
| EXPORT_SYMBOL_GPL (comedi_get_device_file_info) |
|
#define TIMER_nanosec 5 /* backwards compatibility */ |
void comedi_free_board_minor |
( |
unsigned |
minor | ) |
|
MODULE_AUTHOR |
( |
"http://www.comedi.org" |
| ) |
|
module_exit |
( |
comedi_cleanup |
| ) |
|
module_init |
( |
comedi_init |
| ) |
|
module_param |
( |
comedi_num_legacy_minors |
, |
|
|
int |
, |
|
|
S_IRUGO |
|
|
) |
| |
bool comedi_autoconfig = 1 |
unsigned int comedi_default_buf_maxsize_kb = CONFIG_COMEDI_DEFAULT_BUF_MAXSIZE_KB |
unsigned int comedi_default_buf_size_kb = CONFIG_COMEDI_DEFAULT_BUF_SIZE_KB |