summaryrefslogtreecommitdiffstats
path: root/sys/dev/scd
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-09-30 13:49:20 +0000
committerphk <phk@FreeBSD.org>2002-09-30 13:49:20 +0000
commit36e6abee29940066c08bd675ab48859b080eccfd (patch)
treef3082c10b039d3f7846f55315512442db8a53538 /sys/dev/scd
parent627692f3b0ce706e9da904273b8c3ad92e582708 (diff)
downloadFreeBSD-src-36e6abee29940066c08bd675ab48859b080eccfd.zip
FreeBSD-src-36e6abee29940066c08bd675ab48859b080eccfd.tar.gz
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.
Diffstat (limited to 'sys/dev/scd')
-rw-r--r--sys/dev/scd/scd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/scd/scd.c b/sys/dev/scd/scd.c
index e26d279..4199f18 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
OpenPOWER on IntegriCloud