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

Go to the source code of this file.

Data Structures

struct  opticon_private
 

Macros

#define CONTROL_RTS   0x02
 
#define RESEND_CTS_STATE   0x03
 
#define URB_UPPER_LIMIT   8
 
#define DRIVER_DESC   "Opticon USB barcode to serial driver (1D)"
 

Functions

 MODULE_DEVICE_TABLE (usb, id_table)
 
 module_usb_serial_driver (serial_drivers, id_table)
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define CONTROL_RTS   0x02

Definition at line 25 of file opticon.c.

#define DRIVER_DESC   "Opticon USB barcode to serial driver (1D)"

Definition at line 33 of file opticon.c.

#define RESEND_CTS_STATE   0x03

Definition at line 26 of file opticon.c.

#define URB_UPPER_LIMIT   8

Definition at line 29 of file opticon.c.

Function Documentation

MODULE_DESCRIPTION ( DRIVER_DESC  )
MODULE_DEVICE_TABLE ( usb  ,
id_table   
)
MODULE_LICENSE ( "GPL"  )
module_usb_serial_driver ( serial_drivers  ,
id_table   
)