Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
trancevibrator.c File Reference
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/usb.h>

Go to the source code of this file.

Data Structures

struct  trancevibrator
 

Macros

#define DRIVER_VERSION   "v1.1"
 
#define DRIVER_AUTHOR   "Sam Hocevar, [email protected]"
 
#define DRIVER_DESC   "PlayStation 2 Trance Vibrator driver"
 
#define TRANCEVIBRATOR_VENDOR_ID   0x0b49 /* ASCII Corporation */
 
#define TRANCEVIBRATOR_PRODUCT_ID   0x064f /* Trance Vibrator */
 

Functions

 MODULE_DEVICE_TABLE (usb, id_table)
 
 module_usb_driver (tv_driver)
 
 MODULE_AUTHOR (DRIVER_AUTHOR)
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DRIVER_AUTHOR   "Sam Hocevar, [email protected]"

Definition at line 31 of file trancevibrator.c.

#define DRIVER_DESC   "PlayStation 2 Trance Vibrator driver"

Definition at line 32 of file trancevibrator.c.

#define DRIVER_VERSION   "v1.1"

Definition at line 30 of file trancevibrator.c.

#define TRANCEVIBRATOR_PRODUCT_ID   0x064f /* Trance Vibrator */

Definition at line 35 of file trancevibrator.c.

#define TRANCEVIBRATOR_VENDOR_ID   0x0b49 /* ASCII Corporation */

Definition at line 34 of file trancevibrator.c.

Function Documentation

MODULE_AUTHOR ( DRIVER_AUTHOR  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
MODULE_DEVICE_TABLE ( usb  ,
id_table   
)
MODULE_LICENSE ( "GPL"  )
module_usb_driver ( tv_driver  )