patch-2.1.101 linux/drivers/acorn/scsi/powertec.h

Next file: linux/drivers/acorn/scsi/queue.c
Previous file: linux/drivers/acorn/scsi/powertec.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.100/linux/drivers/acorn/scsi/powertec.h linux/drivers/acorn/scsi/powertec.h
@@ -1,7 +1,7 @@
 /*
  * PowerTec SCSI driver
  *
- * Copyright (C) 1997 Russell King
+ * Copyright (C) 1997-1998 Russell King
  */
 #ifndef POWERTECSCSI_H
 #define POWERTECSCSI_H
@@ -64,10 +64,20 @@
 
 #ifndef HOSTS_C
 
+#include <asm/dma.h>
+
+#define NR_SG	256
+
 typedef struct {
-    FAS216_Info info;
+	FAS216_Info info;
+
+	struct {
+		unsigned int term_port;
+		unsigned int terms;
+	} control;
 
-    /* other info... */
+	/* other info... */
+	dmasg_t		dmasg[NR_SG];	/* Scatter DMA list	*/
 } PowerTecScsi_Info;
 
 #endif /* HOSTS_C */

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