|
Linux Kernel
3.7.1
|
#include <linux/kernel.h>#include <linux/errno.h>#include <linux/init.h>#include <linux/slab.h>#include <linux/module.h>#include <linux/usb.h>#include <linux/mutex.h>#include <asm/uaccess.h>Go to the source code of this file.
Data Structures | |
| struct | adu_device |
Macros | |
| #define | dbg(lvl, format, arg...) |
| #define | DRIVER_VERSION "v0.0.13" |
| #define | DRIVER_AUTHOR "John Homppi" |
| #define | DRIVER_DESC "adutux (see www.ontrak.net)" |
| #define | ADU_VENDOR_ID 0x0a07 |
| #define | ADU_PRODUCT_ID 0x0064 |
| #define | ADU_MINOR_BASE 67 |
| #define | MAX_DEVICES 16 |
| #define | COMMAND_TIMEOUT (2*HZ) /* 60 second timeout for a command */ |
Functions | |
| module_param (debug, int, S_IRUGO|S_IWUSR) | |
| MODULE_PARM_DESC (debug,"Debug enabled or not") | |
| MODULE_DEVICE_TABLE (usb, device_table) | |
| module_usb_driver (adu_driver) | |
| MODULE_AUTHOR (DRIVER_AUTHOR) | |
| MODULE_DESCRIPTION (DRIVER_DESC) | |
| MODULE_LICENSE ("GPL") | |
| #define dbg | ( | lvl, | |
| format, | |||
| arg... | |||
| ) |
| MODULE_AUTHOR | ( | DRIVER_AUTHOR | ) |
| MODULE_DESCRIPTION | ( | DRIVER_DESC | ) |
| MODULE_DEVICE_TABLE | ( | usb | , |
| device_table | |||
| ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_usb_driver | ( | adu_driver | ) |
1.8.2