summaryrefslogtreecommitdiff
path: root/include/device
diff options
context:
space:
mode:
Diffstat (limited to 'include/device')
-rw-r--r--include/device/device_types.defs14
-rw-r--r--include/device/device_types.h14
-rw-r--r--include/device/disk_status.h28
-rw-r--r--include/device/net_status.h20
4 files changed, 38 insertions, 38 deletions
diff --git a/include/device/device_types.defs b/include/device/device_types.defs
index c5d8e9d..79e4c5b 100644
--- a/include/device/device_types.defs
+++ b/include/device/device_types.defs
@@ -2,31 +2,31 @@
* Mach Operating System
* Copyright (c) 1991,1990,1989 Carnegie Mellon University
* All Rights Reserved.
- *
+ *
* Permission to use, copy, modify and distribute this software and its
* documentation is hereby granted, provided that both the copyright
* notice and this permission notice appear in all copies of the
* software, derivative works or modified versions, and any portions
* thereof, and that both notices appear in supporting documentation.
- *
+ *
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
* ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
- *
+ *
* Carnegie Mellon requests users of this software to return to
- *
+ *
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
* School of Computer Science
* Carnegie Mellon University
* Pittsburgh PA 15213-3890
- *
+ *
* any improvements or extensions that they make and grant Carnegie Mellon
* the rights to redistribute these changes.
*/
/*
* Author: David B. Golub, Carnegie Mellon University
* Date: 3/89
- *
+ *
* Common definitions for device interface types.
*/
@@ -61,4 +61,4 @@ type device_t = mach_port_t
import <device/device_types.h>;
import <device/net_status.h>;
-#endif _DEVICE_DEVICE_TYPES_DEFS_
+#endif /* _DEVICE_DEVICE_TYPES_DEFS_ */
diff --git a/include/device/device_types.h b/include/device/device_types.h
index 08eec4a..caf4fc0 100644
--- a/include/device/device_types.h
+++ b/include/device/device_types.h
@@ -1,25 +1,25 @@
-/*
+/*
* Mach Operating System
* Copyright (c) 1991,1990,1989 Carnegie Mellon University
* All Rights Reserved.
- *
+ *
* Permission to use, copy, modify and distribute this software and its
* documentation is hereby granted, provided that both the copyright
* notice and this permission notice appear in all copies of the
* software, derivative works or modified versions, and any portions
* thereof, and that both notices appear in supporting documentation.
- *
+ *
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
* ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
- *
+ *
* Carnegie Mellon requests users of this software to return to
- *
+ *
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
* School of Computer Science
* Carnegie Mellon University
* Pittsburgh PA 15213-3890
- *
+ *
* any improvements or extensions that they make and grant Carnegie Mellon
* the rights to redistribute these changes.
*/
@@ -135,4 +135,4 @@ typedef int io_return_t;
#define D_NO_MEMORY 2508 /* memory allocation failure */
#define D_READ_ONLY 2509 /* device cannot be written to */
-#endif DEVICE_TYPES_H
+#endif /* DEVICE_TYPES_H */
diff --git a/include/device/disk_status.h b/include/device/disk_status.h
index 868e06e..6db790a 100644
--- a/include/device/disk_status.h
+++ b/include/device/disk_status.h
@@ -1,25 +1,25 @@
-/*
+/*
* Mach Operating System
* Copyright (c) 1991,1990,1989 Carnegie Mellon University
* All Rights Reserved.
- *
+ *
* Permission to use, copy, modify and distribute this software and its
* documentation is hereby granted, provided that both the copyright
* notice and this permission notice appear in all copies of the
* software, derivative works or modified versions, and any portions
* thereof, and that both notices appear in supporting documentation.
- *
+ *
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
* ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
- *
+ *
* Carnegie Mellon requests users of this software to return to
- *
+ *
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
* School of Computer Science
* Carnegie Mellon University
* Pittsburgh PA 15213-3890
- *
+ *
* any improvements or extensions that they make and grant Carnegie Mellon
* the rights to redistribute these changes.
*/
@@ -66,7 +66,7 @@ struct disklabel {
short d_type; /* drive type */
short d_subtype; /* controller/d_type specific */
char d_typename[16]; /* type name, e.g. "eagle" */
- /*
+ /*
* d_packname contains the pack identifier and is returned when
* the disklabel is read off the disk or in-core copy.
* d_boot0 and d_boot1 are the (optional) names of the
@@ -75,15 +75,15 @@ struct disklabel {
* getdiskbyname(3) to retrieve the values from /etc/disktab.
*/
#if defined(MACH_KERNEL) || defined(STANDALONE)
- char d_packname[16]; /* pack identifier */
+ char d_packname[16]; /* pack identifier */
#else
union {
- char un_d_packname[16]; /* pack identifier */
+ char un_d_packname[16]; /* pack identifier */
struct {
char *un_d_boot0; /* primary bootstrap name */
char *un_d_boot1; /* secondary bootstrap name */
- } un_b;
- } d_un;
+ } un_b;
+ } d_un;
#define d_packname d_un.un_d_packname
#define d_boot0 d_un.un_b.un_d_boot0
#define d_boot1 d_un.un_b.un_d_boot1
@@ -168,7 +168,7 @@ struct disklabel {
int bugfix;
#endif
};
-#else LOCORE
+#else /* LOCORE */
/*
* offsets for asm boot files.
*/
@@ -179,7 +179,7 @@ struct disklabel {
.set d_secpercyl,56
.set d_secperunit,60
.set d_end_,276 /* size of disk label */
-#endif LOCORE
+#endif /* LOCORE */
/* d_type values: */
#define DTYPE_SMD 1 /* SMD, XSMD; VAX hp/up */
@@ -301,6 +301,6 @@ struct format_op {
#define DIOCSBAD _IOW('d', 110, struct dkbad) /* set kernel dkbad */
-#endif LOCORE
+#endif /* LOCORE */
#endif /* _DISK_STATUS_H_ */
diff --git a/include/device/net_status.h b/include/device/net_status.h
index 2b29b32..dbf5e39 100644
--- a/include/device/net_status.h
+++ b/include/device/net_status.h
@@ -1,25 +1,25 @@
-/*
+/*
* Mach Operating System
* Copyright (c) 1991,1990,1989 Carnegie Mellon University
* All Rights Reserved.
- *
+ *
* Permission to use, copy, modify and distribute this software and its
* documentation is hereby granted, provided that both the copyright
* notice and this permission notice appear in all copies of the
* software, derivative works or modified versions, and any portions
* thereof, and that both notices appear in supporting documentation.
- *
+ *
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
* ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
- *
+ *
* Carnegie Mellon requests users of this software to return to
- *
+ *
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
* School of Computer Science
* Carnegie Mellon University
* Pittsburgh PA 15213-3890
- *
+ *
* any improvements or extensions that they make and grant Carnegie Mellon
* the rights to redistribute these changes.
*/
@@ -83,7 +83,7 @@ struct net_status {
* We allow specification of up to NET_MAX_FILTER (short) words of a filter
* command list to be applied to incoming packets to determine if
* those packets should be given to a particular network input filter.
- *
+ *
* Each network filter specifies the filter command list via net_add_filter.
* Each filter command list specifies a sequences of actions which leave a
* boolean value on the top of an internal stack. Each word of the
@@ -94,10 +94,10 @@ struct net_status {
* top two elements of the stack and replaces them with its result. The
* special action NOPUSH and the special operator NOP can be used to only
* perform the binary operation or to only push a value on the stack.
- *
+ *
* If the final value of the filter operation is true, then the packet is
* accepted for the filter.
- *
+ *
*/
typedef unsigned short filter_t;
@@ -184,4 +184,4 @@ typedef struct net_rcv_msg *net_rcv_msg_t;
-#endif _DEVICE_NET_STATUS_H_
+#endif /* _DEVICE_NET_STATUS_H_ */