summaryrefslogtreecommitdiff
path: root/sys/dev/ofw/ofdisk.c
AgeCommit message (Collapse)Author
2004-11-29knf/ansi. No binary change.Jonathan Gray
ok henning@
2004-02-15new arg to disk_unbusy, to record separate read/write statistics.Ted Unangst
looked at by various, testing henning@ mcbride@ dan weeks mostly from netbsd via Pedro Martelletto <pbastos@rdc.puc-rio.br>
2003-04-06strcat/strcpy/sprintf cleanup. krw@, anil@ ok. art@ tested sparc64.Hakan Olsson
2002-05-24More splbio around biodone protection.Artur Grabowski
In these drivers I'm probably using more paranoia than necessary. If you really need to squeeze out the last drop of performance from the fd driver, call me.
2002-03-14First round of __P removal in sysTodd C. Miller
1998-10-03Add a "spoofonly" argument to readdisklabel() which will be used toTodd C. Miller
implement an ioctl to get a spoofed label even for disks that have a label on them.
1997-11-07$OpenBSD$Niklas Hallqvist
1997-08-08Change the bounds_check_with_label API to also take a cpu_disklabelNiklas Hallqvist
reference for making transferral of meta-information possible from readdisklabel to bounds_check_with_label. The first (and maybe only) thing that will use this is the multi-disklabel-format code on the alpha where the labelsector is passed via cpu_disklabel so the label write-protection can work correctly no matter what label was found. Also use a new macro DKBAD to get at the dkbad field of the cpu_disklabel implementations that contain it. This too is for multi-disklabel architectures where the "bad" field can be inside a union. Use this macro as a means for a driver to check if an architecture supports dkbad constructs. Remove proto of bounds_check_with_label from all MD disklabel.h as it is in sys/disklabel.h. I have not been able to test the changes everywhere, if I break anything I apologize, and promise to fix it as soon as I become aware of it.
1996-12-23Import of Openfirmware device drivers for PowerPC port.Dale S. Rahn
From NetBSD, with modification to get current time in kernel.