patch-2.1.113 linux/drivers/scsi/mvme16x.h

Next file: linux/drivers/sound/Makefile
Previous file: linux/drivers/scsi/mvme16x.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.112/linux/drivers/scsi/mvme16x.h linux/drivers/scsi/mvme16x.h
@@ -7,7 +7,7 @@
 const char *NCR53c7x0_info(void);
 int NCR53c7xx_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
 int NCR53c7xx_abort(Scsi_Cmnd *);
-int NCR53c7x0_release (Scsi_Host_Template *);
+int NCR53c7x0_release (struct Scsi_Host *);
 int NCR53c7xx_reset(Scsi_Cmnd *, unsigned int);
 void NCR53c7x0_intr(int irq, void *dev_id, struct pt_regs * regs);
 
@@ -28,26 +28,16 @@
 
 extern struct proc_dir_entry proc_scsi_mvme16x;
 
-#define MVME16x_SCSI {/* next */                NULL,            \
-		      /* usage_count */         NULL,	         \
-		      /* proc_dir_entry */      NULL, \
-		      /* proc_info */           NULL,            \
-		      /* name */                "MVME16x SCSI", \
-		      /* detect */              mvme16x_scsi_detect,    \
-		      /* release */             NULL,   \
-		      /* info */                NULL,	         \
-		      /* command */             NULL,            \
-		      /* queuecommand */        NCR53c7xx_queue_command, \
-		      /* abort */               NCR53c7xx_abort,   \
-		      /* reset */               NCR53c7xx_reset,   \
-		      /* slave_attach */        NULL,            \
-		      /* bios_param */          NULL /*scsicam_bios_param*/, \
-		      /* can_queue */           24,       \
-		      /* this_id */             7,               \
-		      /* sg_tablesize */        127,          \
-		      /* cmd_per_lun */	        3,     \
-		      /* present */             0,               \
-		      /* unchecked_isa_dma */   0,               \
-		      /* use_clustering */      DISABLE_CLUSTERING }
+#define MVME16x_SCSI  {name:                "MVME16x NCR53c710 SCSI", \
+		       detect:              mvme16x_scsi_detect,    \
+		       queuecommand:        NCR53c7xx_queue_command, \
+		       abort:               NCR53c7xx_abort,   \
+		       reset:               NCR53c7xx_reset,   \
+		       bios_param:          scsicam_bios_param,   \
+		       can_queue:           24,       \
+		       this_id:             7,               \
+		       sg_tablesize:        63,          \
+		       cmd_per_lun:	    3,     \
+		       use_clustering:      DISABLE_CLUSTERING }
 #endif
 #endif /* MVME16x_SCSI_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov