summaryrefslogtreecommitdiff
path: root/sys/kern/subr_autoconf.c
AgeCommit message (Expand)Author
2021-10-26Improve unhibernate performance (30% on some machines, another upcoming diffTheo de Raadt
2019-12-30convert infinite msleep(9) to msleep_nsec(9)Jonathan Gray
2018-12-05free(9) sizes for softcs.Martin Pieuchot
2016-03-14Change a bunch of (<blah> *)0 to NULL.Kenneth R Westerback
2015-12-20Simple free(9) sizes, from Matthieu <naabed AT poolp DOT org>.Martin Pieuchot
2015-12-11Replace mountroothook_establish(9) by config_mountroot(9) a narrower APIMartin Pieuchot
2015-09-11back out refcnt for dv_ref, there's too many hand crafted devices allDavid Gwynne
2015-09-11use refcnts for the device reference counts as an example of howDavid Gwynne
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-02-09you need atomic.h to do atomic things.David Gwynne
2015-02-09use atomic ops to increment and decrement the device ref count inDavid Gwynne
2015-01-22bring back r1.80:David Gwynne
2015-01-19back it out properlyTheo de Raadt
2015-01-19never tested with a make releaseTheo de Raadt
2015-01-19pass the size of the softc to free.David Gwynne
2014-09-18Introduce config_suspend_all(9) a function that invokes config_suspend(9)Mark Kettenis
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-07-13use mallocarray where arguments are multipled. ok deraadtTed Unangst
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-12Change config_deactivate(9) to always unset the DVF_ACTIVE flag soMartin Pieuchot
2014-03-29It's been a quarter century: we can assume volatile is present with that name.Philip Guenther
2014-03-13get rid of the assumption that the head of the alldevs list is theDavid Gwynne
2013-12-12printf(variable) --> printf("%s", variable)Philip Guenther
2013-12-06Add a DVACT_WAKEUP op to the *_activate() API. This is called after theTheo de Raadt
2013-11-29msgs can be constTheo de Raadt
2013-11-27get rid of the goop for maintaining multiple cftables since theresDavid Gwynne
2013-11-26compare pointers to NULLDavid Gwynne
2013-05-30Enforce ca_activate tree-walks over the entire heirarchy for all events,Theo de Raadt
2012-10-08Revamp the sequences for suspend/hibernate -> resume so that the codeTheo de Raadt
2011-07-03Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thingMatthew Dempsky
2011-06-20serialize attach and detach of device sub-trees -- only one deviceTheo de Raadt
2011-06-01Add a few KASSERTs to config_attach() for sanity to make sure we don'tMatthew Dempsky
2010-09-08remove a useless commentTheo de Raadt
2010-08-31Add DVACT_QUIECE support. This is called before splhigh() and beforeTheo de Raadt
2010-06-30Silence the activation debug reporting. We are starting to get worriedTheo de Raadt
2010-02-28Remove leftover debug printf in config_activate_children(); ok deraadtMiod Vallat
2009-11-23Make config_activate_children() more useable as a suspend-and-resumeTheo de Raadt
2009-11-22Add basic suspend/resume autoconf functionality.Paul Irofti
2009-10-13Get rid of devact enum, substitute it with an int and coresponding defines.Paul Irofti
2008-08-20Allow devices attaching at root (such as softraid) to be disabled in UKC.Miod Vallat
2007-11-23Since the devices that we detach may have children we cannot rely on theMark Kettenis
2007-10-29get rid of the unused cond_predicate_t typedef.David Gwynne
2007-09-07Use M_ZERO in a few more places to shave bytes from the kernel.Artur Grabowski
2007-05-30the (root) stuff is ugly, so print "at root", so it looks more likeTheo de Raadt
2007-05-15kill __HAVE_DEVICE_REGISTER by requiring all architectures to have aTheo de Raadt
2007-05-09evcnt_attach() is no longer used; ok miodTheo de Raadt
2006-05-28Remove device id from hotplug events.Michael Knudsen
2006-05-28more fallout from the sensors: Every single ramdisk got broken.Theo de Raadt
2006-05-28Include device id in hotplug events. This will be used by ntpd to checkMichael Knudsen
2006-05-17cf_unit should have a value between 0 and cd_ndevs. So set cf_unit to 0 whenKenneth R Westerback