summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>2004-03-20 15:56:21 +0000
committeroster <oster@NetBSD.org>2004-03-20 15:56:21 +0000
commita7f8d0aef62cd8b4c0afeb0a19f440303f39b9a9 (patch)
tree59a4061dcee35320fdce47924d4d67e71bc899d1 /sys/dev/raidframe
parent11f75824d0f91f6654cc62c340a4ba04c0913a63 (diff)
[bah.. specifying rf_dagutils.c twice on a checkin doesn't get you
rf_dagutils.h... missed this one from yesterday. sorry folks :( ] Change signature of rf_AllocBuffer() to take a dag_h and buffer size instead of an PDA and an alloclist. This lets us do the vple dance inside of rf_AllocBuffer(). Cleanup usage of rf_AllocIOBuffer() and use rf_AllocBuffer() instead. Fix all uses of rf_AllocBuffer() to conform to the new way of doing things.
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_dagutils.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/raidframe/rf_dagutils.h b/sys/dev/raidframe/rf_dagutils.h
index 01af7b6b256..e730f6be84f 100644
--- a/sys/dev/raidframe/rf_dagutils.h
+++ b/sys/dev/raidframe/rf_dagutils.h
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_dagutils.h,v 1.13 2004/03/20 04:22:05 oster Exp $ */
+/* $NetBSD: rf_dagutils.h,v 1.14 2004/03/20 15:56:21 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -85,11 +85,7 @@ void rf_FreeDAGPCache(void *);
RF_FuncList_t *rf_AllocFuncList(void);
void rf_FreeFuncList(RF_FuncList_t *);
-
-
-void *rf_AllocBuffer(RF_Raid_t * raidPtr,
- RF_PhysDiskAddr_t * pda,
- RF_AllocListElem_t * allocList);
+void *rf_AllocBuffer(RF_Raid_t *, RF_DagHeader_t *, int);
void *rf_AllocIOBuffer(RF_Raid_t *, int);
void rf_FreeIOBuffer(RF_Raid_t *, void *);