Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
option_ms.c File Reference
#include <linux/usb.h>
#include <linux/slab.h>
#include <linux/module.h>
#include "usb.h"
#include "transport.h"
#include "option_ms.h"
#include "debug.h"

Go to the source code of this file.

Macros

#define ZCD_FORCE_MODEM   0x01
 
#define ZCD_ALLOW_MS   0x02
 
#define RESPONSE_LEN   1024
 

Functions

 module_param (option_zero_cd, uint, S_IRUGO|S_IWUSR)
 
 MODULE_PARM_DESC (option_zero_cd,"ZeroCD mode (1=Force Modem (default),"" 2=Allow CD-Rom")
 
int option_ms_init (struct us_data *us)
 

Macro Definition Documentation

#define RESPONSE_LEN   1024

Definition at line 40 of file option_ms.c.

#define ZCD_ALLOW_MS   0x02

Definition at line 33 of file option_ms.c.

#define ZCD_FORCE_MODEM   0x01

Definition at line 32 of file option_ms.c.

Function Documentation

module_param ( option_zero_cd  ,
uint  ,
S_IRUGO S_IWUSR 
)
MODULE_PARM_DESC ( option_zero_cd  )
int option_ms_init ( struct us_data us)

Definition at line 137 of file option_ms.c.