#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/input.h>
#include <linux/usb.h>
#include <linux/fcntl.h>
#include <linux/compiler.h>
#include <linux/firmware.h>
#include "../comedidev.h"
#include "comedi_fc.h"
Go to the source code of this file.
| #define BULK_TIMEOUT 1000 |
| #define FIRMWARE_MAX_LEN 0x2000 |
| #define MIN_PWM_PERIOD ((long)(1E9/300)) |
| #define NUMOFINBUFFERSFULL 5 |
| #define NUMOFINBUFFERSHIGH 10 |
| #define NUMOFOUTBUFFERSFULL 5 |
| #define NUMOFOUTBUFFERSHIGH 10 |
| #define PWM_DEFAULT_PERIOD ((long)(1E9/100)) |
| #define READCOUNTERCOMMAND 5 |
| #define SENDDIOBITSCOMMAND 3 |
| #define SENDDIOCONFIGCOMMAND 2 |
| #define USBDUXSUB_CPUCS 0xE600 |
| #define USBDUXSUB_FIRMWARE 0xA0 |
| #define USBDUXSUB_MINOR 32 |
| #define VENDOR_DIR_IN 0xC0 |
| #define VENDOR_DIR_OUT 0x40 |
| #define WRITECOUNTERCOMMAND 6 |
| MODULE_AUTHOR |
( |
"Bernd |
Porr, |
|
|
BerndPorr @f2s.com" |
|
|
) |
| |
| module_comedi_usb_driver |
( |
usbdux_driver |
, |
|
|
usbdux_usb_driver |
|
|
) |
| |
| MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
usbdux_usb_table |
|
|
) |
| |