#include <linux/types.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/fs.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/mtio.h>
#include <linux/device.h>
#include <linux/sched.h>
#include <linux/mutex.h>
#include <asm/uaccess.h>
#include "paride.h"
Go to the source code of this file.
|
| module_param (verbose, bool, 0) |
|
| module_param (major, int, 0) |
|
| module_param (name, charp, 0) |
|
| module_param_array (drive0, int, NULL, 0) |
|
| module_param_array (drive1, int, NULL, 0) |
|
| module_param_array (drive2, int, NULL, 0) |
|
| module_param_array (drive3, int, NULL, 0) |
|
| MODULE_LICENSE ("GPL") |
|
#define ATAPI_IDENTIFY 0x12 |
Definition at line 190 of file pt.c.
#define ATAPI_LOG_SENSE 0x4d |
Definition at line 192 of file pt.c.
#define ATAPI_MODE_SENSE 0x1a |
Definition at line 191 of file pt.c.
#define ATAPI_READ_6 0x08 |
Definition at line 187 of file pt.c.
#define ATAPI_REQ_SENSE 0x03 |
Definition at line 186 of file pt.c.
#define ATAPI_REWIND 0x01 |
Definition at line 185 of file pt.c.
#define ATAPI_TEST_READY 0x00 |
Definition at line 184 of file pt.c.
Definition at line 189 of file pt.c.
#define ATAPI_WRITE_6 0x0a |
Definition at line 188 of file pt.c.
Definition at line 137 of file pt.c.
Definition at line 135 of file pt.c.
Definition at line 133 of file pt.c.
Definition at line 132 of file pt.c.
Definition at line 136 of file pt.c.
Definition at line 134 of file pt.c.
Definition at line 448 of file pt.c.
#define DU (*drives[unit]) |
Definition at line 139 of file pt.c.
Definition at line 214 of file pt.c.
Definition at line 211 of file pt.c.
Definition at line 108 of file pt.c.
Definition at line 165 of file pt.c.
Definition at line 206 of file pt.c.
Definition at line 109 of file pt.c.
Definition at line 213 of file pt.c.
Definition at line 210 of file pt.c.
#define PT_READY_TMO 60 /* 60 seconds */ |
Definition at line 169 of file pt.c.
#define PT_RESET_TMO 30 /* 30 seconds */ |
Definition at line 168 of file pt.c.
Definition at line 208 of file pt.c.
#define PT_REWIND_TMO 1200 /* 20 minutes */ |
Definition at line 170 of file pt.c.
Definition at line 172 of file pt.c.
Definition at line 167 of file pt.c.
Definition at line 166 of file pt.c.
Definition at line 110 of file pt.c.
#define PT_VERSION "1.04" |
Definition at line 107 of file pt.c.
Definition at line 207 of file pt.c.
Definition at line 209 of file pt.c.
#define STAT_BUSY 0x00080 |
Definition at line 181 of file pt.c.
Definition at line 177 of file pt.c.
Definition at line 176 of file pt.c.
Definition at line 174 of file pt.c.
#define STAT_INDEX 0x00002 |
Definition at line 175 of file pt.c.
#define STAT_READY 0x00040 |
Definition at line 180 of file pt.c.
#define STAT_SEEK 0x00010 |
Definition at line 178 of file pt.c.
#define STAT_SENSE 0x1f000 |
Definition at line 182 of file pt.c.
#define STAT_WRERR 0x00020 |
Definition at line 179 of file pt.c.
module_param |
( |
name |
, |
|
|
charp |
, |
|
|
0 |
|
|
) |
| |
module_param_array |
( |
drive0 |
, |
|
|
int |
, |
|
|
NULL |
, |
|
|
0 |
|
|
) |
| |
module_param_array |
( |
drive1 |
, |
|
|
int |
, |
|
|
NULL |
, |
|
|
0 |
|
|
) |
| |
module_param_array |
( |
drive2 |
, |
|
|
int |
, |
|
|
NULL |
, |
|
|
0 |
|
|
) |
| |
module_param_array |
( |
drive3 |
, |
|
|
int |
, |
|
|
NULL |
, |
|
|
0 |
|
|
) |
| |