From cb1bb8925af4114b0eb77814a1ca914f52d6549a Mon Sep 17 00:00:00 2001 From: oster Date: Sat, 13 Mar 2004 02:04:02 +0000 Subject: [PATCH] Cleanup function prototypes. --- sys/dev/raidframe/rf_driver.h | 42 +++++++++++++++-------------------- 1 file changed, 18 insertions(+), 24 deletions(-) diff --git a/sys/dev/raidframe/rf_driver.h b/sys/dev/raidframe/rf_driver.h index 8eef8c47a137..aec4272784a5 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.10 2004/03/13 02:00:15 oster Exp $ */ +/* $NetBSD: rf_driver.h,v 1.11 2004/03/13 02:04:02 oster Exp $ */ /* * rf_driver.h */ @@ -38,30 +38,24 @@ #include "rf_netbsd.h" RF_DECLARE_EXTERN_MUTEX(rf_printf_mutex) -int rf_BootRaidframe(void); -int rf_UnbootRaidframe(void); -int rf_Shutdown(RF_Raid_t * raidPtr); -int rf_Configure(RF_Raid_t * raidPtr, RF_Config_t * cfgPtr, - RF_AutoConfig_t *ac); -RF_RaidAccessDesc_t *rf_AllocRaidAccDesc(RF_Raid_t * raidPtr, RF_IoType_t type, - RF_RaidAddr_t raidAddress, - RF_SectorCount_t numBlocks, - caddr_t bufPtr, - void *bp, - RF_RaidAccessFlags_t flags, - RF_AccessState_t * states); -void rf_FreeRaidAccDesc(RF_RaidAccessDesc_t * desc); -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); +int rf_BootRaidframe(void); +int rf_UnbootRaidframe(void); +int rf_Shutdown(RF_Raid_t *); +int rf_Configure(RF_Raid_t *, RF_Config_t *, RF_AutoConfig_t *); +RF_RaidAccessDesc_t *rf_AllocRaidAccDesc(RF_Raid_t *, RF_IoType_t, + RF_RaidAddr_t, RF_SectorCount_t, + caddr_t, void *, + RF_RaidAccessFlags_t, + RF_AccessState_t *); +void rf_FreeRaidAccDesc(RF_RaidAccessDesc_t *); +int rf_DoAccess(RF_Raid_t *, RF_IoType_t, int, RF_RaidAddr_t, + RF_SectorCount_t, caddr_t, void *, RF_RaidAccessFlags_t); #if 0 -int rf_SetReconfiguredMode(RF_Raid_t * raidPtr, RF_RowCol_t row, - RF_RowCol_t col); +int rf_SetReconfiguredMode(RF_Raid_t *, RF_RowCol_t, RF_RowCol_t); #endif -int rf_FailDisk(RF_Raid_t * raidPtr, RF_RowCol_t fcol, int initRecon); -void rf_SignalQuiescenceLock(RF_Raid_t * raidPtr); -int rf_SuspendNewRequestsAndWait(RF_Raid_t * raidPtr); -void rf_ResumeNewRequests(RF_Raid_t * raidPtr); +int rf_FailDisk(RF_Raid_t *, RF_RowCol_t, int); +void rf_SignalQuiescenceLock(RF_Raid_t *); +int rf_SuspendNewRequestsAndWait(RF_Raid_t *); +void rf_ResumeNewRequests(RF_Raid_t *); #endif /* !_RF__RF_DRIVER_H_ */