Subject: CVS commit: src/sys/dev/raidframe
To: None <source-changes@NetBSD.org>
From: Greg Oster <oster@netbsd.org>
List: source-changes
Date: 01/07/2006 16:08:44
Module Name:	src
Committed By:	oster
Date:		Sat Jan  7 16:08:44 UTC 2006

Modified Files:
	src/sys/dev/raidframe: rf_netbsd.h rf_netbsdkintf.c

Log Message:
Remove the component buffer bits, now that I know there is a
"private" structure in struct buf that can be used to keep track of
the request associated with this buffer (the buffer used here is one
allocated from rf_CreateDiskQueueData(), so it's ours to do with what
we please).  Shrinks code a little, reduces the run-time memory
footprint a bit, and simplifies both rf_DispatchKernelIO() and
KernelWakeupFunc().

Thanks to yamt for his "why is rf_DispatchKernelIO using another buf"
question which prompted me to revisit this code.


To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 src/sys/dev/raidframe/rf_netbsd.h
cvs rdiff -r1.193 -r1.194 src/sys/dev/raidframe/rf_netbsdkintf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.