diff options
author | peter <peter@FreeBSD.org> | 1998-12-28 16:28:24 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-12-28 16:28:24 +0000 |
commit | 9a3d9ee577a3eec80188f6c61bfff9dc7d32e9e2 (patch) | |
tree | b01101042b9231af62aa21c6bdee24e0419bddae /sys/dev/vinum/vinumext.h | |
parent | b44d350f5dbecc328917a46469163854cf764dd0 (diff) | |
download | FreeBSD-src-9a3d9ee577a3eec80188f6c61bfff9dc7d32e9e2.zip FreeBSD-src-9a3d9ee577a3eec80188f6c61bfff9dc7d32e9e2.tar.gz |
Some relatively minor tweaks to enable vinum to be built into a static
kernel as a pseudo-device. The changes were:
- #ifdef DEBUG -> #ifdef VINUMDEBUG
- opt_vinum.h for holding above config variable
- Fixing up a few stray problems where DEBUG wasn't optional.
- config.c -> vinumconfig.c (there's already a config.o)
- Other *.c -> vinum*.c (wasn't strictly necessary, but done in case we end
up with something else conflicting later on and we might have to have yet
more repository copies of files).
- include file paths fixups.. (ie: get them all from the kernel tree
instead of partly from the kernel and partly from /usr/include/machine)
I've spoken with Greg about this.. I hope this doesn't mess him around
too much..
Diffstat (limited to 'sys/dev/vinum/vinumext.h')
-rw-r--r-- | sys/dev/vinum/vinumext.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/vinum/vinumext.h b/sys/dev/vinum/vinumext.h index ab1d143..a82fa1b 100644 --- a/sys/dev/vinum/vinumext.h +++ b/sys/dev/vinum/vinumext.h @@ -33,14 +33,14 @@ * otherwise) arising in any way out of the use of this software, even if * advised of the possibility of such damage. * - * $Id: vinumext.h,v 1.2 1998/10/21 08:32:32 grog Exp $ + * $Id: vinumext.h,v 1.4 1998/12/28 04:56:24 peter Exp $ */ /* vinumext.h: external definitions */ extern struct _vinum_conf vinum_conf; /* configuration information */ -#ifdef DEBUG +#ifdef VINUMDEBUG extern debug; /* debug flags */ #endif @@ -136,7 +136,7 @@ int launch_requests(struct request *rq, int reviveok); /* XXX Do we need this? */ int vinumpart(dev_t); -#ifdef DEBUG +#ifdef VINUMDEBUG /* Memory allocation and request tracing */ void vinum_meminfo(caddr_t data); int vinum_mallocinfo(caddr_t data); |