summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/seagate.h
blob: c8ead00c4df683403d31fc372c0e1ef9904d73cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
 *	seagate.h Copyright (C) 1992 Drew Eckhardt 
 *	low level scsi driver header for ST01/ST02 by
 *		Drew Eckhardt 
 *
 *	<drew@colorado.edu>
 */

#ifndef _SEAGATE_H
	#define SEAGATE_H
/*
	$Header
*/
#ifndef ASM
int seagate_st0x_detect(Scsi_Host_Template *);
int seagate_st0x_command(Scsi_Cmnd *);
int seagate_st0x_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));

int seagate_st0x_abort(Scsi_Cmnd *);
const char *seagate_st0x_info(struct Scsi_Host *);
int seagate_st0x_reset(Scsi_Cmnd *, unsigned int); 

#include <linux/kdev_t.h>
int seagate_st0x_biosparam(Disk *, kdev_t, int*);

#define SEAGATE_ST0X  {  detect:         seagate_st0x_detect,		\
			 info:           seagate_st0x_info,		\
			 command:        seagate_st0x_command,		\
			 queuecommand:   seagate_st0x_queue_command,	\
			 abort:          seagate_st0x_abort,		\
			 reset:          seagate_st0x_reset,		\
			 bios_param:     seagate_st0x_biosparam,	\
			 can_queue:      1,				\
			 this_id:        7,				\
			 sg_tablesize:   SG_ALL,			\
			 cmd_per_lun:    1,				\
			 use_clustering: DISABLE_CLUSTERING}
#endif /* ASM */

#endif /* _SEAGATE_H */