patch-2.1.75 linux/drivers/scsi/ide-scsi.h
Next file: linux/drivers/scsi/in2000.h
Previous file: linux/drivers/scsi/ibmmca.h
Back to the patch index
Back to the overall index
- Lines: 43
- Date:
Sun Dec 21 17:09:12 1997
- Orig file:
v2.1.74/linux/drivers/scsi/ide-scsi.h
- Orig date:
Fri Dec 19 15:52:59 1997
diff -u --recursive --new-file v2.1.74/linux/drivers/scsi/ide-scsi.h linux/drivers/scsi/ide-scsi.h
@@ -15,28 +15,20 @@
extern int idescsi_reset (Scsi_Cmnd *cmd, unsigned int resetflags);
extern int idescsi_bios (Disk *disk, kdev_t dev, int *parm);
-#define IDESCSI \
-{ NULL, /* next */ \
- NULL, /* module */ \
- NULL, /* proc_dir */ \
- NULL, /* proc_info */ \
- "idescsi", /* name */ \
- idescsi_detect, /* detect */ \
- idescsi_release, /* release */ \
- idescsi_info, /* info */ \
- NULL, /* command */ \
- idescsi_queue, /* queuecommand */ \
- idescsi_abort, /* abort */ \
- idescsi_reset, /* reset */ \
- NULL, /* slave_attach */ \
- idescsi_bios, /* bios_param */ \
- 10, /* can_queue */ \
- -1, /* this_id */ \
- 256, /* sg_tablesize */ \
- 5, /* cmd_per_lun */ \
- 0, /* present */ \
- 0, /* isa_dma */ \
- DISABLE_CLUSTERING /* clustering */ \
+#define IDESCSI { \
+ name: "idescsi", /* name */ \
+ detect: idescsi_detect, /* detect */ \
+ release: idescsi_release, /* release */ \
+ info: idescsi_info, /* info */ \
+ queuecommand: idescsi_queue, /* queuecommand */ \
+ abort: idescsi_abort, /* abort */ \
+ reset: idescsi_reset, /* reset */ \
+ bios_param: idescsi_bios, /* bios_param */ \
+ can_queue: 10, /* can_queue */ \
+ this_id: -1, /* this_id */ \
+ sg_tablesize: 256, /* sg_tablesize */ \
+ cmd_per_lun: 5, /* cmd_per_lun */ \
+ use_clustering: DISABLE_CLUSTERING /* clustering */ \
}
#endif /* IDESCSI_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov