Home | History | Annotate | Line # | Download | only in raidframe
      1 /*	$NetBSD: rf_evenodd_dags.h,v 1.4 2002/11/23 02:44:14 oster Exp $	*/
      2 /*
      3  * rf_evenodd_dags.h
      4  */
      5 /*
      6  * Copyright (c) 1996 Carnegie-Mellon University.
      7  * All rights reserved.
      8  *
      9  * Author: Chang-Ming Wu
     10  *
     11  * Permission to use, copy, modify and distribute this software and
     12  * its documentation is hereby granted, provided that both the copyright
     13  * notice and this permission notice appear in all copies of the
     14  * software, derivative works or modified versions, and any portions
     15  * thereof, and that both notices appear in supporting documentation.
     16  *
     17  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
     18  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
     19  * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
     20  *
     21  * Carnegie Mellon requests users of this software to return to
     22  *
     23  *  Software Distribution Coordinator  or  Software.Distribution (at) CS.CMU.EDU
     24  *  School of Computer Science
     25  *  Carnegie Mellon University
     26  *  Pittsburgh PA 15213-3890
     27  *
     28  * any improvements or extensions that they make and grant Carnegie the
     29  * rights to redistribute these changes.
     30  */
     31 
     32 #ifndef _RF__RF_EVENODD_DAGS_H_
     33 #define _RF__RF_EVENODD_DAGS_H_
     34 
     35 #include <dev/raidframe/raidframevar.h>
     36 
     37 #include "rf_dag.h"
     38 
     39 /* extern decl's of the failure mode EO functions.
     40  * swiped from rf_pqdeg.h
     41  */
     42 
     43 RF_CREATE_DAG_FUNC_DECL(rf_EO_100_CreateReadDAG);
     44 RF_CREATE_DAG_FUNC_DECL(rf_EO_101_CreateReadDAG);
     45 RF_CREATE_DAG_FUNC_DECL(rf_EO_110_CreateReadDAG);
     46 RF_CREATE_DAG_FUNC_DECL(rf_EO_200_CreateReadDAG);
     47 RF_CREATE_DAG_FUNC_DECL(rf_EOCreateDoubleDegradedReadDAG);
     48 RF_CREATE_DAG_FUNC_DECL(rf_EO_100_CreateWriteDAG);
     49 RF_CREATE_DAG_FUNC_DECL(rf_EO_010_CreateSmallWriteDAG);
     50 RF_CREATE_DAG_FUNC_DECL(rf_EO_001_CreateSmallWriteDAG);
     51 RF_CREATE_DAG_FUNC_DECL(rf_EO_010_CreateLargeWriteDAG);
     52 RF_CREATE_DAG_FUNC_DECL(rf_EO_001_CreateLargeWriteDAG);
     53 RF_CREATE_DAG_FUNC_DECL(rf_EO_011_CreateWriteDAG);
     54 RF_CREATE_DAG_FUNC_DECL(rf_EO_110_CreateWriteDAG);
     55 RF_CREATE_DAG_FUNC_DECL(rf_EO_101_CreateWriteDAG);
     56 RF_CREATE_DAG_FUNC_DECL(rf_EO_DoubleDegRead);
     57 RF_CREATE_DAG_FUNC_DECL(rf_EOCreateSmallWriteDAG);
     58 RF_CREATE_DAG_FUNC_DECL(rf_EOCreateLargeWriteDAG);
     59 RF_CREATE_DAG_FUNC_DECL(rf_EO_200_CreateWriteDAG);
     60 
     61 #endif				/* !_RF__RF_EVENODD_DAGS_H_ */
     62