summaryrefslogtreecommitdiffstats
path: root/sys/scsi/scsi_generic.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/scsi/scsi_generic.h')
-rw-r--r--sys/scsi/scsi_generic.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/scsi/scsi_generic.h b/sys/scsi/scsi_generic.h
index 338aa51..44f2bd1 100644
--- a/sys/scsi/scsi_generic.h
+++ b/sys/scsi/scsi_generic.h
@@ -1,6 +1,3 @@
-#ifndef _SCSI_GENERIC_H_
-#define _SCSI_GENERIC_H_
-
/*
* Contributed by HD Associates (hd@world.std.com).
* Copyright (c) 1992, 1993 HD Associates
@@ -35,6 +32,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
+ * from: @(#)stdio.h 5.17 (Berkeley) 6/3/91
+ * $Id$
*/
/* generic SCSI header file. We use the same minor number format
@@ -50,6 +49,9 @@
* III is the SCSI ID (controller)
*/
+#ifndef _SCSI_GENERIC_H_
+#define _SCSI_GENERIC_H_
+
#define G_SCSI_FLAG(DEV) (((DEV) & 0xC0) >> 6)
#define G_SCSI_UNIT(DEV) G_SCSI_FLAG(DEV)
#define G_SCSI_LUN(DEV) (((DEV) & 0x38) >> 3)
OpenPOWER on IntegriCloud