summaryrefslogtreecommitdiffstats
path: root/sys/dev/ccd
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1996-05-13 09:17:42 +0000
committerasami <asami@FreeBSD.org>1996-05-13 09:17:42 +0000
commitf05c60927e5f5be6688126811e06259b7b822a66 (patch)
tree54ce022ebff60d8795724297518c34841227d0b0 /sys/dev/ccd
parent8b28728241f28400b342bb62994fa35e3615a807 (diff)
downloadFreeBSD-src-f05c60927e5f5be6688126811e06259b7b822a66.zip
FreeBSD-src-f05c60927e5f5be6688126811e06259b7b822a66.tar.gz
Add #ifndef/#endif around the "#define CCD_OFFSET 16", so you can override
it in your kernel config file. Requested (in essence) by: phk
Diffstat (limited to 'sys/dev/ccd')
-rw-r--r--sys/dev/ccd/ccd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ccd/ccd.c b/sys/dev/ccd/ccd.c
index 284d783..f56b78b 100644
--- a/sys/dev/ccd/ccd.c
+++ b/sys/dev/ccd/ccd.c
@@ -1,4 +1,4 @@
-/* $Id: ccd.c,v 1.10 1996/04/24 09:42:22 asami Exp $ */
+/* $Id: ccd.c,v 1.11 1996/05/13 08:38:15 asami Exp $ */
/* $NetBSD: ccd.c,v 1.22 1995/12/08 19:13:26 thorpej Exp $ */
@@ -233,7 +233,9 @@ static int ccd_devsw_installed = 0;
* This is to avoid violating its disklabel area when it starts at the
* beginning of the slice.
*/
+#if !defined(CCD_OFFSET)
#define CCD_OFFSET 16
+#endif
/*
* Called by main() during pseudo-device attachment. All we need
OpenPOWER on IntegriCloud