11.2Schristos/* $NetBSD: rf_configure.h,v 1.2 2017/11/20 19:10:45 christos Exp $ */ 21.1Soster/* 31.1Soster * Copyright (c) 1995 Carnegie-Mellon University. 41.1Soster * All rights reserved. 51.1Soster * 61.1Soster * Author: Mark Holland 71.1Soster * 81.1Soster * Permission to use, copy, modify and distribute this software and 91.1Soster * its documentation is hereby granted, provided that both the copyright 101.1Soster * notice and this permission notice appear in all copies of the 111.1Soster * software, derivative works or modified versions, and any portions 121.1Soster * thereof, and that both notices appear in supporting documentation. 131.1Soster * 141.1Soster * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 151.1Soster * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND 161.1Soster * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. 171.1Soster * 181.1Soster * Carnegie Mellon requests users of this software to return to 191.1Soster * 201.1Soster * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 211.1Soster * School of Computer Science 221.1Soster * Carnegie Mellon University 231.1Soster * Pittsburgh PA 15213-3890 241.1Soster * 251.1Soster * any improvements or extensions that they make and grant Carnegie the 261.1Soster * rights to redistribute these changes. 271.1Soster */ 281.1Soster 291.1Soster/******************************** 301.1Soster * 311.1Soster * rf_configure.h 321.1Soster * 331.1Soster * header file for raidframe configuration in the kernel version only. 341.1Soster * configuration is invoked via ioctl rather than at boot time 351.1Soster * 361.1Soster *******************************/ 371.1Soster 381.1Soster 391.1Soster#ifndef _RF__RF_CONFIGURE_H_ 401.1Soster#define _RF__RF_CONFIGURE_H_ 411.1Soster 421.1Soster#include <dev/raidframe/raidframevar.h> 431.1Soster 441.1Soster#include <sys/param.h> 451.1Soster#include <sys/proc.h> 461.1Soster#include <sys/ioctl.h> 471.1Soster 481.2Schristosint rf_MakeConfig(char *, RF_Config_t *); 491.2Schristosint rf_MakeLayoutSpecificNULL(FILE *, RF_Config_t *, void *); 501.2Schristosint rf_MakeLayoutSpecificDeclustered(FILE *, RF_Config_t *, void *); 511.2Schristosvoid *rf_ReadSpareTable(RF_SparetWait_t *, char *); 521.1Soster 531.2Schristos#endif /* !_RF__RF_CONFIGURE_H_ */ 54