Revert previous. Need to be more careful with what gets chopped out.

This commit is contained in:
oster 2002-01-07 05:30:53 +00:00
parent d74b2fc0ea
commit 19c2127b85

View File

@ -1,4 +1,4 @@
/* $NetBSD: rf_map.c,v 1.10 2002/01/07 02:27:42 oster Exp $ */
/* $NetBSD: rf_map.c,v 1.11 2002/01/07 05:30:53 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@ -33,7 +33,7 @@
**************************************************************************/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: rf_map.c,v 1.10 2002/01/07 02:27:42 oster Exp $");
__KERNEL_RCSID(0, "$NetBSD: rf_map.c,v 1.11 2002/01/07 05:30:53 oster Exp $");
#include <dev/raidframe/raidframevar.h>
@ -701,12 +701,9 @@ void
rf_PrintAccessStripeMap(asm_h)
RF_AccessStripeMapHeader_t *asm_h;
{
#if DEBUG
rf_PrintFullAccessStripeMap(asm_h, 0);
#endif
}
#if DEBUG
void
rf_PrintFullAccessStripeMap(asm_h, prbuf)
RF_AccessStripeMapHeader_t *asm_h;
@ -838,6 +835,7 @@ rf_ASMParityAdjust(
RF_ASSERT(new_pda->numSector != 0);
}
}
/*
Check if a disk has been spared or failed. If spared,
redirect the I/O.
@ -906,4 +904,3 @@ rf_ASMCheckStatus(
rf_RaidAddressToStripeUnitID(&raidPtr->Layout, pda_p->raidAddress + pda_p->numSector - 1));
RF_ASSERT(pda_p->col != -1);
}
#endif /* DEBUG */