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

Go to the source code of this file.

Data Structures

struct  omninet_header
 
struct  omninet_data
 

Macros

#define DRIVER_VERSION   "v1.1"
 
#define DRIVER_AUTHOR   "Alessandro Zummo"
 
#define DRIVER_DESC   "USB ZyXEL omni.net LCD PLUS Driver"
 
#define ZYXEL_VENDOR_ID   0x0586
 
#define ZYXEL_OMNINET_ID   0x1000
 
#define BT_IGNITIONPRO_ID   0x2000
 
#define OMNINET_DATAOFFSET   0x04
 
#define OMNINET_HEADERLEN   sizeof(struct omninet_header)
 
#define OMNINET_BULKOUTSIZE   (64 - OMNINET_HEADERLEN)
 

Functions

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

Macro Definition Documentation

#define BT_IGNITIONPRO_ID   0x2000

Definition at line 36 of file omninet.c.

#define DRIVER_AUTHOR   "Alessandro Zummo"

Definition at line 30 of file omninet.c.

#define DRIVER_DESC   "USB ZyXEL omni.net LCD PLUS Driver"

Definition at line 31 of file omninet.c.

#define DRIVER_VERSION   "v1.1"

Definition at line 29 of file omninet.c.

#define OMNINET_BULKOUTSIZE   (64 - OMNINET_HEADERLEN)

Definition at line 164 of file omninet.c.

#define OMNINET_DATAOFFSET   0x04

Definition at line 162 of file omninet.c.

#define OMNINET_HEADERLEN   sizeof(struct omninet_header)

Definition at line 163 of file omninet.c.

#define ZYXEL_OMNINET_ID   0x1000

Definition at line 34 of file omninet.c.

#define ZYXEL_VENDOR_ID   0x0586

Definition at line 33 of file omninet.c.

Function Documentation

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