Linux Audio

Check our new training course

Embedded Linux Audio

Check our new training course
with Creative Commons CC-BY-SA
lecture materials

Bootlin logo

Elixir Cross Referencer

Loading...
/*
 *	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 */