Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
visor.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/moduleparam.h>
#include <linux/spinlock.h>
#include <linux/uaccess.h>
#include <linux/usb.h>
#include <linux/usb/serial.h>
#include <linux/usb/cdc.h>
#include "visor.h"

Go to the source code of this file.

Macros

#define DRIVER_AUTHOR   "Greg Kroah-Hartman <[email protected]>"
 
#define DRIVER_DESC   "USB HandSpring Visor / Palm OS driver"
 
#define COPY_PORT(dest, src)
 

Functions

 MODULE_DEVICE_TABLE (usb, id_table_combined)
 
 module_usb_serial_driver (serial_drivers, id_table_combined)
 
 MODULE_AUTHOR (DRIVER_AUTHOR)
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define COPY_PORT (   dest,
  src 
)
Value:
do { \
dest->read_urb = src->read_urb; \
dest->bulk_in_endpointAddress = src->bulk_in_endpointAddress;\
dest->bulk_in_buffer = src->bulk_in_buffer; \
dest->interrupt_in_urb = src->interrupt_in_urb; \
dest->interrupt_in_endpointAddress = \
src->interrupt_in_endpointAddress;\
dest->interrupt_in_buffer = src->interrupt_in_buffer; \
} while (0);
#define DRIVER_AUTHOR   "Greg Kroah-Hartman <[email protected]>"

Definition at line 36 of file visor.c.

#define DRIVER_DESC   "USB HandSpring Visor / Palm OS driver"

Definition at line 37 of file visor.c.

Function Documentation

MODULE_AUTHOR ( DRIVER_AUTHOR  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
MODULE_DEVICE_TABLE ( usb  ,
id_table_combined   
)
MODULE_LICENSE ( "GPL"  )
module_usb_serial_driver ( serial_drivers  ,
id_table_combined   
)