patch-1.3.77 linux/drivers/scsi/NCR5380.h

Next file: linux/drivers/scsi/README.g_NCR5380
Previous file: linux/drivers/scsi/NCR5380.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.76/linux/drivers/scsi/NCR5380.h linux/drivers/scsi/NCR5380.h
@@ -265,6 +265,15 @@
     unsigned long time_expires;			/* in jiffies, set prior to sleeping */
     struct Scsi_Host *next_timer;
 #endif
+#ifdef NCR5380_STATS
+    unsigned timebase;				/* Base for time calcs */
+    long time_read[8];				/* time to do reads */
+    long time_write[8];				/* time to do writes */
+    unsigned long bytes_read[8];		/* bytes read */
+    unsigned long bytes_write[8];		/* byytes written */
+    unsigned pendingr;
+    unsigned pendingw;
+#endif
 };
 
 #ifdef __KERNEL__

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this