Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-06-30 | Do not compile RAMDISK_SERVER functionnality by default if option SMALL_KERNEL; | Miod Vallat | |
saves roughly 512 bytes. | |||
2004-04-03 | Complete 'lp.d_' to 'lp->d_' changes started with r1.24 so that ramdisk_cd and | Kenneth R Westerback | |
friends compile again. ok tdeval@. | |||
2004-04-01 | Better bounds checking in strategy(), and kill the (unused) rd flags | Miod Vallat | |
while there. ok tdeval@ (long ago) | |||
2004-01-14 | Do not fill more than the first three fields of cfdriver structures unless | Miod Vallat | |
necessary. No functional change. | |||
2003-10-21 | typos from Tom Cosgrove; | Jason McIntyre | |
2003-04-19 | Some string cleanup: sprintf -> snprintf and magic numbers to sizeof | Kenneth R Westerback | |
(remember: d_[type|pack]name do not need terminating null). Take the opportunity to introduce some paranoia and check the device name lengths to make sure they fit, with appropriate errors if not. ok tedu@ tdeval@ | |||
2003-03-03 | Provide a functional d_psize() function for ramdisk block devices. | Miod Vallat | |
ok deraadt@ | |||
2002-05-23 | Protect biodone calls with splbio. | Artur Grabowski | |
2002-03-14 | First round of __P removal in sys | Todd C. Miller | |
2001-11-06 | Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary. | Miod Vallat | |
(Look ma, I might have broken the tree) | |||
2001-10-24 | Use macros from sys/disklabel.h instead of custom ones with slightly | Todd C. Miller | |
different (and thus confusing) semantics. | |||
2001-09-19 | merge vm/vm_kern.h into uvm/uvm_extern.h; art@ ok | Michael Shalayeff | |
2001-07-08 | Add missing call to minor() in RDLABELDEV macro. | Todd C. Miller | |
This only worked before by luck. Fixes floppy panic in -current. Thanks to krw@ for the DDB traceback, it helped ;-) | |||
2001-06-27 | zap old vm | Artur Grabowski | |
2001-05-16 | No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok) | Hakan Olsson | |
1999-11-16 | We don't need a prototype for kmem_alloc. | Artur Grabowski | |
1999-09-14 | vaddr_t/vsize_t | Michael Shalayeff | |
1999-02-26 | compatibility with uvm kmem allocators | Artur Grabowski | |
1998-10-03 | Add a "spoofonly" argument to readdisklabel() which will be used to | Todd C. Miller | |
implement an ioctl to get a spoofed label even for disks that have a label on them. | |||
1997-10-18 | avoid "no disklabel" error messages | Theo de Raadt | |
1997-02-06 | Changes to ramdisk driver to support disklabels. Work done by Theo. | Dale S. Rahn | |
This will require changes for each machine type. changes to MAKEDEV, suggest treating rd like sd --- sd*|vnd*|ccd*|rd*) ... rd*) name=rd; blk=17; chr=17;; --- Make certain that majors and minors are correct conf.c add a entry in cdevsw for rd (previously was only in bdev) --- cdev_decl(rd); ... struct cdevsw cdevsw[] = { ... cdev_disk_init(NRD,rd), /* 17 ram disk driver*/ --- other changes to how rdconfig is called may be appropriate, it must now be configured using the "raw" parition typically 'c'. | |||
1996-04-21 | partial sync with netbsd 960418, more to come | Theo de Raadt | |
1996-04-18 | NetBSD 960317 merge | Niklas Hallqvist | |
1996-01-12 | from 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-11-19 | from netbsd; get size of softc right | Theo de Raadt | |
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |