summaryrefslogtreecommitdiff
path: root/sys/dev/ofw
AgeCommit message (Collapse)Author
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.
1998-09-20Change openfirmware to not try to configure a device on sd or wdDale S. Rahn
disks if those drivers are in the kernel. This allows the use of ofdisk0 for floppy support. (until fd.c is supported).
1998-09-09fall back to openfirmware interrupt processing, might be overriddenDale S. Rahn
later by a real interrupt controller.
1998-08-22Allow ofroot to be child of mainbus or root.Dale S. Rahn
1998-06-28make the openfirmware clock reading routine compatible with theDale S. Rahn
"typical" hardware clock read routine.
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.