summaryrefslogtreecommitdiff
path: root/sys/dev/ccd.c
AgeCommit message (Collapse)Author
1998-01-09Clear buffers on allocation, suggested by csapuntzNiklas Hallqvist
1998-01-07DOH! I managed to alloc 0 bytes always for the segment descriptors.Niklas Hallqvist
1997-12-15compile w/ DEBUGMichael Shalayeff
1997-12-12Make compile on systems where NBPG is not a constantNiklas Hallqvist
1997-11-26Optimized to perform well on small interleaves which makes the ccd driverNiklas Hallqvist
really useful as a performance booster. The interleave needs to be a multiple of the software page size (CLBYTES) and not have mirror components if the new optimized policy should be used, otherwise the old policy will be used still.
1997-11-06Updates for VFS Lite 2 + soft update.Constantine Sapuntzakis
1997-10-06back out vfs lite2 till after 2.2Theo de Raadt
1997-10-06VFS Lite2 ChangesConstantine Sapuntzakis
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.
1997-02-13Remove statics to ease DDB debuggingNiklas Hallqvist
1997-01-31off-by-one in partition indexing, netbsd pr#3161, kleink@layla.inka.deTheo de Raadt
1997-01-31if error, b_resid = b_bcountTheo de Raadt
1996-12-19netbsd fix to problem found by m4@nts.umn.eduTheo de Raadt
1996-05-10return an errorTheo de Raadt
1996-05-02no sys/cpu.hTheo de Raadt
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-04-19Fix according to the last changes.Michael Shalayeff
dev_conf.h deleted, longjmp proto changed.
1996-04-18NetBSD 960317 mergeNiklas Hallqvist
1996-03-02From NetBSD: sync with 960217 sourcesNiklas Hallqvist
1996-02-27From NetBSD: update to 960217 sourcesNiklas Hallqvist
1996-01-12from netbsd;Theo de Raadt
New generic disk framework. Highlights: New metrics handling. Metrics are now kept in the new `struct disk'. Busy time is now stored as a timeval, and transfer count in bytes. Storage for disklabels is now dynamically allocated, so that the size of the disk structure is not machine-dependent. Several new functions for attaching and detaching disks, and handling metrics calculation. Old-style instrumentation is still supported in drivers that did it before. However, old-style instrumentation is being deprecated, and will go away once the userland utilities are updated for the new framework. For usage and architectural details, see the forthcoming disk(9) manual page.
1995-12-14from netbsd:Theo de Raadt
Fix a race condition where if a process is asleep waiting on an exclusive lock of a ccd device while another process is unconfiguring that same device, the first process would never awaken (unless interrupted).
1995-12-08unconfiguring of ccd causes system panic; fix from gdonl@gv.ssi1.com; netbsd ↵Theo de Raadt
pr#1820
1995-11-06In ccdstart(), only translate the block number from partition-relativeTheo de Raadt
to absolute if part != RAW_PART.
1995-10-18initial import of NetBSD treeTheo de Raadt