aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2002-09-30 13:49:20 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2002-09-30 13:49:20 +0000
commit150b2bdfb2561316c9eac3bf688dda35f6e9eb69 (patch)
treef3082c10b039d3f7846f55315512442db8a53538 /sys/dev
parent419f39ce0fa833c72140e14574aef903de18cea9 (diff)
downloadsrc-150b2bdfb2561316c9eac3bf688dda35f6e9eb69.tar.gz
src-150b2bdfb2561316c9eac3bf688dda35f6e9eb69.zip
If GEOM is in the kernel, take these three out. I have no way of
testing any modifications to them, they shouldn't even bother with disklabels in the first place and they are just plain obsolete old hardware which should be axed entirely before 5.0-R IMO. Sponsored by: DARPA & NAI Labs.
Notes
Notes: svn path=/head/; revision=104210
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/mcd/mcd.c3
-rw-r--r--sys/dev/scd/scd.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/mcd/mcd.c b/sys/dev/mcd/mcd.c
index ad6c2d9dae70..2891117e2a6e 100644
--- a/sys/dev/mcd/mcd.c
+++ b/sys/dev/mcd/mcd.c
@@ -1,3 +1,5 @@
+#include "opt_geom.h"
+#ifndef GEOM
/*
* Copyright 1993 by Holger Veit (data part)
* Copyright 1993 by Brian Moore (audio part)
@@ -1823,3 +1825,4 @@ mcd_resume(int unit)
return EINVAL;
return mcd_play(unit, &cd->lastpb);
}
+#endif /* GEOM */
diff --git a/sys/dev/scd/scd.c b/sys/dev/scd/scd.c
index e26d279fbcf2..4199f189eefb 100644
--- a/sys/dev/scd/scd.c
+++ b/sys/dev/scd/scd.c
@@ -1,3 +1,5 @@
+#include "opt_geom.h"
+#ifndef GEOM
/*-
* Copyright (c) 1995 Mikael Hybsch
* All rights reserved.
@@ -1546,3 +1548,4 @@ scd_toc_entry (int unit, struct ioc_read_toc_single_entry *te)
return 0;
}
+#endif