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

Go to the source code of this file.

Data Structures

struct  belkin_sa_private
 

Macros

#define DRIVER_VERSION   "v1.3"
 
#define DRIVER_AUTHOR   "William Greathouse <[email protected]>"
 
#define DRIVER_DESC   "USB Belkin Serial converter driver"
 
#define WDR_TIMEOUT   5000 /* default urb timeout */
 
#define BSA_USB_CMD(c, v)
 

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 BSA_USB_CMD (   c,
  v 
)
Value:
usb_control_msg(serial->dev, usb_sndctrlpipe(serial->dev, 0), \
(v), 0, NULL, 0, WDR_TIMEOUT)

Definition at line 117 of file belkin_sa.c.

#define DRIVER_AUTHOR   "William Greathouse <[email protected]>"

Definition at line 44 of file belkin_sa.c.

#define DRIVER_DESC   "USB Belkin Serial converter driver"

Definition at line 45 of file belkin_sa.c.

#define DRIVER_VERSION   "v1.3"

Definition at line 43 of file belkin_sa.c.

#define WDR_TIMEOUT   5000 /* default urb timeout */

Definition at line 114 of file belkin_sa.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  )