summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_driver.c6
-rw-r--r--sys/dev/raidframe/rf_driver.h4
2 files changed, 7 insertions, 3 deletions
diff --git a/sys/dev/raidframe/rf_driver.c b/sys/dev/raidframe/rf_driver.c
index 24c33ee2429..5890c2407f9 100644
--- a/sys/dev/raidframe/rf_driver.c
+++ b/sys/dev/raidframe/rf_driver.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_driver.c,v 1.45 2001/11/15 09:48:13 lukem Exp $ */
+/* $NetBSD: rf_driver.c,v 1.46 2002/01/07 01:58:03 oster Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -73,7 +73,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_driver.c,v 1.45 2001/11/15 09:48:13 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_driver.c,v 1.46 2002/01/07 01:58:03 oster Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -699,6 +699,7 @@ bp_in is a buf pointer. void * to facilitate ignoring it outside the kernel
return (0);
}
+#if 0
/* force the array into reconfigured mode without doing reconstruction */
int
rf_SetReconfiguredMode(raidPtr, row, col)
@@ -722,6 +723,7 @@ rf_SetReconfiguredMode(raidPtr, row, col)
RF_UNLOCK_MUTEX(raidPtr->mutex);
return (0);
}
+#endif
int
rf_FailDisk(
diff --git a/sys/dev/raidframe/rf_driver.h b/sys/dev/raidframe/rf_driver.h
index d0a1fe81bb7..61127e624a4 100644
--- a/sys/dev/raidframe/rf_driver.h
+++ b/sys/dev/raidframe/rf_driver.h
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_driver.h,v 1.6 2001/10/04 15:58:53 oster Exp $ */
+/* $NetBSD: rf_driver.h,v 1.7 2002/01/07 01:58:03 oster Exp $ */
/*
* rf_driver.h
*/
@@ -55,8 +55,10 @@ int rf_DoAccess(RF_Raid_t * raidPtr, RF_IoType_t type, int async_flag,
RF_RaidAddr_t raidAddress, RF_SectorCount_t numBlocks,
caddr_t bufPtr, void *bp_in,
RF_RaidAccessFlags_t flags);
+#if 0
int rf_SetReconfiguredMode(RF_Raid_t * raidPtr, RF_RowCol_t row,
RF_RowCol_t col);
+#endif
int rf_FailDisk(RF_Raid_t * raidPtr, RF_RowCol_t frow, RF_RowCol_t fcol,
int initRecon);
void rf_SignalQuiescenceLock(RF_Raid_t * raidPtr,