diff options
Diffstat (limited to 'device')
-rw-r--r-- | device/dev_pager.c | 6 | ||||
-rw-r--r-- | device/device_port.h | 14 | ||||
-rw-r--r-- | device/device_types_kernel.h | 2 | ||||
-rw-r--r-- | device/ds_routines.h | 14 | ||||
-rw-r--r-- | device/errno.h | 4 | ||||
-rw-r--r-- | device/if_ether.h | 4 | ||||
-rw-r--r-- | device/if_hdr.h | 2 | ||||
-rw-r--r-- | device/io_req.h | 14 | ||||
-rw-r--r-- | device/net_io.c | 2 | ||||
-rw-r--r-- | device/net_io.h | 14 |
10 files changed, 38 insertions, 38 deletions
diff --git a/device/dev_pager.c b/device/dev_pager.c index 007942d..2e76ed2 100644 --- a/device/dev_pager.c +++ b/device/dev_pager.c @@ -333,7 +333,7 @@ kern_return_t device_pager_data_request( #ifdef lint protection_required++; -#endif lint +#endif /* lint */ if (device_pager_debug) printf("(device_pager)data_request: pager=%d, offset=0x%x, length=0x%x\n", @@ -700,7 +700,7 @@ kern_return_t device_pager_data_unlock( { #ifdef lint memory_object++; memory_control_port++; offset++; length++; desired_access++; -#endif lint +#endif /* lint */ panic("(device_pager)data_unlock: called"); return (KERN_FAILURE); @@ -714,7 +714,7 @@ kern_return_t device_pager_lock_completed( { #ifdef lint memory_object++; pager_request_port++; offset++; length++; -#endif lint +#endif /* lint */ panic("(device_pager)lock_completed: called"); return (KERN_FAILURE); diff --git a/device/device_port.h b/device/device_port.h index 980a709..8f8aaaa 100644 --- a/device/device_port.h +++ b/device/device_port.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. */ @@ -38,4 +38,4 @@ */ extern ipc_port_t master_device_port; -#endif _DEVICE_DEVICE_PORT_H_ +#endif /* _DEVICE_DEVICE_PORT_H_ */ diff --git a/device/device_types_kernel.h b/device/device_types_kernel.h index dd7b63e..c9698b1 100644 --- a/device/device_types_kernel.h +++ b/device/device_types_kernel.h @@ -41,4 +41,4 @@ extern device_t dev_port_lookup(/* struct ipc_port * */); extern struct ipc_port *convert_device_to_port(/* device_t */); -#endif _DEVICE_DEVICE_TYPES_KERNEL_H_ +#endif /* _DEVICE_DEVICE_TYPES_KERNEL_H_ */ diff --git a/device/ds_routines.h b/device/ds_routines.h index fff21fb..111505d 100644 --- a/device/ds_routines.h +++ b/device/ds_routines.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. */ @@ -49,4 +49,4 @@ boolean_t ds_open_done(); boolean_t ds_read_done(); boolean_t ds_write_done(); -#endif DS_ROUTINES_H +#endif /* DS_ROUTINES_H */ diff --git a/device/errno.h b/device/errno.h index 35e31e5..e65aa98 100644 --- a/device/errno.h +++ b/device/errno.h @@ -2,7 +2,7 @@ * Mach Operating System * Copyright (c) 1991 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 @@ -42,4 +42,4 @@ #define ENOTTY D_INVALID_OPERATION #define ENOMEM D_NO_MEMORY -#endif _ERRNO_ +#endif /* _ERRNO_ */ diff --git a/device/if_ether.h b/device/if_ether.h index da83fcf..5da40d6 100644 --- a/device/if_ether.h +++ b/device/if_ether.h @@ -2,7 +2,7 @@ * Mach Operating System * Copyright (c) 1991 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 @@ -52,6 +52,6 @@ struct ether_header { u_char etherbroadcastaddr[6]; extern char * ether_sprintf(); -#endif KERNEL +#endif /* KERNEL */ #endif /*_DEVICE_IF_ETHER_H_*/ diff --git a/device/if_hdr.h b/device/if_hdr.h index 64defb7..fa53fd3 100644 --- a/device/if_hdr.h +++ b/device/if_hdr.h @@ -147,4 +147,4 @@ struct ifnet { #define IFNET_SLOWHZ 1 /* granularity is 1 second */ -#endif _IF_HDR_ +#endif /* _IF_HDR_ */ diff --git a/device/io_req.h b/device/io_req.h index 76e55b6..2bb4a99 100644 --- a/device/io_req.h +++ b/device/io_req.h @@ -1,25 +1,25 @@ -/* +/* * Mach Operating System * Copyright (c) 1991,1990,1989,1988 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. */ @@ -138,4 +138,4 @@ void iodone(/* io_req_t */); zone_t io_inband_zone; /* for inband reads */ -#endif _IO_REQ_ +#endif /* _IO_REQ_ */ diff --git a/device/net_io.c b/device/net_io.c index 7714ebe..5762c88 100644 --- a/device/net_io.c +++ b/device/net_io.c @@ -651,7 +651,7 @@ net_packet(ifp, kmsg, count, priority) if (netipc_net_packet(kmsg, count)) { return; } -#endif NORMA_ETHER +#endif /* NORMA_ETHER */ #if MACH_TTD /* diff --git a/device/net_io.h b/device/net_io.h index 2228e72..789614e 100644 --- a/device/net_io.h +++ b/device/net_io.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. */ @@ -77,4 +77,4 @@ extern vm_size_t net_kmsg_size; #define net_kmsg_alloc() ((ipc_kmsg_t) kalloc(net_kmsg_size)) #define net_kmsg_free(kmsg) kfree((vm_offset_t) (kmsg), net_kmsg_size) -#endif _DEVICE_NET_IO_H_ +#endif /* _DEVICE_NET_IO_H_ */ |