summaryrefslogtreecommitdiff
path: root/sys/dev/md.c
AgeCommit message (Expand)Author
2017-10-28Kill some more extern cfdriver xyz_cd in favour of #include "ioconf.h".riastradh
2016-07-27Don't mutex_exit() if we didn't mutex_enter().pgoyette
2016-07-27If we're going to check for a NULL pointer, do the check before wepgoyette
2016-01-04Notify disk subsystem of the current geometry.hannken
2015-08-20include "ioconf.h" to get the 'void <driver>attach(int count);' prototype.christos
2015-04-26Use C99-style initializers for struct dkdriver.mlelstv
2015-01-02We have three sets of DTYPE_ constants in the kernel:christos
2014-12-31make more drivers use disk_ioctl, and add a dev parameter to it so thatchristos
2014-07-25Add d_discard to all struct cdevsw instances I could find.dholland
2014-07-25Add d_discard to all struct bdevsw instances I could find.dholland
2014-03-16Change (mostly mechanically) every cdevsw/bdevsw I can find to usedholland
2014-03-13No need to detach (and return EBUSY) if dk_openmask is non-zero.hannken
2012-06-30Make sure that disklabel of md(4) device is initializedtsutsui
2010-11-25- Don't detach configured devices on last close.hannken
2010-11-23Make md(4) mp-safe.hannken
2010-11-22Don't have a COW (Compiler OW) in case there is no kernel_opt.pooka
2010-11-11Change md(4) to:hannken
2010-01-21Take care not to dereference a NULL softc.dyoung
2009-10-22Drop 3rd and 4th clauses. OK gwr@ leo@ (copyright holders).snj
2009-07-28Make mdopen() and mdclose() maintain the openmask. md_detach()dyoung
2009-05-19Add a detachment hook. Detach md(4) at shutdown.dyoung
2009-05-04TFTPROOT loads the RAMdisk through TFTP at boot time. It needs themanu
2009-01-13g/c BUFQ_FOO() macros and use bufq_foo() directly.yamt
2008-06-16more cleanup: the sc_dev backpointer is unused, remove itdrochner
2008-06-13register NULL pmf handlers. md(4) is supposed to not loose / change when resu...cegger
2008-06-13device_t/softc splitcegger
2008-06-11Replace the weird method to create instances by config_attach_pseudo()drochner
2008-04-09use aprint_*_dev and device_xnamecegger
2007-10-08Merge disk init changes from the vmlocking branch. These seperate init /ad
2007-07-29It's not a good idea for device drivers to modify b_flags, as they don'tad
2007-07-15Default MEMORY_DISK_SERVER to 1 instead of using 'undefined' to mean 1.dsl
2007-03-04Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.christos
2006-11-16__unused removal on arguments; approved by core.christos
2006-10-12- sprinkle __unused on function decls.christos
2006-09-02add missing initializerchristos
2006-03-28Use device_unit().thorpej
2005-12-11merge ktrace-lwp.christos
2005-10-15- change the way to specify a bufq strategy. (by string rather than by number)yamt
2005-04-01merge yamt-km branch.yamt
2005-02-27nuke trailing whitespaceperry
2004-10-28move buffer queue related stuffs from buf.h to their own header, bufq.h.yamt
2004-08-30Use ANSI function decls, sprinkle static.thorpej
2004-04-21kill sprintf, use snprintfitojun
2003-06-29Back out the lwp/ktrace changes. They contained a lot of colateral damage,fvdl
2003-06-28Pass lwp pointers throughtout the kernel, as required, so that the lwpid candarrenr
2003-05-13Use aprint_error() where appropriate.thorpej
2002-12-11Add /* MEMORY_DISK_SERVER */ comments to the #endifs to match the #ifdefs.atatat
2002-10-23merge kqueue branch into -currentjdolecek
2002-09-06Merge the gehenna-devsw branch into the trunk.gehenna
2002-07-21Rename bufq_init() to bufq_alloc().hannken