Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/usb.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/mutex.h>
#include <linux/poll.h>
#include <linux/usb/iowarrior.h>
Go to the source code of this file.
Data Structures | |
struct | iowarrior |
Macros | |
#define | DRIVER_VERSION "v0.4.0" |
#define | DRIVER_AUTHOR "Christian Lucht <[email protected]>" |
#define | DRIVER_DESC "USB IO-Warrior driver (Linux 2.6.x)" |
#define | USB_VENDOR_ID_CODEMERCS 1984 |
#define | USB_DEVICE_ID_CODEMERCS_IOW40 0x1500 |
#define | USB_DEVICE_ID_CODEMERCS_IOW24 0x1501 |
#define | USB_DEVICE_ID_CODEMERCS_IOWPV1 0x1511 |
#define | USB_DEVICE_ID_CODEMERCS_IOWPV2 0x1512 |
#define | USB_DEVICE_ID_CODEMERCS_IOW56 0x1503 |
#define | IOWARRIOR_MINOR_BASE 208 |
#define | MAX_INTERRUPT_BUFFER 16 |
#define | MAX_WRITES_IN_FLIGHT 4 |
#define | dbg(format, arg...) do { if( debug ) printk( KERN_DEBUG __FILE__ ": " format "\n" , ## arg ); } while ( 0 ) |
#define | GET_TIMEOUT 5 |
#define | USB_REQ_GET_REPORT 0x01 |
#define | USB_REQ_SET_REPORT 0x09 |
Functions | |
MODULE_AUTHOR (DRIVER_AUTHOR) | |
MODULE_DESCRIPTION (DRIVER_DESC) | |
MODULE_LICENSE ("GPL") | |
module_param (debug, bool, 0644) | |
MODULE_PARM_DESC (debug,"debug=1 enables debugging messages") | |
MODULE_DEVICE_TABLE (usb, iowarrior_ids) | |
module_usb_driver (iowarrior_driver) | |
#define dbg | ( | format, | |
arg... | |||
) | do { if( debug ) printk( KERN_DEBUG __FILE__ ": " format "\n" , ## arg ); } while ( 0 ) |
Definition at line 57 of file iowarrior.c.
#define DRIVER_AUTHOR "Christian Lucht <[email protected]>" |
Definition at line 27 of file iowarrior.c.
Definition at line 28 of file iowarrior.c.
#define DRIVER_VERSION "v0.4.0" |
Definition at line 26 of file iowarrior.c.
#define GET_TIMEOUT 5 |
Definition at line 109 of file iowarrior.c.
#define IOWARRIOR_MINOR_BASE 208 |
Definition at line 43 of file iowarrior.c.
#define MAX_INTERRUPT_BUFFER 16 |
Definition at line 47 of file iowarrior.c.
#define MAX_WRITES_IN_FLIGHT 4 |
Definition at line 53 of file iowarrior.c.
#define USB_DEVICE_ID_CODEMERCS_IOW24 0x1501 |
Definition at line 33 of file iowarrior.c.
#define USB_DEVICE_ID_CODEMERCS_IOW40 0x1500 |
Definition at line 32 of file iowarrior.c.
#define USB_DEVICE_ID_CODEMERCS_IOW56 0x1503 |
Definition at line 37 of file iowarrior.c.
#define USB_DEVICE_ID_CODEMERCS_IOWPV1 0x1511 |
Definition at line 34 of file iowarrior.c.
#define USB_DEVICE_ID_CODEMERCS_IOWPV2 0x1512 |
Definition at line 35 of file iowarrior.c.
#define USB_REQ_GET_REPORT 0x01 |
Definition at line 110 of file iowarrior.c.
#define USB_REQ_SET_REPORT 0x09 |
Definition at line 125 of file iowarrior.c.
#define USB_VENDOR_ID_CODEMERCS 1984 |
Definition at line 30 of file iowarrior.c.
MODULE_AUTHOR | ( | DRIVER_AUTHOR | ) |
MODULE_DESCRIPTION | ( | DRIVER_DESC | ) |
MODULE_DEVICE_TABLE | ( | usb | , |
iowarrior_ids | |||
) |
MODULE_LICENSE | ( | "GPL" | ) |
MODULE_PARM_DESC | ( | debug | ) |
module_usb_driver | ( | iowarrior_driver | ) |