* added 0.99 linux version
[mascara-docs.git] / i386 / linux / linux-2.3.21 / drivers / scsi / ide-scsi.h
blob84fab92638ab4bbea2be8a31d5fc7728f90ee793
1 /*
2 * linux/drivers/scsi/ide-scsi.h
4 * Copyright (C) 1996, 1997 Gadi Oxman <gadio@netvision.net.il>
5 */
7 #ifndef IDESCSI_H
8 #define IDESCSI_H
10 extern int idescsi_detect (Scsi_Host_Template *host_template);
11 extern int idescsi_release (struct Scsi_Host *host);
12 extern const char *idescsi_info (struct Scsi_Host *host);
13 extern int idescsi_ioctl (Scsi_Device *dev, int cmd, void *arg);
14 extern int idescsi_queue (Scsi_Cmnd *cmd, void (*done)(Scsi_Cmnd *));
15 extern int idescsi_abort (Scsi_Cmnd *cmd);
16 extern int idescsi_reset (Scsi_Cmnd *cmd, unsigned int resetflags);
17 extern int idescsi_bios (Disk *disk, kdev_t dev, int *parm);
19 #define IDESCSI { \
20 name: "idescsi", /* name */ \
21 detect: idescsi_detect, /* detect */ \
22 release: idescsi_release, /* release */ \
23 info: idescsi_info, /* info */ \
24 ioctl: idescsi_ioctl, /* ioctl */ \
25 queuecommand: idescsi_queue, /* queuecommand */ \
26 abort: idescsi_abort, /* abort */ \
27 reset: idescsi_reset, /* reset */ \
28 bios_param: idescsi_bios, /* bios_param */ \
29 can_queue: 10, /* can_queue */ \
30 this_id: -1, /* this_id */ \
31 sg_tablesize: 256, /* sg_tablesize */ \
32 cmd_per_lun: 5, /* cmd_per_lun */ \
33 use_clustering: DISABLE_CLUSTERING, /* clustering */ \
34 emulated: 1 /* emulated */ \
37 #endif /* IDESCSI_H */