Subject: CVS commit: syssrc
To: None <>
From: Nathan J Williams <>
List: source-changes
Date: 08/24/2000 23:04:30
Module Name:	syssrc
Committed By:	nathanw
Date:		Thu Aug 24 20:04:30 UTC 2000

Modified Files:
	syssrc/sys/arch/arm32/mainbus: fd.c
	syssrc/sys/arch/atari/dev: hdfd.c
	syssrc/sys/arch/sparc/dev: fd.c
	syssrc/sys/arch/sparc64/dev: fd.c
	syssrc/sys/arch/sun3/dev: fd.c
	syssrc/sys/dev/isa: fd.c

Log Message:
In fdioctl(), allocate fd_formb dynamically when needed, rather than on
the stack, and remove the no-longer-necessary PHOLD()/PRELE() calls
in fdformat().

(This eliminates 1/3 of the instances of PHOLD()/PRELE() in the kernel code.)

XXX We still have too many mostly-redundant floppy drivers.

To generate a diff of this commit:
cvs rdiff -r1.32 -r1.33 syssrc/sys/arch/arm32/mainbus/fd.c
cvs rdiff -r1.25 -r1.26 syssrc/sys/arch/atari/dev/hdfd.c
cvs rdiff -r1.84 -r1.85 syssrc/sys/arch/sparc/dev/fd.c
cvs rdiff -r1.17 -r1.18 syssrc/sys/arch/sparc64/dev/fd.c
cvs rdiff -r1.21 -r1.22 syssrc/sys/arch/sun3/dev/fd.c
cvs rdiff -r1.7 -r1.8 syssrc/sys/dev/isa/fd.c

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