patch-2.1.17 linux/drivers/scsi/wd33c93.h
Next file: linux/fs/Makefile
Previous file: linux/drivers/scsi/wd33c93.c
Back to the patch index
Back to the overall index
- Lines: 63
- Date:
Fri Dec 20 11:20:02 1996
- Orig file:
v2.1.16/linux/drivers/scsi/wd33c93.h
- Orig date:
Mon May 6 12:44:31 1996
diff -u --recursive --new-file v2.1.16/linux/drivers/scsi/wd33c93.h linux/drivers/scsi/wd33c93.h
@@ -2,7 +2,7 @@
* wd33c93.h - Linux device driver definitions for the
* Commodore Amiga A2091/590 SCSI controller card
*
- * IMPORTANT: This file is for version 1.21 - 20/Mar/1996
+ * IMPORTANT: This file is for version 1.23 - 04/Nov/1996
*
* Copyright (c) 1996 John Shifflett, GeoLog Consulting
* john@geolog.com
@@ -183,7 +183,7 @@
int status);
-#define DEFAULT_SX_PER 500 /* (ns) fairly safe */
+#define DEFAULT_SX_PER 376 /* (ns) fairly safe */
#define DEFAULT_SX_OFF 0 /* aka async */
#define OPTIMUM_SX_PER 252 /* (ns) best we can do (mult-of-4) */
@@ -208,6 +208,7 @@
int dma_dir; /* data transfer dir. */
dma_setup_t dma_setup;
dma_stop_t dma_stop;
+ unsigned int dma_xfer_mask;
uchar *dma_bounce_buffer;
unsigned int dma_bounce_len;
uchar dma_buffer_pool; /* FEF: buffer from chip_ram? */
@@ -229,9 +230,14 @@
uchar sync_xfer[8]; /* sync_xfer reg settings per target */
uchar sync_stat[8]; /* status of sync negotiation per target */
uchar no_sync; /* bitmask: don't do sync on these targets */
-#if 0
+ uchar no_dma; /* set this flag to disable DMA */
uchar proc; /* bitmask: what's in proc output */
-#endif
+ unsigned long cmd_cnt[8]; /* # of commands issued per target */
+ unsigned long int_cnt; /* # of interrupts serviced */
+ unsigned long pio_cnt; /* # of pio data transfers */
+ unsigned long dma_cnt; /* # of DMA data transfers */
+ unsigned long disc_allowed_cnt[8]; /* # of disconnects allowed per target */
+ unsigned long disc_done_cnt[8]; /* # of disconnects done per target*/
};
@@ -294,7 +300,7 @@
#define PR_VERSION 1<<0
#define PR_INFO 1<<1
-#define PR_TOTALS 1<<2
+#define PR_STATISTICS 1<<2
#define PR_CONNECTED 1<<3
#define PR_INPUTQ 1<<4
#define PR_DISCQ 1<<5
@@ -313,10 +319,6 @@
int wd33c93_reset (Scsi_Cmnd *, unsigned int);
#else
int wd33c93_reset (Scsi_Cmnd *);
-#endif
-
-#if 0
-struct proc_dir_entry proc_scsi_wd33c93;
#endif
#endif /* WD33C93_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov