Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
f81232.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/serial.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>

Go to the source code of this file.

Data Structures

struct  f81232_private
 

Macros

#define CONTROL_DTR   0x01
 
#define CONTROL_RTS   0x02
 
#define UART_STATE   0x08
 
#define UART_STATE_TRANSIENT_MASK   0x74
 
#define UART_DCD   0x01
 
#define UART_DSR   0x02
 
#define UART_BREAK_ERROR   0x04
 
#define UART_RING   0x08
 
#define UART_FRAME_ERROR   0x10
 
#define UART_PARITY_ERROR   0x20
 
#define UART_OVERRUN_ERROR   0x40
 
#define UART_CTS   0x80
 

Functions

 MODULE_DEVICE_TABLE (usb, id_table)
 
 module_usb_serial_driver (serial_drivers, id_table)
 
 MODULE_DESCRIPTION ("Fintek F81232 USB to serial adaptor driver")
 
 MODULE_AUTHOR ("Greg Kroah-Hartman <[email protected]")
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define CONTROL_DTR   0x01

Definition at line 34 of file f81232.c.

#define CONTROL_RTS   0x02

Definition at line 35 of file f81232.c.

#define UART_BREAK_ERROR   0x04

Definition at line 41 of file f81232.c.

#define UART_CTS   0x80

Definition at line 46 of file f81232.c.

#define UART_DCD   0x01

Definition at line 39 of file f81232.c.

#define UART_DSR   0x02

Definition at line 40 of file f81232.c.

#define UART_FRAME_ERROR   0x10

Definition at line 43 of file f81232.c.

#define UART_OVERRUN_ERROR   0x40

Definition at line 45 of file f81232.c.

#define UART_PARITY_ERROR   0x20

Definition at line 44 of file f81232.c.

#define UART_RING   0x08

Definition at line 42 of file f81232.c.

#define UART_STATE   0x08

Definition at line 37 of file f81232.c.

#define UART_STATE_TRANSIENT_MASK   0x74

Definition at line 38 of file f81232.c.

Function Documentation

MODULE_AUTHOR ( )
MODULE_DESCRIPTION ( "Fintek F81232 USB to serial adaptor driver )
MODULE_DEVICE_TABLE ( usb  ,
id_table   
)
MODULE_LICENSE ( "GPL v2 )
module_usb_serial_driver ( serial_drivers  ,
id_table   
)