summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/include/scsi_5380.h
diff options
context:
space:
mode:
authorgene <gene@cvs.openbsd.org>1997-11-30 06:10:39 +0000
committergene <gene@cvs.openbsd.org>1997-11-30 06:10:39 +0000
commit8ea4507ab737632dbe77c8e6f4eeba486c3fa974 (patch)
tree850d43c4bca54f385e98362b6bd49eb888192467 /sys/arch/mac68k/include/scsi_5380.h
parentc38e0feb6b313449fd0763bf4ac87b3976bf8741 (diff)
Add multiple inclusion protection, clean up comments, and wrap with _KERNEL
where appropriate. Note that this buys us notable speed boosts on a machine as slow as the mac68k.
Diffstat (limited to 'sys/arch/mac68k/include/scsi_5380.h')
-rw-r--r--sys/arch/mac68k/include/scsi_5380.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/mac68k/include/scsi_5380.h b/sys/arch/mac68k/include/scsi_5380.h
index efce3b0d5d3..2a180f31d7f 100644
--- a/sys/arch/mac68k/include/scsi_5380.h
+++ b/sys/arch/mac68k/include/scsi_5380.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsi_5380.h,v 1.2 1996/05/26 18:36:04 briggs Exp $ */
+/* $OpenBSD: scsi_5380.h,v 1.3 1997/11/30 06:10:34 gene Exp $ */
/* $NetBSD: scsi_5380.h,v 1.3 1994/10/26 08:46:46 cgd Exp $ */
/*
@@ -34,6 +34,9 @@
* Defines for the NCR 5380 (SCSI chip), aka Am5380
*/
+#ifndef _MAC68K_SCSI5380_H_
+#define _MAC68K_SCSI5380_H_
+
/*
* Register map
*/
@@ -141,3 +144,4 @@ typedef struct {
#define SCI_CSR_DREQ 0x40 /* r: DMA request */
#define SCI_CSR_DONE 0x80 /* r: DMA count is zero */
+#endif /* _MAC68K_SCSI5380_H_ */