#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/completion.h>
#include <linux/mutex.h>
#include <asm/uaccess.h>
#include <linux/usb.h>
#include <linux/poll.h>
Go to the source code of this file.
|
| module_param (debug, int, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (debug,"Debug enabled or not") |
|
| module_param (read_buffer_size, int, 0) |
|
| MODULE_PARM_DESC (read_buffer_size,"Read buffer size") |
|
| module_param (write_buffer_size, int, 0) |
|
| MODULE_PARM_DESC (write_buffer_size,"Write buffer size") |
|
| module_param (packet_timeout, int, 0) |
|
| MODULE_PARM_DESC (packet_timeout,"Packet timeout in ms") |
|
| module_param (read_timeout, int, 0) |
|
| MODULE_PARM_DESC (read_timeout,"Read timeout in ms") |
|
| module_param (interrupt_in_interval, int, 0) |
|
| MODULE_PARM_DESC (interrupt_in_interval,"Interrupt in interval in ms") |
|
| module_param (interrupt_out_interval, int, 0) |
|
| MODULE_PARM_DESC (interrupt_out_interval,"Interrupt out interval in ms") |
|
struct tower_reset_reply | __attribute__ ((packed)) |
|
| MODULE_DEVICE_TABLE (usb, tower_table) |
|
| module_usb_driver (tower_driver) |
|
| MODULE_AUTHOR (DRIVER_AUTHOR) |
|
| MODULE_DESCRIPTION (DRIVER_DESC) |
|
#define dbg |
( |
|
lvl, |
|
|
|
format, |
|
|
|
arg... |
|
) |
| |
#define DRIVER_DESC "LEGO USB Tower Driver" |
#define DRIVER_VERSION "v0.96" |
#define LEGO_USB_TOWER_MINOR_BASE 160 |
#define LEGO_USB_TOWER_PRODUCT_ID 0x0001 |
#define LEGO_USB_TOWER_REQUEST_GET_VERSION 0xFD |
#define LEGO_USB_TOWER_REQUEST_RESET 0x04 |
#define LEGO_USB_TOWER_VENDOR_ID 0x0694 |
mcontroller : adapter info structure for old mimd_t apps
: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id
Definition at line 171 of file esd_usb2.c.
MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
tower_table |
|
|
) |
| |
module_param |
( |
read_buffer_size |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
write_buffer_size |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
packet_timeout |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
read_timeout |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
interrupt_in_interval |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
interrupt_out_interval |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
read_buffer_size |
, |
|
|
"Read buffer size" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
write_buffer_size |
, |
|
|
"Write buffer size" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
packet_timeout |
, |
|
|
"Packet timeout in ms" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
read_timeout |
, |
|
|
"Read timeout in ms" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
interrupt_in_interval |
, |
|
|
"Interrupt in interval in ms" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
interrupt_out_interval |
, |
|
|
"Interrupt out interval in ms" |
|
|
) |
| |
module_usb_driver |
( |
tower_driver |
| ) |
|