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

Go to the source code of this file.

Data Structures

struct  swoc_info


#define SWIMS_USB_REQUEST_SetSwocMode   0x0B
#define SWIMS_USB_REQUEST_GetSwocInfo   0x0A
#define SWIMS_USB_INDEX_SetMode   0x0000
#define SWIMS_SET_MODE_Modem   0x0001
#define TRU_NORMAL   0x01
#define TRU_FORCE_MS   0x02
#define TRU_FORCE_MODEM   0x03


 module_param (swi_tru_install, uint, S_IRUGO|S_IWUSR)
 MODULE_PARM_DESC (swi_tru_install,"TRU-Install mode (1=Full Logic (def),"" 2=Force CD-Rom, 3=Force Modem)")
struct swoc_info __attribute__ ((__packed__))
int sierra_ms_init (struct us_data *us)


__u8 rev
__u8 reserved [8]
__u16 LinuxSKU
__u16 LinuxVer
__u8 reserved2 [47]

Macro Definition Documentation

#define SWIMS_SET_MODE_Modem   0x0001

Definition at line 19 of file sierra_ms.c.

#define SWIMS_USB_INDEX_SetMode   0x0000

Definition at line 18 of file sierra_ms.c.

#define SWIMS_USB_REQUEST_GetSwocInfo   0x0A

Definition at line 17 of file sierra_ms.c.

#define SWIMS_USB_REQUEST_SetSwocMode   0x0B

Definition at line 16 of file sierra_ms.c.

#define TRU_FORCE_MODEM   0x03

Definition at line 23 of file sierra_ms.c.

#define TRU_FORCE_MS   0x02

Definition at line 22 of file sierra_ms.c.

#define TRU_NORMAL   0x01

Definition at line 21 of file sierra_ms.c.

Function Documentation

struct swoc_info __attribute__ ( (__packed__)  )

Definition at line 85 of file mpc512x_dma.c.

module_param ( swi_tru_install  ,
uint  ,
MODULE_PARM_DESC ( swi_tru_install  ,
"TRU-Install mode (1=Full Logic (def),"" 2=Force CD-Rom, 3=Force Modem)"   
int sierra_ms_init ( struct us_data us)

Definition at line 127 of file sierra_ms.c.

Variable Documentation

__u16 LinuxSKU

Definition at line 39 of file sierra_ms.c.

__u16 LinuxVer

Definition at line 40 of file sierra_ms.c.

__u8 reserved[8]

Definition at line 38 of file sierra_ms.c.

__u8 reserved2[47]

Definition at line 41 of file sierra_ms.c.

__u8 rev

Definition at line 37 of file sierra_ms.c.