Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
sr_vendor.c File Reference
#include <linux/cdrom.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/bcd.h>
#include <linux/blkdev.h>
#include <linux/slab.h>
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_ioctl.h>
#include "sr.h"

Go to the source code of this file.

Macros

#define VENDOR_SCSI3   1 /* default: scsi-3 mmc */
 
#define VENDOR_NEC   2
 
#define VENDOR_TOSHIBA   3
 
#define VENDOR_WRITER   4 /* pre-scsi3 writers */
 
#define VENDOR_TIMEOUT   30*HZ
 

Functions

void sr_vendor_init (Scsi_CD *cd)
 
int sr_set_blocklength (Scsi_CD *cd, int blocklength)
 
int sr_cd_check (struct cdrom_device_info *cdi)
 

Macro Definition Documentation

#define VENDOR_NEC   2

Definition at line 60 of file sr_vendor.c.

#define VENDOR_SCSI3   1 /* default: scsi-3 mmc */

Definition at line 58 of file sr_vendor.c.

#define VENDOR_TIMEOUT   30*HZ

Definition at line 64 of file sr_vendor.c.

#define VENDOR_TOSHIBA   3

Definition at line 61 of file sr_vendor.c.

#define VENDOR_WRITER   4 /* pre-scsi3 writers */

Definition at line 62 of file sr_vendor.c.

Function Documentation

int sr_cd_check ( struct cdrom_device_info cdi)

Definition at line 157 of file sr_vendor.c.

int sr_set_blocklength ( Scsi_CD cd,
int  blocklength 
)

Definition at line 109 of file sr_vendor.c.

void sr_vendor_init ( Scsi_CD cd)

Definition at line 66 of file sr_vendor.c.