aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/53c700.h
diff options
context:
space:
mode:
authorKars de Jong <jongk@linux-m68k.org>2007-06-17 08:47:05 -0400
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-06-17 17:15:56 -0400
commit632731345bfb87fd1f4dc509928cc4a7efc12a89 (patch)
treeaa656433bc8bd5b48581d15b3e7614bdcafc8ff0 /drivers/scsi/53c700.h
parentcc78d30af0823f33069fb4813c47571d4e0675a2 (diff)
[SCSI] 53c700: m68k support for the 53c700 SCSI core
Add m68k support to the 53c700 SCSI driver Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/53c700.h')
-rw-r--r--drivers/scsi/53c700.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/53c700.h b/drivers/scsi/53c700.h
index 841e1bb27d5..e06bdfeab42 100644
--- a/drivers/scsi/53c700.h
+++ b/drivers/scsi/53c700.h
@@ -177,6 +177,7 @@ struct NCR_700_command_slot {
177 __u8 state; 177 __u8 state;
178 #define NCR_700_FLAG_AUTOSENSE 0x01 178 #define NCR_700_FLAG_AUTOSENSE 0x01
179 __u8 flags; 179 __u8 flags;
180 __u8 pad1[2]; /* Needed for m68k where min alignment is 2 bytes */
180 int tag; 181 int tag;
181 __u32 resume_offset; 182 __u32 resume_offset;
182 struct scsi_cmnd *cmnd; 183 struct scsi_cmnd *cmnd;
@@ -196,6 +197,8 @@ struct NCR_700_Host_Parameters {
196 void __iomem *base; /* the base for the port (copied to host) */ 197 void __iomem *base; /* the base for the port (copied to host) */
197 struct device *dev; 198 struct device *dev;
198 __u32 dmode_extra; /* adjustable bus settings */ 199 __u32 dmode_extra; /* adjustable bus settings */
200 __u32 dcntl_extra; /* adjustable bus settings */
201 __u32 ctest7_extra; /* adjustable bus settings */
199 __u32 differential:1; /* if we are differential */ 202 __u32 differential:1; /* if we are differential */
200#ifdef CONFIG_53C700_LE_ON_BE 203#ifdef CONFIG_53C700_LE_ON_BE
201 /* This option is for HP only. Set it if your chip is wired for 204 /* This option is for HP only. Set it if your chip is wired for
@@ -352,6 +355,7 @@ struct NCR_700_Host_Parameters {
352#define SEL_TIMEOUT_DISABLE 0x10 /* 710 only */ 355#define SEL_TIMEOUT_DISABLE 0x10 /* 710 only */
353#define DFP 0x08 356#define DFP 0x08
354#define EVP 0x04 357#define EVP 0x04
358#define CTEST7_TT1 0x02
355#define DIFF 0x01 359#define DIFF 0x01
356#define CTEST6_REG 0x1A 360#define CTEST6_REG 0x1A
357#define TEMP_REG 0x1C 361#define TEMP_REG 0x1C
@@ -385,6 +389,7 @@ struct NCR_700_Host_Parameters {
385#define SOFTWARE_RESET 0x01 389#define SOFTWARE_RESET 0x01
386#define COMPAT_700_MODE 0x01 390#define COMPAT_700_MODE 0x01
387#define SCRPTS_16BITS 0x20 391#define SCRPTS_16BITS 0x20
392#define EA_710 0x20
388#define ASYNC_DIV_2_0 0x00 393#define ASYNC_DIV_2_0 0x00
389#define ASYNC_DIV_1_5 0x40 394#define ASYNC_DIV_1_5 0x40
390#define ASYNC_DIV_1_0 0x80 395#define ASYNC_DIV_1_0 0x80