#include "usbatm.h"
#include <asm/uaccess.h>
#include <linux/crc32.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/netdevice.h>
#include <linux/proc_fs.h>
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/slab.h>
#include <linux/stat.h>
#include <linux/timer.h>
#include <linux/wait.h>
#include <linux/kthread.h>
#include <linux/ratelimit.h>
Go to the source code of this file.
|
| | module_param (num_rcv_urbs, uint, S_IRUGO) |
| |
| | MODULE_PARM_DESC (num_rcv_urbs,"Number of urbs used for reception (range: 0-"__MODULE_STRING(UDSL_MAX_RCV_URBS)", default: "__MODULE_STRING(UDSL_DEFAULT_RCV_URBS)")") |
| |
| | module_param (num_snd_urbs, uint, S_IRUGO) |
| |
| | MODULE_PARM_DESC (num_snd_urbs,"Number of urbs used for transmission (range: 0-"__MODULE_STRING(UDSL_MAX_SND_URBS)", default: "__MODULE_STRING(UDSL_DEFAULT_SND_URBS)")") |
| |
| | module_param (rcv_buf_bytes, uint, S_IRUGO) |
| |
| | MODULE_PARM_DESC (rcv_buf_bytes,"Size of the buffers used for reception, in bytes (range: 1-"__MODULE_STRING(UDSL_MAX_BUF_SIZE)", default: "__MODULE_STRING(UDSL_DEFAULT_RCV_BUF_SIZE)")") |
| |
| | module_param (snd_buf_bytes, uint, S_IRUGO) |
| |
| | MODULE_PARM_DESC (snd_buf_bytes,"Size of the buffers used for transmission, in bytes (range: 1-"__MODULE_STRING(UDSL_MAX_BUF_SIZE)", default: "__MODULE_STRING(UDSL_DEFAULT_SND_BUF_SIZE)")") |
| |
| int | usbatm_usb_probe (struct usb_interface *intf, const struct usb_device_id *id, struct usbatm_driver *driver) |
| |
| | EXPORT_SYMBOL_GPL (usbatm_usb_probe) |
| |
| void | usbatm_usb_disconnect (struct usb_interface *intf) |
| |
| | EXPORT_SYMBOL_GPL (usbatm_usb_disconnect) |
| |
| | module_init (usbatm_usb_init) |
| |
| | module_exit (usbatm_usb_exit) |
| |
| | MODULE_AUTHOR (DRIVER_AUTHOR) |
| |
| | MODULE_DESCRIPTION (DRIVER_DESC) |
| |
| | MODULE_LICENSE ("GPL") |
| |
| | MODULE_VERSION (DRIVER_VERSION) |
| |
| #define DRIVER_DESC "Generic USB ATM/DSL I/O, version " DRIVER_VERSION |
| #define DRIVER_VERSION "1.10" |
| #define PACKETDEBUG |
( |
|
arg... | ) |
|
| #define THROTTLE_MSECS 100 /* delay to recover processing after urb submission fails */ |
| #define UDSL_DEFAULT_RCV_URBS 4 |
| #define UDSL_DEFAULT_SND_URBS 4 |
| #define UDSL_MAX_BUF_SIZE 65536 |
| #define UDSL_MAX_RCV_URBS 16 |
| #define UDSL_MAX_SND_URBS 16 |
| module_exit |
( |
usbatm_usb_exit |
| ) |
|
| module_init |
( |
usbatm_usb_init |
| ) |
|