From f05c60927e5f5be6688126811e06259b7b822a66 Mon Sep 17 00:00:00 2001 From: asami Date: Mon, 13 May 1996 09:17:42 +0000 Subject: Add #ifndef/#endif around the "#define CCD_OFFSET 16", so you can override it in your kernel config file. Requested (in essence) by: phk --- sys/dev/ccd/ccd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/dev') 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 -- cgit v1.1