summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>2001-06-20 03:09:23 +0000
committeroster <oster@NetBSD.org>2001-06-20 03:09:23 +0000
commit76d322c58cd313c3b29501c2fad721ae44fffb51 (patch)
tree24d21bba4f00d0b8c3928ff69bb13cca3a2c53d9 /sys/dev/raidframe
parent35e011d31b959dc2f6a0ce64fbcd21f5c2e7e3eb (diff)
#if out a few more bits that arn't required if we are not doing
PQ or RAID6.
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_pqdeg.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/raidframe/rf_pqdeg.h b/sys/dev/raidframe/rf_pqdeg.h
index 42bb09b5df2..65abcc7cb80 100644
--- a/sys/dev/raidframe/rf_pqdeg.h
+++ b/sys/dev/raidframe/rf_pqdeg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_pqdeg.h,v 1.3 1999/02/05 00:06:15 oster Exp $ */
+/* $NetBSD: rf_pqdeg.h,v 1.4 2001/06/20 03:09:23 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -29,6 +29,8 @@
#ifndef _RF__RF_PQDEG_H_
#define _RF__RF_PQDEG_H_
+#if (RF_INCLUDE_PQ > 0) || (RF_INCLUDE_RAID6 > 0)
+
#include "rf_types.h"
#if RF_UTILITY == 0
@@ -71,4 +73,6 @@ extern RF_ua1024_t rf_qinv[29 * 29];
extern RF_ua1024_t rf_qinv[1];
#endif /* !_KERNEL */
+#endif /* (RF_INCLUDE_PQ > 0) || (RF_INCLUDE_RAID6 > 0) */
+
#endif /* !_RF__RF_PQDEG_H_ */