Home | History | Annotate | Line # | Download | only in raidframe
rf_archs.h revision 1.11
      1  1.11  oster /*	$NetBSD: rf_archs.h,v 1.11 2001/01/26 04:43:16 oster Exp $	*/
      2   1.1  oster /*
      3   1.1  oster  * Copyright (c) 1995 Carnegie-Mellon University.
      4   1.1  oster  * All rights reserved.
      5   1.1  oster  *
      6   1.1  oster  * Author: Mark Holland
      7   1.1  oster  *
      8   1.1  oster  * Permission to use, copy, modify and distribute this software and
      9   1.1  oster  * its documentation is hereby granted, provided that both the copyright
     10   1.1  oster  * notice and this permission notice appear in all copies of the
     11   1.1  oster  * software, derivative works or modified versions, and any portions
     12   1.1  oster  * thereof, and that both notices appear in supporting documentation.
     13   1.1  oster  *
     14   1.1  oster  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
     15   1.1  oster  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
     16   1.1  oster  * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
     17   1.1  oster  *
     18   1.1  oster  * Carnegie Mellon requests users of this software to return to
     19   1.1  oster  *
     20   1.1  oster  *  Software Distribution Coordinator  or  Software.Distribution (at) CS.CMU.EDU
     21   1.1  oster  *  School of Computer Science
     22   1.1  oster  *  Carnegie Mellon University
     23   1.1  oster  *  Pittsburgh PA 15213-3890
     24   1.1  oster  *
     25   1.1  oster  * any improvements or extensions that they make and grant Carnegie the
     26   1.1  oster  * rights to redistribute these changes.
     27   1.1  oster  */
     28   1.1  oster 
     29   1.1  oster /* rf_archs.h -- defines for which architectures you want to
     30   1.1  oster  * include is some particular build of raidframe.  Unfortunately,
     31   1.1  oster  * it's difficult to exclude declustering, P+Q, and distributed
     32   1.1  oster  * sparing because the code is intermixed with RAID5 code.  This
     33   1.1  oster  * should be fixed.
     34   1.1  oster  *
     35   1.1  oster  * this is really intended only for use in the kernel, where I
     36   1.1  oster  * am worried about the size of the object module.  At user level and
     37   1.1  oster  * in the simulator, I don't really care that much, so all the
     38   1.1  oster  * architectures can be compiled together.  Note that by itself, turning
     39   1.1  oster  * off these defines does not affect the size of the executable; you
     40   1.1  oster  * have to edit the makefile for that.
     41   1.1  oster  *
     42   1.1  oster  * comment out any line below to eliminate that architecture.
     43   1.1  oster  * the list below includes all the modules that can be compiled
     44   1.1  oster  * out.
     45   1.1  oster  *
     46   1.1  oster  */
     47   1.1  oster 
     48   1.1  oster #ifndef _RF__RF_ARCHS_H_
     49   1.1  oster #define _RF__RF_ARCHS_H_
     50   1.1  oster 
     51   1.1  oster #define RF_INCLUDE_EVENODD       1
     52   1.1  oster 
     53   1.1  oster #define RF_INCLUDE_RAID5_RS      1
     54   1.1  oster #define RF_INCLUDE_PARITYLOGGING 1
     55   1.1  oster 
     56   1.1  oster #define RF_INCLUDE_CHAINDECLUSTER 1
     57   1.1  oster #define RF_INCLUDE_INTERDECLUSTER 1
     58  1.10  oster 
     59  1.11  oster #define RF_INCLUDE_PARITY_DECLUSTERING 1
     60  1.11  oster #define RF_INCLUDE_PARITY_DECLUSTERING_DS 1
     61   1.1  oster 
     62   1.1  oster #define RF_INCLUDE_RAID0   1
     63   1.1  oster #define RF_INCLUDE_RAID1   1
     64   1.1  oster #define RF_INCLUDE_RAID4   1
     65   1.1  oster #define RF_INCLUDE_RAID5   1
     66   1.1  oster #define RF_INCLUDE_RAID6   0
     67   1.1  oster #define RF_INCLUDE_DECL_PQ 0
     68   1.1  oster 
     69   1.1  oster #define RF_MEMORY_REDZONES 0
     70   1.1  oster #define RF_RECON_STATS     1
     71   1.1  oster 
     72   1.1  oster #include "rf_options.h"
     73   1.1  oster 
     74   1.4  oster #endif				/* !_RF__RF_ARCHS_H_ */
     75