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

Go to the source code of this file.

Macros

#define AIRCABLE_VID   0x16CA
 
#define AIRCABLE_USB_PID   0x1502
 
#define HCI_HEADER_LENGTH   0x4
 
#define TX_HEADER_0   0x20
 
#define TX_HEADER_1   0x29
 
#define RX_HEADER_0   0x00
 
#define RX_HEADER_1   0x20
 
#define HCI_COMPLETE_FRAME   64
 
#define THROTTLED   0x01
 
#define ACTUALLY_THROTTLED   0x02
 
#define DRIVER_VERSION   "v2.0"
 
#define DRIVER_AUTHOR   "Naranjo, Manuel Francisco <naranjo.ma[email protected]>, Johan Hovold <[email protected]>"
 
#define DRIVER_DESC   "AIRcable USB Driver"
 

Functions

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

Macro Definition Documentation

#define ACTUALLY_THROTTLED   0x02

Definition at line 69 of file aircable.c.

#define AIRCABLE_USB_PID   0x1502

Definition at line 57 of file aircable.c.

#define AIRCABLE_VID   0x16CA

Definition at line 56 of file aircable.c.

#define DRIVER_AUTHOR   "Naranjo, Manuel Francisco <naranjo.ma[email protected]>, Johan Hovold <[email protected]>"

Definition at line 75 of file aircable.c.

#define DRIVER_DESC   "AIRcable USB Driver"

Definition at line 76 of file aircable.c.

#define DRIVER_VERSION   "v2.0"

Definition at line 74 of file aircable.c.

#define HCI_COMPLETE_FRAME   64

Definition at line 65 of file aircable.c.

#define HCI_HEADER_LENGTH   0x4

Definition at line 60 of file aircable.c.

#define RX_HEADER_0   0x00

Definition at line 63 of file aircable.c.

#define RX_HEADER_1   0x20

Definition at line 64 of file aircable.c.

#define THROTTLED   0x01

Definition at line 68 of file aircable.c.

#define TX_HEADER_0   0x20

Definition at line 61 of file aircable.c.

#define TX_HEADER_1   0x29

Definition at line 62 of file aircable.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   
)
MODULE_VERSION ( DRIVER_VERSION  )