diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-06-19 22:45:37 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-06-19 22:45:37 +0000 |
commit | 6d403070f28cd44860fdb3a53be5da0275c65cf4 (patch) | |
tree | 0d0e7fe7b5fb7568d19e11d7d862b77a866ce081 /drivers/scsi/in2000.h | |
parent | ecf1bf5f6c2e668d03b0a9fb026db7aa41e292e1 (diff) |
Merge with 2.4.0-test1-ac21 + pile of MIPS cleanups to make merging
possible. Chainsawed RM200 kernel to compile again. Jazz machine
status unknown.
Diffstat (limited to 'drivers/scsi/in2000.h')
-rw-r--r-- | drivers/scsi/in2000.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/in2000.h b/drivers/scsi/in2000.h index 63bfa6d65..2b7121a9b 100644 --- a/drivers/scsi/in2000.h +++ b/drivers/scsi/in2000.h @@ -34,8 +34,10 @@ #define DEBUGGING_ON /* enable command-line debugging bitmask */ #define DEBUG_DEFAULTS 0 /* default bitmask - change from command-line */ +#ifdef __i386__ #define FAST_READ_IO /* No problems with these on my machine */ #define FAST_WRITE_IO +#endif #ifdef DEBUGGING_ON #define DB(f,a) if (hostdata->args & (f)) a; @@ -52,6 +54,7 @@ #define write1_io(b,a) (outb((b),hostdata->io_base+(a))) #define write2_io(w,a) (outw((w),hostdata->io_base+(a))) +#ifdef __i386__ /* These inline assembly defines are derived from a patch * sent to me by Bill Earnest. He's done a lot of very * valuable thinking, testing, and coding during his effort @@ -90,6 +93,7 @@ int __dummy_1,__dummy_2; \ : "2" (f), "0" (sp), "1" (i) /* input */ \ ); /* trashed */ \ }) +#endif /* IN2000 io_port offsets */ #define IO_WD_ASR 0x00 /* R - 3393 auxstat reg */ |