summaryrefslogtreecommitdiffstats
path: root/sys/dev/onewire (follow)
Commit message (Collapse)AuthorAgeFilesLines
* onewire(4), owtemp(4): tsleep(9) -> tsleep_nsec(9); ok jca@cheloha2019-11-302-7/+7
|
* provide size to free(9)deraadt2017-04-031-2/+2
|
* simple size for free()deraadt2015-08-271-2/+2
|
* Remove some includes include-what-you-use claims don'tjsg2015-03-143-6/+3
| | | | | | | have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@
* remove uneeded proc.h includesjsg2014-09-145-10/+5
| | | | ok mpi@ kspillner@
* add a size argument to free. will be used soon, but for now default to 0.tedu2014-07-122-4/+4
| | | | after discussions with beck deraadt kettenis.
* simplify kthread_create(). no more stdargderaadt2013-11-181-2/+2
| | | | ok matthew guenther mikeb
* Fix various glitches in queue macro usage.guenther2013-04-101-4/+2
| | | | ok millert@
* Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thingmatthew2011-07-032-6/+2
| | | | | | | | that's ever used it, and it's long since been changed to use DVACT_{QUIESCE,SUSPEND,RESUME} instead. ok deraadt@, dlg@; miod@ also agreed with this idea when I brought it up a few weeks ago
* just use a buffer and make onewire_crc16() operate like onewire_crc()deraadt2010-07-193-57/+52
| | | | from j0@cox.net (author of owctr)
* - use nitems() where applicablejasper2010-07-084-12/+8
| | | | ok grange@
* tag itderaadt2010-07-071-0/+1
|
* one wire counter driver 2nd rev, from John L. Scarfone" <j0@cox.net> PR 6422deraadt2010-07-064-5/+325
| | | | ok miod
* fix a variety of uninit errors. ok and one correction deraadttedu2010-07-021-1/+2
|
* Get rid of devact enum, substitute it with an int and coresponding defines.pirofti2009-10-134-12/+12
| | | | | | This is needed for the addition of further suspend/resume actions. Okay deraadt@, marco@.
* Some casts to please format strings a little bit later onderaadt2009-06-021-4/+4
| | | | ok grange
* Unify error message.kettenis2009-01-261-2/+2
| | | | ok grange@, oga@, todd@
* Update copyright.grange2009-01-181-2/+2
|
* Add support for DS1822 to owtemp(4).grange2009-01-171-3/+5
|
* Remember the id of all devices found, not only those for which a drivermiod2009-01-021-10/+10
| | | | | | | has attached. Prevents spurious "not configured" messages at every bus rescan. Prodded by and ok fries@
* implement support for another temperature sensor, DS18B20todd2008-12-261-12/+23
| | | | | from David Fries david(at)fries(dot)net ok grange@
* put the serial number into the name of the devices (for sysctl), becausederaadt2008-10-253-3/+9
| | | | | | Joerg Goltermann has so many of them and has convinced me that he cannot tell them apart. ok grange cnst henning
* Allow a 1-Wire controller to request an immediate scan, and also to preventmiod2008-04-072-2/+15
| | | | | | | periodic scans. ok grange@ (until this gets replaced with a proper notification mechanism to avoid unnecessary bus polling).
* More device families, from Dallas datasheets.miod2008-02-231-2/+23
|
* Regenmiod2008-02-232-6/+48
|
* my brother, David Fries david at fries dot net, noticed that if you put yourtodd2007-11-281-2/+2
| | | | | | | | sensors in the freezer, they return negative results, making unsigned values bad to store negative numbers and then do math on. Another popular os had this same bug fixed by the same person. ok grange@
* MALLOC -> mallocgilles2007-10-091-4/+4
| | | | ok krw@
* rework sensor tasks to use the kernels generic workq rather than a specialdlg2007-06-242-6/+13
| | | | | | | | | kernel thread of its own. the api has changed (which will be fixed in the manpage shortly) so all the users of sensor tasks that i can find have been fixed too. noone tested, so its going in to force people to run with it. "put it in" deraadt@
* remove strings from sensor.desc which are now present in sysctl variable names; ok grange@cnst2007-06-011-2/+1
|
* remove strings from sensor.desc which are now present in sysctl variable names; ok grange@cnst2007-06-011-2/+1
|
* split userland & kernel struct sensor/sensordev so that the additionderaadt2007-03-223-12/+12
| | | | | | of new fields in the future is less disruptive. This is done similar to how struct proc is handled for ps(1). ok jmc (man page changes) tested fkr simon, and more suggestions from millert
* syncderaadt2007-02-282-2/+7
|
* place types needed by onewiredevs_data.h, directly into that file so that itderaadt2007-02-282-6/+9
| | | | is consumable by anyone who includes it (matches idea in pcidevs and usbdevs)
* Add Smart Battery Monitor device driver. Provided bygrange2007-02-282-1/+269
| | | | Aaron Linville <aaron@linville.org> in PR 5398.
* regengrange2007-02-282-4/+6
|
* Add DS2438 Smart Battery Monitor family.grange2007-02-281-1/+2
| | | | From: Aaron Linville <aaron@linville.org>.
* adapt to new two-level sensor api; Constantine A. Mureninderaadt2006-12-232-11/+14
|
* syncgrange2006-12-202-4/+6
|
* Add Java iButton mbalmer gave me at h2k6.grange2006-12-201-1/+2
|
* Implement high resolution temperature measuring.grange2006-12-201-4/+29
| | | | Based on the diff provided by aaron@linville.org in PR 5314.
* Rework bus scanning code so that most of work could be offloadedgrange2006-10-082-68/+93
| | | | the hardware. And fix another bug in the search algorithm.
* Don't reuse bus lock for locking sensor task thread. Use agrange2006-10-011-16/+8
| | | | separate lock.
* Protect sensor_task_unregister() with some locking.grange2006-10-011-1/+4
|
* Reduce max number of devices per bus to 16.grange2006-09-301-2/+2
|
* Allow to offload the match rom command to hardware.grange2006-09-302-2/+9
|
* Convert from using lockmgr to rwlock.grange2006-09-301-8/+8
|
* Extend bus master interface so that block read/write operationsgrange2006-09-292-21/+33
| | | | can be offloaded to hardware.
* Fix a nasty bug in the search algorithm, i was just lucky not to spot itgrange2006-08-031-7/+11
| | | | | before. Problem found and patch provided by Jeff Rizzo <riz@NetBSD.org> a long long time ago. Thanks!
* In a drivers activate() entry point, if on DVACT_DEACTIVATE it doesmiod2006-06-232-4/+4
| | | | | | something, then it MUST return zero on DVACT_ACTIVATE, not EOPNOTSUPP; this very popular bug has been cut and pasted a lot of times... ok deraadt@ mickey@
* syncgrange2006-03-101-2/+2
|