History log of /src/sys/dev/onewire/owtemp.c |
Revision | | Date | Author | Comments |
1.22 |
| 11-Dec-2023 |
mlelstv | Don't unregister envsys when not registered.
|
1.21 |
| 10-Oct-2023 |
kardel | PR kern/57088: add missing "onewire" link dependency
Thanks Lloyd for pointing me to this PR as I independently fixed the missing module functionality (and also missing the link dependency).
|
1.20 |
| 27-Aug-2023 |
kardel | make owtemp a module
|
1.19 |
| 30-Nov-2019 |
ad | Make owtemp reliable for me:
- Don't do the calculation if there is a CRC error. - If we get any kind of error during a refresh, retry up to three times. - Add event counters to report what's going on.
|
1.18 |
| 25-Oct-2019 |
martin | PR kern/54617: onewire(4):
- Alter locking strategy to avoid deadlock on detach. - Auto bus probe chews CPU. Increase interval from 3s to 10s. - Put temp sensor S/N in dev description so it can be identified. - Use mutex/condvar.
Patch from Andrew Doran.
|
1.17 |
| 14-May-2014 |
kardel | branches: 1.17.28; calculate extended precision as per DS1920/DS1820 data sheets
|
1.16 |
| 20-Jun-2011 |
pgoyette | branches: 1.16.12; 1.16.16; 1.16.26; Initialize sensor state before registering.
|
1.15 |
| 06-Dec-2009 |
dyoung | branches: 1.15.10; Simplify device-activation hooks.
|
1.14 |
| 05-May-2008 |
xtraeme | device_t/softc split and other related cosmetic changes.
|
1.13 |
| 08-Apr-2008 |
cegger | branches: 1.13.2; 1.13.4; use aprint_*_dev and device_xname
|
1.12 |
| 16-Nov-2007 |
xtraeme | branches: 1.12.14; Extend the envsys2 API (one more time, sorry) as defined in:
http://mail-index.netbsd.org/tech-kern/2007/11/09/0001.html
sysmon_envsys_create() and sysmon_envsys_destroy() were added to create/destroy sysmon_envsys objects (and its TAILQ/LIST for sensors/events).
sysmon_envsys_sensor_attach() and sysmon_envsys_sensor_detach() were added to attach/detach sensors to a specified sysmon_envsys device.
The events framework is now per device and configurable via the ENVSYS_SETDICTIONARY ioctl or /etc/envsys.conf and envstat(8).
Update all users and documentation to reflect these changes.
|
1.11 |
| 05-Sep-2007 |
xtraeme | branches: 1.11.4; 1.11.6; onewire_lock: remove the flags argument and change the return type to void. This function is not expected to return an int, because rw_enter() will always succeed.
|
1.10 |
| 13-Jul-2007 |
xtraeme | branches: 1.10.2; 1.10.6; 1.10.8; Forgot to set the description in the sensor.
|
1.9 |
| 04-Jul-2007 |
xtraeme | Set the state on sc->sc_sensor[0].state and not append it, envsys2 doesn't use bits for the state member.
|
1.8 |
| 04-Jul-2007 |
xtraeme | There's no need to set the "envsys-description" property in the driver's dictionary anymore, because with envsys2 you can change descriptions.
|
1.7 |
| 01-Jul-2007 |
xtraeme | Imported envsys 2, a brief description of the new features: (Part 2: drivers)
* Support for detachable sensors. * Cleaned up the API for simplicity and efficiency. * Ability to send capacity/critical/warning events to powerd(8). * Adapted all the code to the new locking order. * Compatibility with the old envsys API: the ENVSYS_GTREINFO and ENVSYS_GTREDATA ioctl(2)s are supported. * Added support for a 'dictionary based communication channel' between sysmon_power(9) and powerd(8), that means there is no 32 bytes event size restriction anymore. * Binary compatibility with old envstat(8) and powerd(8) via COMPAT_40. * All drivers with the n^2 gtredata bug were fixed, PR kern/36226.
Tested by:
blymn: smsc(4). bouyer: ipmi(4), mfi(4). kefren: ug(4). njoly: viaenv(4), adt7463.c. riz: owtemp(4). xtraeme: acpiacad(4), acpibat(4), acpitz(4), aiboost(4), it(4), lm(4).
|
1.6 |
| 16-Nov-2006 |
christos | branches: 1.6.8; 1.6.10; __unused removal on arguments; approved by core.
|
1.5 |
| 12-Oct-2006 |
christos | - sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
1.4 |
| 10-Jul-2006 |
thorpej | branches: 1.4.4; 1.4.6; 1.4.8; Put appropriate prefixes on property names to reduce chances of name collisions.
|
1.3 |
| 05-May-2006 |
thorpej | branches: 1.3.4; 1.3.6; 1.3.8; Remove the devprop API and switch everthing over to the new proplib. Add a new device_properties() accessor for device_t that returns the device's property dictionary.
|
1.2 |
| 07-Apr-2006 |
uwe | branches: 1.2.2; 1.2.4; 1.2.6; Add missing $ sign at the end of the NetBSD rcsid tag.
|
1.1 |
| 07-Apr-2006 |
riz | Dallas Semiconductor 1-Wire bus support, from OpenBSD. Currently includes gpioow(4), attaching a bit-banging driver via a GPIO pin. Also, owtemp(4) which supports some of the 1-Wire temperature sensors, including the DS18b20 and DS1920 - temperatures are returned via the envsys(4) framework.
Original drivers by Alexander Yurchenko (grange@openbsd), with envsys(4) support and a fix to the 1-wire search algorithm (for discovering devices on the bus) by me.
As discussed on tech-kern earlier this week.
|
1.2.6.3 |
| 01-Jun-2006 |
kardel | Sync with head.
|
1.2.6.2 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.2.6.1 |
| 07-Apr-2006 |
simonb | file owtemp.c was added on branch simonb-timecounters on 2006-04-22 11:39:13 +0000
|
1.2.4.3 |
| 11-May-2006 |
elad | sync with head
|
1.2.4.2 |
| 19-Apr-2006 |
elad | sync with head.
|
1.2.4.1 |
| 07-Apr-2006 |
elad | file owtemp.c was added on branch elad-kernelauth on 2006-04-19 03:25:33 +0000
|
1.2.2.4 |
| 11-Aug-2006 |
yamt | sync with head
|
1.2.2.3 |
| 24-May-2006 |
yamt | sync with head.
|
1.2.2.2 |
| 11-Apr-2006 |
yamt | sync with head
|
1.2.2.1 |
| 07-Apr-2006 |
yamt | file owtemp.c was added on branch yamt-pdpolicy on 2006-04-11 11:55:17 +0000
|
1.3.8.6 |
| 07-Dec-2007 |
yamt | sync with head
|
1.3.8.5 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.3.8.4 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.3.8.3 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.3.8.2 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.3.8.1 |
| 05-May-2006 |
yamt | file owtemp.c was added on branch yamt-lazymbuf on 2006-06-21 15:05:02 +0000
|
1.3.6.1 |
| 13-Jul-2006 |
gdamore | Merge from HEAD.
|
1.3.4.2 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
1.3.4.1 |
| 05-May-2006 |
tron | file owtemp.c was added on branch peter-altq on 2006-05-24 15:50:27 +0000
|
1.4.8.2 |
| 10-Dec-2006 |
yamt | sync with head.
|
1.4.8.1 |
| 22-Oct-2006 |
yamt | sync with head
|
1.4.6.2 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.4.6.1 |
| 10-Jul-2006 |
rpaulo | file owtemp.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:52:15 +0000
|
1.4.4.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.6.10.1 |
| 11-Jul-2007 |
mjf | Sync with head.
|
1.6.8.2 |
| 09-Oct-2007 |
ad | Sync with head.
|
1.6.8.1 |
| 15-Jul-2007 |
ad | Sync with head.
|
1.10.8.2 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.10.8.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.10.6.2 |
| 21-Nov-2007 |
joerg | Sync with HEAD.
|
1.10.6.1 |
| 02-Oct-2007 |
joerg | Sync with HEAD.
|
1.10.2.1 |
| 10-Sep-2007 |
skrll | Sync with HEAD.
|
1.11.6.1 |
| 19-Nov-2007 |
mjf | Sync with HEAD.
|
1.11.4.1 |
| 18-Nov-2007 |
bouyer | Sync with HEAD
|
1.12.14.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.13.4.2 |
| 11-Mar-2010 |
yamt | sync with head
|
1.13.4.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.13.2.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.15.10.1 |
| 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
1.16.26.1 |
| 10-Aug-2014 |
tls | Rebase.
|
1.16.16.1 |
| 18-May-2014 |
rmind | sync with head
|
1.16.12.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.17.28.1 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|