Add /* MEMORY_DISK_SERVER */ comments to the #endifs to match the #ifdefs.
This commit is contained in:
parent
cf4eb31ab4
commit
944cb6f8ff
10
sys/dev/md.c
10
sys/dev/md.c
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: md.c,v 1.32 2002/10/23 09:13:03 jdolecek Exp $ */
|
||||
/* $NetBSD: md.c,v 1.33 2002/12/11 16:24:38 atatat Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Gordon W. Ross, Leo Weppelman.
|
||||
|
@ -46,7 +46,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: md.c,v 1.32 2002/10/23 09:13:03 jdolecek Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: md.c,v 1.33 2002/12/11 16:24:38 atatat Exp $");
|
||||
|
||||
#include "opt_md.h"
|
||||
|
||||
|
@ -71,7 +71,7 @@ __KERNEL_RCSID(0, "$NetBSD: md.c,v 1.32 2002/10/23 09:13:03 jdolecek Exp $");
|
|||
*/
|
||||
#ifndef MEMORY_DISK_SERVER
|
||||
#define MEMORY_DISK_SERVER 1
|
||||
#endif
|
||||
#endif /* MEMORY_DISK_SERVER */
|
||||
|
||||
/*
|
||||
* We should use the raw partition for ioctl.
|
||||
|
@ -193,7 +193,7 @@ md_attach(parent, self, aux)
|
|||
static int md_server_loop __P((struct md_softc *sc));
|
||||
static int md_ioctl_server __P((struct md_softc *sc,
|
||||
struct md_conf *umd, struct proc *proc));
|
||||
#endif
|
||||
#endif /* MEMORY_DISK_SERVER */
|
||||
static int md_ioctl_kalloc __P((struct md_softc *sc,
|
||||
struct md_conf *umd, struct proc *proc));
|
||||
|
||||
|
@ -413,7 +413,7 @@ mdioctl(dev, cmd, data, flag, proc)
|
|||
#if MEMORY_DISK_SERVER
|
||||
case MD_UMEM_SERVER:
|
||||
return md_ioctl_server(sc, umd, proc);
|
||||
#endif
|
||||
#endif /* MEMORY_DISK_SERVER */
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue