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

Go to the source code of this file.

Macros

#define KP_RETRIES   100
 
#define DRIVER_VERSION   "v1.0"
 
#define DRIVER_AUTHOR   "Ganesh Varadarajan <[email protected]>"
 
#define DRIVER_DESC   "USB PocketPC PDA driver"
 

Functions

 MODULE_DEVICE_TABLE (usb, ipaq_id_table)
 
 module_usb_serial_driver (serial_drivers, ipaq_id_table)
 
 MODULE_AUTHOR (DRIVER_AUTHOR)
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_LICENSE ("GPL")
 
 module_param (connect_retries, int, S_IRUGO|S_IWUSR)
 
 MODULE_PARM_DESC (connect_retries,"Maximum number of connect retries (one second each)")
 
 module_param (initial_wait, int, S_IRUGO|S_IWUSR)
 
 MODULE_PARM_DESC (initial_wait,"Time to wait before attempting a connection (in seconds)")
 

Macro Definition Documentation

#define DRIVER_AUTHOR   "Ganesh Varadarajan <[email protected]>"

Definition at line 33 of file ipaq.c.

#define DRIVER_DESC   "USB PocketPC PDA driver"

Definition at line 34 of file ipaq.c.

#define DRIVER_VERSION   "v1.0"

Definition at line 32 of file ipaq.c.

#define KP_RETRIES   100

Definition at line 26 of file ipaq.c.

Function Documentation

MODULE_AUTHOR ( DRIVER_AUTHOR  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
MODULE_DEVICE_TABLE ( usb  ,
ipaq_id_table   
)
MODULE_LICENSE ( "GPL"  )
module_param ( connect_retries  ,
int  ,
S_IRUGO S_IWUSR 
)
module_param ( initial_wait  ,
int  ,
S_IRUGO S_IWUSR 
)
MODULE_PARM_DESC ( connect_retries  ,
"Maximum number of connect retries (one second each)"   
)
MODULE_PARM_DESC ( initial_wait  ,
"Time to wait before attempting a connection (in seconds)"   
)
module_usb_serial_driver ( serial_drivers  ,
ipaq_id_table   
)