Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
io_edgeport.c File Reference
#include <linux/kernel.h>
#include <linux/jiffies.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/serial.h>
#include <linux/ioctl.h>
#include <linux/wait.h>
#include <linux/firmware.h>
#include <linux/ihex.h>
#include <linux/uaccess.h>
#include <linux/usb.h>
#include <linux/usb/serial.h>
#include "io_edgeport.h"
#include "io_ionsp.h"
#include "io_16654.h"
#include "io_tables.h"

Go to the source code of this file.

Data Structures

struct  TxFifo
 
struct  edgeport_port
 
struct  edgeport_serial
 
struct  divisor_table_entry
 

Macros

#define DRIVER_VERSION   "v2.7"
 
#define DRIVER_AUTHOR   "Greg Kroah-Hartman <[email protected]> and David Iacovelli"
 
#define DRIVER_DESC   "Edgeport USB Serial Driver"
 
#define MAX_NAME_LEN   64
 
#define CHASE_TIMEOUT   (5*HZ) /* 5 seconds */
 
#define OPEN_TIMEOUT   (5*HZ) /* 5 seconds */
 
#define COMMAND_TIMEOUT   (5*HZ) /* 5 seconds */
 

Enumerations

enum  RXSTATE { EXPECT_HDR1 = 0, EXPECT_HDR2 = 1, EXPECT_DATA = 2, EXPECT_HDR3 = 3 }
 

Functions

 module_usb_serial_driver (serial_drivers, id_table_combined)
 
 MODULE_AUTHOR (DRIVER_AUTHOR)
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_FIRMWARE ("edgeport/boot.fw")
 
 MODULE_FIRMWARE ("edgeport/boot2.fw")
 
 MODULE_FIRMWARE ("edgeport/down.fw")
 
 MODULE_FIRMWARE ("edgeport/down2.fw")
 

Macro Definition Documentation

#define CHASE_TIMEOUT   (5*HZ) /* 5 seconds */

Definition at line 63 of file io_edgeport.c.

#define COMMAND_TIMEOUT   (5*HZ) /* 5 seconds */

Definition at line 65 of file io_edgeport.c.

#define DRIVER_AUTHOR   "Greg Kroah-Hartman <[email protected]> and David Iacovelli"

Definition at line 58 of file io_edgeport.c.

#define DRIVER_DESC   "Edgeport USB Serial Driver"

Definition at line 59 of file io_edgeport.c.

#define DRIVER_VERSION   "v2.7"

Definition at line 57 of file io_edgeport.c.

#define MAX_NAME_LEN   64

Definition at line 61 of file io_edgeport.c.

#define OPEN_TIMEOUT   (5*HZ) /* 5 seconds */

Definition at line 64 of file io_edgeport.c.

Enumeration Type Documentation

enum RXSTATE
Enumerator:
EXPECT_HDR1 
EXPECT_HDR2 
EXPECT_DATA 
EXPECT_HDR3 

Definition at line 68 of file io_edgeport.c.

Function Documentation

MODULE_AUTHOR ( DRIVER_AUTHOR  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
MODULE_FIRMWARE ( "edgeport/boot.fw )
MODULE_FIRMWARE ( "edgeport/boot2.fw )
MODULE_FIRMWARE ( "edgeport/down.fw )
MODULE_FIRMWARE ( "edgeport/down2.fw )
MODULE_LICENSE ( "GPL"  )
module_usb_serial_driver ( serial_drivers  ,
id_table_combined   
)