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

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

diff -u --recursive --new-file v2.1.100/linux/drivers/acorn/scsi/cumana_2.h linux/drivers/acorn/scsi/cumana_2.h
@@ -1,7 +1,7 @@
 /*
  * Cumana SCSI II driver
  *
- * Copyright (C) 1997 Russell King
+ * Copyright (C) 1997-1998 Russell King
  */
 #ifndef CUMANA_2_H
 #define CUMANA_2_H
@@ -57,12 +57,19 @@
 
 #ifndef HOSTS_C
 
+#include <asm/dma.h>
+
+#define NR_SG	256
+
 typedef struct {
-    FAS216_Info info;
+	FAS216_Info info;
 
-    /* other info... */
-    unsigned int	cstatus;	/* card status register	*/
-    unsigned int	dmaarea;	/* Pseudo DMA area	*/
+	/* other info... */
+	unsigned int	status;		/* card status register	*/
+	unsigned int	alatch;		/* Control register	*/
+	unsigned int	terms;		/* Terminator state	*/
+	unsigned int	dmaarea;	/* Pseudo DMA area	*/
+	dmasg_t		dmasg[NR_SG];	/* Scatter DMA list	*/
 } CumanaScsi2_Info;
 
 #define CSTATUS_IRQ	(1 << 0)

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