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

Go to the source code of this file.

Data Structures

struct  sierra_iface_info
 
struct  sierra_intf_private
 
struct  sierra_port_private
 

Macros

#define DRIVER_VERSION   "v.1.7.16"
 
#define DRIVER_AUTHOR   "Kevin Lloyd, Elina Pasheva, Matthew Safar, Rory Filer"
 
#define DRIVER_DESC   "USB Driver for Sierra Wireless USB modems"
 
#define SWIMS_USB_REQUEST_SetPower   0x00
 
#define SWIMS_USB_REQUEST_SetNmea   0x07
 
#define N_IN_URB_HM   8
 
#define N_OUT_URB_HM   64
 
#define N_IN_URB   4
 
#define N_OUT_URB   4
 
#define IN_BUFLEN   4096
 
#define MAX_TRANSFER   (PAGE_SIZE - 512)
 
#define sierra_suspend   NULL
 
#define sierra_resume   NULL
 

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")
 
 module_param (nmea, bool, S_IRUGO|S_IWUSR)
 
 MODULE_PARM_DESC (nmea,"NMEA streaming")
 

Macro Definition Documentation

#define DRIVER_AUTHOR   "Kevin Lloyd, Elina Pasheva, Matthew Safar, Rory Filer"

Definition at line 22 of file sierra.c.

#define DRIVER_DESC   "USB Driver for Sierra Wireless USB modems"

Definition at line 23 of file sierra.c.

#define DRIVER_VERSION   "v.1.7.16"

Definition at line 21 of file sierra.c.

#define IN_BUFLEN   4096

Definition at line 42 of file sierra.c.

#define MAX_TRANSFER   (PAGE_SIZE - 512)

Definition at line 44 of file sierra.c.

#define N_IN_URB   4

Definition at line 40 of file sierra.c.

#define N_IN_URB_HM   8

Definition at line 38 of file sierra.c.

#define N_OUT_URB   4

Definition at line 41 of file sierra.c.

#define N_OUT_URB_HM   64

Definition at line 39 of file sierra.c.

#define sierra_resume   NULL

Definition at line 1044 of file sierra.c.

#define sierra_suspend   NULL

Definition at line 1043 of file sierra.c.

#define SWIMS_USB_REQUEST_SetNmea   0x07

Definition at line 36 of file sierra.c.

#define SWIMS_USB_REQUEST_SetPower   0x00

Definition at line 35 of file sierra.c.

Function Documentation

MODULE_AUTHOR ( DRIVER_AUTHOR  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
MODULE_DEVICE_TABLE ( usb  ,
id_table   
)
MODULE_LICENSE ( "GPL"  )
module_param ( nmea  ,
bool  ,
S_IRUGO S_IWUSR 
)
MODULE_PARM_DESC ( nmea  ,
"NMEA streaming"   
)
module_usb_serial_driver ( serial_drivers  ,
id_table   
)
MODULE_VERSION ( DRIVER_VERSION  )