summaryrefslogtreecommitdiffstats
path: root/sys/dev/onewire
AgeCommit message (Collapse)AuthorFilesLines
2019-11-30onewire(4), owtemp(4): tsleep(9) -> tsleep_nsec(9); ok jca@cheloha2-7/+7
2017-04-03provide size to free(9)deraadt1-2/+2
2015-08-27simple size for free()deraadt1-2/+2
2015-03-14Remove some includes include-what-you-use claims don'tjsg3-6/+3
have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@
2014-09-14remove uneeded proc.h includesjsg5-10/+5
ok mpi@ kspillner@
2014-07-12add a size argument to free. will be used soon, but for now default to 0.tedu2-4/+4
after discussions with beck deraadt kettenis.
2013-11-18simplify kthread_create(). no more stdargderaadt1-2/+2
ok matthew guenther mikeb
2013-04-10Fix various glitches in queue macro usage.guenther1-4/+2
ok millert@
2011-07-03Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thingmatthew2-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
2010-07-19just use a buffer and make onewire_crc16() operate like onewire_crc()deraadt3-57/+52
from j0@cox.net (author of owctr)
2010-07-08- use nitems() where applicablejasper4-12/+8
ok grange@
2010-07-07tag itderaadt1-0/+1
2010-07-06one wire counter driver 2nd rev, from John L. Scarfone" <j0@cox.net> PR 6422deraadt4-5/+325
ok miod
2010-07-02fix a variety of uninit errors. ok and one correction deraadttedu1-1/+2
2009-10-13Get rid of devact enum, substitute it with an int and coresponding defines.pirofti4-12/+12
This is needed for the addition of further suspend/resume actions. Okay deraadt@, marco@.
2009-06-02Some casts to please format strings a little bit later onderaadt1-4/+4
ok grange
2009-01-26Unify error message.kettenis1-2/+2
ok grange@, oga@, todd@
2009-01-18Update copyright.grange1-2/+2
2009-01-17Add support for DS1822 to owtemp(4).grange1-3/+5
2009-01-02Remember the id of all devices found, not only those for which a drivermiod1-10/+10
has attached. Prevents spurious "not configured" messages at every bus rescan. Prodded by and ok fries@
2008-12-26implement support for another temperature sensor, DS18B20todd1-12/+23
from David Fries david(at)fries(dot)net ok grange@
2008-10-25put the serial number into the name of the devices (for sysctl), becausederaadt3-3/+9
Joerg Goltermann has so many of them and has convinced me that he cannot tell them apart. ok grange cnst henning
2008-04-07Allow a 1-Wire controller to request an immediate scan, and also to preventmiod2-2/+15
periodic scans. ok grange@ (until this gets replaced with a proper notification mechanism to avoid unnecessary bus polling).
2008-02-23More device families, from Dallas datasheets.miod1-2/+23
2008-02-23Regenmiod2-6/+48
2007-11-28my brother, David Fries david at fries dot net, noticed that if you put yourtodd1-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@
2007-10-09MALLOC -> mallocgilles1-4/+4
ok krw@
2007-06-24rework sensor tasks to use the kernels generic workq rather than a specialdlg2-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@
2007-06-01remove strings from sensor.desc which are now present in sysctl variable names; ok grange@cnst1-2/+1
2007-06-01remove strings from sensor.desc which are now present in sysctl variable names; ok grange@cnst1-2/+1
2007-03-22split userland & kernel struct sensor/sensordev so that the additionderaadt3-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
2007-02-28syncderaadt2-2/+7
2007-02-28place types needed by onewiredevs_data.h, directly into that file so that itderaadt2-6/+9
is consumable by anyone who includes it (matches idea in pcidevs and usbdevs)
2007-02-28Add Smart Battery Monitor device driver. Provided bygrange2-1/+269
Aaron Linville <aaron@linville.org> in PR 5398.
2007-02-28regengrange2-4/+6
2007-02-28Add DS2438 Smart Battery Monitor family.grange1-1/+2
From: Aaron Linville <aaron@linville.org>.
2006-12-23adapt to new two-level sensor api; Constantine A. Mureninderaadt2-11/+14
2006-12-20syncgrange2-4/+6
2006-12-20Add Java iButton mbalmer gave me at h2k6.grange1-1/+2
2006-12-20Implement high resolution temperature measuring.grange1-4/+29
Based on the diff provided by aaron@linville.org in PR 5314.
2006-10-08Rework bus scanning code so that most of work could be offloadedgrange2-68/+93
the hardware. And fix another bug in the search algorithm.
2006-10-01Don't reuse bus lock for locking sensor task thread. Use agrange1-16/+8
separate lock.
2006-10-01Protect sensor_task_unregister() with some locking.grange1-1/+4
2006-09-30Reduce max number of devices per bus to 16.grange1-2/+2
2006-09-30Allow to offload the match rom command to hardware.grange2-2/+9
2006-09-30Convert from using lockmgr to rwlock.grange1-8/+8
2006-09-29Extend bus master interface so that block read/write operationsgrange2-21/+33
can be offloaded to hardware.
2006-08-03Fix a nasty bug in the search algorithm, i was just lucky not to spot itgrange1-7/+11
before. Problem found and patch provided by Jeff Rizzo <riz@NetBSD.org> a long long time ago. Thanks!
2006-06-23In a drivers activate() entry point, if on DVACT_DEACTIVATE it doesmiod2-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@
2006-03-10syncgrange1-2/+2