Home | History | Annotate | only in /src/sys/dev/onewire
History log of /src/sys/dev/onewire
RevisionDateAuthorComments
 1.2 19-Oct-2008  apb Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
 1.1 07-Apr-2006  riz branches: 1.1.2; 1.1.4; 1.1.6; 1.1.10; 1.1.14; 1.1.20; 1.1.70; 1.1.74; 1.1.80;
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.1.80.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.1.74.1 04-May-2009  yamt sync with head.
 1.1.70.1 17-Jan-2009  mjf Sync with HEAD.
 1.1.20.2 09-Sep-2006  rpaulo sync with head
 1.1.20.1 07-Apr-2006  rpaulo file Makefile.onewiredevs was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:52:15 +0000
 1.1.14.2 21-Jun-2006  yamt sync with head.
 1.1.14.1 07-Apr-2006  yamt file Makefile.onewiredevs was added on branch yamt-lazymbuf on 2006-06-21 15:05:02 +0000
 1.1.10.2 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.1.10.1 07-Apr-2006  tron file Makefile.onewiredevs was added on branch peter-altq on 2006-05-24 15:50:27 +0000
 1.1.6.2 22-Apr-2006  simonb Sync with head.
 1.1.6.1 07-Apr-2006  simonb file Makefile.onewiredevs was added on branch simonb-timecounters on 2006-04-22 11:39:13 +0000
 1.1.4.2 19-Apr-2006  elad sync with head.
 1.1.4.1 07-Apr-2006  elad file Makefile.onewiredevs was added on branch elad-kernelauth on 2006-04-19 03:25:33 +0000
 1.1.2.2 11-Apr-2006  yamt sync with head
 1.1.2.1 07-Apr-2006  yamt file Makefile.onewiredevs was added on branch yamt-pdpolicy on 2006-04-11 11:55:17 +0000
 1.1 07-Apr-2006  riz branches: 1.1.2; 1.1.4; 1.1.6; 1.1.10; 1.1.14; 1.1.20;
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.1.20.2 09-Sep-2006  rpaulo sync with head
 1.1.20.1 07-Apr-2006  rpaulo file devlist2h.awk was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:52:15 +0000
 1.1.14.2 21-Jun-2006  yamt sync with head.
 1.1.14.1 07-Apr-2006  yamt file devlist2h.awk was added on branch yamt-lazymbuf on 2006-06-21 15:05:02 +0000
 1.1.10.2 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.1.10.1 07-Apr-2006  tron file devlist2h.awk was added on branch peter-altq on 2006-05-24 15:50:27 +0000
 1.1.6.2 22-Apr-2006  simonb Sync with head.
 1.1.6.1 07-Apr-2006  simonb file devlist2h.awk was added on branch simonb-timecounters on 2006-04-22 11:39:13 +0000
 1.1.4.2 19-Apr-2006  elad sync with head.
 1.1.4.1 07-Apr-2006  elad file devlist2h.awk was added on branch elad-kernelauth on 2006-04-19 03:25:33 +0000
 1.1.2.2 11-Apr-2006  yamt sync with head
 1.1.2.1 07-Apr-2006  yamt file devlist2h.awk was added on branch yamt-pdpolicy on 2006-04-11 11:55:17 +0000
 1.2 15-Sep-2025  thorpej Encapsulate what's needed to attach an I2C bus into a iicbus_attach()
inline.
 1.1 23-Jan-2025  brad branches: 1.1.4;


A driver for the DS28E17 1-Wire to I2C bridge chip.

This chip acts like a 1-Wire slave device and provides a iic(4) master
at the end of the 1-Wire bus. More or less it is the polar opposite
of the DS2482 [ds2482ow(4)] chip.

This device couples well with ds2482ow(4) and can be used to provide a
I2C bus at very great lengths from the controlling computer.

All features of the chip are supported, except for 1-Wire overdrive
support, which requires more work from the onewire(4) infrastructure.

The chip does not support Read without Stop. Attempts to do this will
get turned into a Read with Stop and one will have to hope for the
best. The chip also does not support zero length I2C reads or zero
length I2C writes. This has the side effect of making the default
mode, a zero length I2C write, for i2scan(8) return false positives.
The alternative mode that i2cscan(8) can use, the single byte read,
should work as expected.

The chip has automatic support for end devices that do I2C clock
stretching.

It was noticed that this chip does not work with the gpioow(4) driver.
That might be an interesting thing to debug if one has a good logic
analyzer on hand. While the presence pulse is detected, the gpioow(4)
driver is not able to complete the initial ROM enumeration. The
DS28E17 works flawlessly when driven by a DS2482 [ds2482ow(4)] driver
chip. Poke me if you want any more details.

The chip is pretty inexpensive and only requires a single cap to get
it hooked up. However, the package it comes in is only a 16-QFN
package, so it could provide to be hard to solider onto a board for
some. There are side tabs, so it was possible with a very small iron
and lots of flux. There is a slightly expensive breakout board sold
by Mikroe that probably works well -> https://www.mikroe.com/1-wire-i2c-click
 1.1.4.2 02-Aug-2025  perseant Sync with HEAD
 1.1.4.1 23-Jan-2025  perseant file ds28e17iic.c was added on branch perseant-exfatfs on 2025-08-02 05:56:44 +0000
 1.1 23-Jan-2025  brad branches: 1.1.4;


A driver for the DS28E17 1-Wire to I2C bridge chip.

This chip acts like a 1-Wire slave device and provides a iic(4) master
at the end of the 1-Wire bus. More or less it is the polar opposite
of the DS2482 [ds2482ow(4)] chip.

This device couples well with ds2482ow(4) and can be used to provide a
I2C bus at very great lengths from the controlling computer.

All features of the chip are supported, except for 1-Wire overdrive
support, which requires more work from the onewire(4) infrastructure.

The chip does not support Read without Stop. Attempts to do this will
get turned into a Read with Stop and one will have to hope for the
best. The chip also does not support zero length I2C reads or zero
length I2C writes. This has the side effect of making the default
mode, a zero length I2C write, for i2scan(8) return false positives.
The alternative mode that i2cscan(8) can use, the single byte read,
should work as expected.

The chip has automatic support for end devices that do I2C clock
stretching.

It was noticed that this chip does not work with the gpioow(4) driver.
That might be an interesting thing to debug if one has a good logic
analyzer on hand. While the presence pulse is detected, the gpioow(4)
driver is not able to complete the initial ROM enumeration. The
DS28E17 works flawlessly when driven by a DS2482 [ds2482ow(4)] driver
chip. Poke me if you want any more details.

The chip is pretty inexpensive and only requires a single cap to get
it hooked up. However, the package it comes in is only a 16-QFN
package, so it could provide to be hard to solider onto a board for
some. There are side tabs, so it was possible with a very small iron
and lots of flux. There is a slightly expensive breakout board sold
by Mikroe that probably works well -> https://www.mikroe.com/1-wire-i2c-click
 1.1.4.2 02-Aug-2025  perseant Sync with HEAD
 1.1.4.1 23-Jan-2025  perseant file ds28e17iicreg.h was added on branch perseant-exfatfs on 2025-08-02 05:56:44 +0000
 1.1 23-Jan-2025  brad branches: 1.1.4;


A driver for the DS28E17 1-Wire to I2C bridge chip.

This chip acts like a 1-Wire slave device and provides a iic(4) master
at the end of the 1-Wire bus. More or less it is the polar opposite
of the DS2482 [ds2482ow(4)] chip.

This device couples well with ds2482ow(4) and can be used to provide a
I2C bus at very great lengths from the controlling computer.

All features of the chip are supported, except for 1-Wire overdrive
support, which requires more work from the onewire(4) infrastructure.

The chip does not support Read without Stop. Attempts to do this will
get turned into a Read with Stop and one will have to hope for the
best. The chip also does not support zero length I2C reads or zero
length I2C writes. This has the side effect of making the default
mode, a zero length I2C write, for i2scan(8) return false positives.
The alternative mode that i2cscan(8) can use, the single byte read,
should work as expected.

The chip has automatic support for end devices that do I2C clock
stretching.

It was noticed that this chip does not work with the gpioow(4) driver.
That might be an interesting thing to debug if one has a good logic
analyzer on hand. While the presence pulse is detected, the gpioow(4)
driver is not able to complete the initial ROM enumeration. The
DS28E17 works flawlessly when driven by a DS2482 [ds2482ow(4)] driver
chip. Poke me if you want any more details.

The chip is pretty inexpensive and only requires a single cap to get
it hooked up. However, the package it comes in is only a 16-QFN
package, so it could provide to be hard to solider onto a board for
some. There are side tabs, so it was possible with a very small iron
and lots of flux. There is a slightly expensive breakout board sold
by Mikroe that probably works well -> https://www.mikroe.com/1-wire-i2c-click
 1.1.4.2 02-Aug-2025  perseant Sync with HEAD
 1.1.4.1 23-Jan-2025  perseant file ds28e17iicvar.h was added on branch perseant-exfatfs on 2025-08-02 05:56:44 +0000
 1.6 23-Jan-2025  brad A driver for the DS28E17 1-Wire to I2C bridge chip.

This chip acts like a 1-Wire slave device and provides a iic(4) master
at the end of the 1-Wire bus. More or less it is the polar opposite
of the DS2482 [ds2482ow(4)] chip.

This device couples well with ds2482ow(4) and can be used to provide a
I2C bus at very great lengths from the controlling computer.

All features of the chip are supported, except for 1-Wire overdrive
support, which requires more work from the onewire(4) infrastructure.

The chip does not support Read without Stop. Attempts to do this will
get turned into a Read with Stop and one will have to hope for the
best. The chip also does not support zero length I2C reads or zero
length I2C writes. This has the side effect of making the default
mode, a zero length I2C write, for i2scan(8) return false positives.
The alternative mode that i2cscan(8) can use, the single byte read,
should work as expected.

The chip has automatic support for end devices that do I2C clock
stretching.

It was noticed that this chip does not work with the gpioow(4) driver.
That might be an interesting thing to debug if one has a good logic
analyzer on hand. While the presence pulse is detected, the gpioow(4)
driver is not able to complete the initial ROM enumeration. The
DS28E17 works flawlessly when driven by a DS2482 [ds2482ow(4)] driver
chip. Poke me if you want any more details.

The chip is pretty inexpensive and only requires a single cap to get
it hooked up. However, the package it comes in is only a 16-QFN
package, so it could provide to be hard to solider onto a board for
some. There are side tabs, so it was possible with a very small iron
and lots of flux. There is a slightly expensive breakout board sold
by Mikroe that probably works well -> https://www.mikroe.com/1-wire-i2c-click
 1.5 14-Apr-2020  macallan branches: 1.5.26;
defflag ONEWIRE_DEBUG
 1.4 14-Apr-2020  macallan add 'driver' for DS2430A EEPROMs which simply dumps the chip's contents and
status register
 1.3 14-Apr-2006  riz branches: 1.3.2; 1.3.4; 1.3.8; 1.3.12; 1.3.18; 1.3.162; 1.3.174;
Fix some RCS IDs, and the comments including them.
 1.2 08-Apr-2006  riz branches: 1.2.2;
Add NetBSD RCSIDs
 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.2.3 24-May-2006  yamt sync with head.
 1.2.2.2 11-Apr-2006  yamt sync with head
 1.2.2.1 08-Apr-2006  yamt file files.onewire was added on branch yamt-pdpolicy on 2006-04-11 11:55:17 +0000
 1.3.174.1 20-Apr-2020  bouyer Sync with HEAD
 1.3.162.1 21-Apr-2020  martin Sync with HEAD
 1.3.18.2 09-Sep-2006  rpaulo sync with head
 1.3.18.1 14-Apr-2006  rpaulo file files.onewire was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:52:15 +0000
 1.3.12.2 21-Jun-2006  yamt sync with head.
 1.3.12.1 14-Apr-2006  yamt file files.onewire was added on branch yamt-lazymbuf on 2006-06-21 15:05:02 +0000
 1.3.8.2 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.3.8.1 14-Apr-2006  tron file files.onewire was added on branch peter-altq on 2006-05-24 15:50:27 +0000
 1.3.4.2 22-Apr-2006  simonb Sync with head.
 1.3.4.1 14-Apr-2006  simonb file files.onewire was added on branch simonb-timecounters on 2006-04-22 11:39:13 +0000
 1.3.2.2 19-Apr-2006  elad sync with head.
 1.3.2.1 14-Apr-2006  elad file files.onewire was added on branch elad-kernelauth on 2006-04-19 03:25:33 +0000
 1.5.26.1 02-Aug-2025  perseant Sync with HEAD
 1.22 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.21 24-Apr-2021  thorpej branches: 1.21.8;
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.20 14-Apr-2020  kre branches: 1.20.4;

Only include opt_xxx.h headers when _KERNEL_OPT is defined.
 1.19 14-Apr-2020  macallan defflag ONEWIRE_DEBUG
 1.18 30-Nov-2019  ad branches: 1.18.6;
onewire:

- Re-do the signalling to be a little more forgiving and efficient.
- If bus reset fails during probe, try a second time.
- Spread out kernel threads for many busses to avoid thundering herd effect.
 1.17 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.16 25-Jul-2014  dholland branches: 1.16.18; 1.16.28;
Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.
 1.15 16-Mar-2014  dholland branches: 1.15.2;
Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.
 1.14 31-Aug-2011  mbalmer branches: 1.14.2; 1.14.12; 1.14.16;
Add glue code to build as module.
 1.13 06-Dec-2009  dyoung Simplify device-activation hooks.
 1.12 12-May-2009  cegger struct device * -> device_t, no functional changes intended.
 1.11 18-Mar-2009  cegger bzero -> memset
 1.10 17-Dec-2008  cegger branches: 1.10.2;
kill MALLOC and FREE macros.
 1.9 05-May-2008  xtraeme branches: 1.9.8;
device_t/softc split and other related cosmetic changes.
 1.8 08-Apr-2008  cegger branches: 1.8.2; 1.8.4;
use aprint_*_dev and device_xname
 1.7 05-Sep-2007  xtraeme branches: 1.7.20;
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.6 02-Sep-2007  xtraeme Convert onewire(4) to use rwlock(9) rather than lockmgr(9).
 1.5 09-Jul-2007  ad branches: 1.5.2; 1.5.6; 1.5.8;
Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
 1.4 16-Nov-2006  christos branches: 1.4.8; 1.4.10;
__unused removal on arguments; approved by core.
 1.3 12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.2 03-Sep-2006  christos branches: 1.2.2; 1.2.4; 1.2.6;
add missing initializer.
 1.1 07-Apr-2006  riz branches: 1.1.2; 1.1.4; 1.1.6; 1.1.10; 1.1.14;
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.1.14.5 27-Oct-2007  yamt sync with head.
 1.1.14.4 03-Sep-2007  yamt sync with head.
 1.1.14.3 30-Dec-2006  yamt sync with head.
 1.1.14.2 21-Jun-2006  yamt sync with head.
 1.1.14.1 07-Apr-2006  yamt file onewire.c was added on branch yamt-lazymbuf on 2006-06-21 15:05:02 +0000
 1.1.10.2 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.1.10.1 07-Apr-2006  tron file onewire.c was added on branch peter-altq on 2006-05-24 15:50:27 +0000
 1.1.6.2 22-Apr-2006  simonb Sync with head.
 1.1.6.1 07-Apr-2006  simonb file onewire.c was added on branch simonb-timecounters on 2006-04-22 11:39:13 +0000
 1.1.4.2 19-Apr-2006  elad sync with head.
 1.1.4.1 07-Apr-2006  elad file onewire.c was added on branch elad-kernelauth on 2006-04-19 03:25:33 +0000
 1.1.2.3 14-Sep-2006  yamt sync with head.
 1.1.2.2 11-Apr-2006  yamt sync with head
 1.1.2.1 07-Apr-2006  yamt file onewire.c was added on branch yamt-pdpolicy on 2006-04-11 11:55:17 +0000
 1.2.6.2 10-Dec-2006  yamt sync with head.
 1.2.6.1 22-Oct-2006  yamt sync with head
 1.2.4.2 09-Sep-2006  rpaulo sync with head
 1.2.4.1 03-Sep-2006  rpaulo file onewire.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:52:15 +0000
 1.2.2.1 18-Nov-2006  ad Sync with head.
 1.4.10.1 11-Jul-2007  mjf Sync with head.
 1.4.8.4 09-Oct-2007  ad Sync with head.
 1.4.8.3 13-May-2007  ad - Pass the error number and residual count to biodone(), and let it handle
setting error indicators. Prepare to eliminate B_ERROR.
- Add a flag argument to brelse() to be set into the buf's flags, instead
of doing it directly. Typically used to set B_INVAL.
- Add a "struct cpu_info *" argument to kthread_create(), to be used to
create bound threads. Change "bool mpsafe" to "int flags".
- Allow exit of LWPs in the IDL state when (l != curlwp).
- More locking fixes & conversion to the new API.
 1.4.8.2 10-Apr-2007  ad Nuke the deferred kthread creation stuff, as it's no longer needed.
Pointed out by thorpej@.
 1.4.8.1 09-Apr-2007  ad - Add two new arguments to kthread_create1: pri_t pri, bool mpsafe.
- Fork kthreads off proc0 as new LWPs, not new processes.
 1.5.8.1 06-Nov-2007  matt sync with HEAD
 1.5.6.2 02-Oct-2007  joerg Sync with HEAD.
 1.5.6.1 03-Sep-2007  jmcneill Sync with HEAD.
 1.5.2.2 10-Sep-2007  skrll Sync with HEAD.
 1.5.2.1 03-Sep-2007  skrll Sync with HEAD.
 1.7.20.2 17-Jan-2009  mjf Sync with HEAD.
 1.7.20.1 02-Jun-2008  mjf Sync with HEAD.
 1.8.4.4 11-Mar-2010  yamt sync with head
 1.8.4.3 16-May-2009  yamt sync with head
 1.8.4.2 04-May-2009  yamt sync with head.
 1.8.4.1 16-May-2008  yamt sync with head.
 1.8.2.1 18-May-2008  yamt sync with head.
 1.9.8.2 28-Apr-2009  skrll Sync with HEAD.
 1.9.8.1 19-Jan-2009  skrll Sync with HEAD.
 1.10.2.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.14.16.1 18-May-2014  rmind sync with head
 1.14.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.14.2.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.15.2.1 10-Aug-2014  tls Rebase.
 1.16.28.2 21-Apr-2020  martin Sync with HEAD
 1.16.28.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.16.18.2 29-Apr-2017  pgoyette Revise previous. Rather than explicitly including <sys/localcount.h>
in all the places where {b,c}devsw is initialized, just include it
from <sys/conf.h>. This avoids an include-sequence dependancy.
 1.16.18.1 29-Apr-2017  pgoyette Add DEVSW_MODULE_INIT to existing device-driver modules, so that they
willl have a localcount defined and thus be permitted to load. Without
a localcount, loading the module will return EINVAL.

XXX the dtrace and drm stuff might need to be fed back upstream?
 1.18.6.1 20-Apr-2020  bouyer Sync with HEAD
 1.20.4.1 21-Mar-2021  thorpej Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
 1.21.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.2 30-Nov-2019  ad onewire:

- Re-do the signalling to be a little more forgiving and efficient.
- If bus reset fails during probe, try a second time.
- Spread out kernel threads for many busses to avoid thundering herd effect.
 1.1 07-Apr-2006  riz branches: 1.1.2; 1.1.4; 1.1.6; 1.1.10; 1.1.14; 1.1.20; 1.1.164;
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.1.164.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.1.20.2 09-Sep-2006  rpaulo sync with head
 1.1.20.1 07-Apr-2006  rpaulo file onewire_bitbang.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:52:15 +0000
 1.1.14.2 21-Jun-2006  yamt sync with head.
 1.1.14.1 07-Apr-2006  yamt file onewire_bitbang.c was added on branch yamt-lazymbuf on 2006-06-21 15:05:02 +0000
 1.1.10.2 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.1.10.1 07-Apr-2006  tron file onewire_bitbang.c was added on branch peter-altq on 2006-05-24 15:50:27 +0000
 1.1.6.2 22-Apr-2006  simonb Sync with head.
 1.1.6.1 07-Apr-2006  simonb file onewire_bitbang.c was added on branch simonb-timecounters on 2006-04-22 11:39:13 +0000
 1.1.4.2 19-Apr-2006  elad sync with head.
 1.1.4.1 07-Apr-2006  elad file onewire_bitbang.c was added on branch elad-kernelauth on 2006-04-19 03:25:33 +0000
 1.1.2.2 11-Apr-2006  yamt sync with head
 1.1.2.1 07-Apr-2006  yamt file onewire_bitbang.c was added on branch yamt-pdpolicy on 2006-04-11 11:55:17 +0000
 1.6 11-Dec-2007  lukem use __KERNEL_RCSID()
 1.5 16-Nov-2006  christos branches: 1.5.24; 1.5.34; 1.5.36; 1.5.38;
__unused removal on arguments; approved by core.
 1.4 12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.3 14-Apr-2006  riz branches: 1.3.2; 1.3.4; 1.3.8; 1.3.12; 1.3.16; 1.3.18; 1.3.20;
Fix some RCS IDs, and the comments including them.
 1.2 08-Apr-2006  riz branches: 1.2.2;
Add NetBSD RCSIDs
 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.2.3 24-May-2006  yamt sync with head.
 1.2.2.2 11-Apr-2006  yamt sync with head
 1.2.2.1 08-Apr-2006  yamt file onewire_subr.c was added on branch yamt-pdpolicy on 2006-04-11 11:55:17 +0000
 1.3.20.2 10-Dec-2006  yamt sync with head.
 1.3.20.1 22-Oct-2006  yamt sync with head
 1.3.18.2 09-Sep-2006  rpaulo sync with head
 1.3.18.1 14-Apr-2006  rpaulo file onewire_subr.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:52:15 +0000
 1.3.16.1 18-Nov-2006  ad Sync with head.
 1.3.12.3 21-Jan-2008  yamt sync with head
 1.3.12.2 21-Jun-2006  yamt sync with head.
 1.3.12.1 14-Apr-2006  yamt file onewire_subr.c was added on branch yamt-lazymbuf on 2006-06-21 15:05:02 +0000
 1.3.8.2 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.3.8.1 14-Apr-2006  tron file onewire_subr.c was added on branch peter-altq on 2006-05-24 15:50:27 +0000
 1.3.4.2 22-Apr-2006  simonb Sync with head.
 1.3.4.1 14-Apr-2006  simonb file onewire_subr.c was added on branch simonb-timecounters on 2006-04-22 11:39:13 +0000
 1.3.2.2 19-Apr-2006  elad sync with head.
 1.3.2.1 14-Apr-2006  elad file onewire_subr.c was added on branch elad-kernelauth on 2006-04-19 03:25:33 +0000
 1.5.38.1 13-Dec-2007  bouyer Sync with HEAD
 1.5.36.1 11-Dec-2007  yamt sync with head.
 1.5.34.1 26-Dec-2007  ad Sync with head.
 1.5.24.1 09-Jan-2008  matt sync with HEAD
 1.4 19-Jan-2025  brad Add DS28E17 1-Wire to I2C bridge chip
 1.3 14-Apr-2020  macallan branches: 1.3.26;
add family 0x14 for DS2430A EEPROMs
 1.2 21-Jan-2009  jnemeth branches: 1.2.66; 1.2.78;
add a comment explaining how to regenerate onewiredevs.h and onewiredevs_data.h
 1.1 07-Apr-2006  riz branches: 1.1.2; 1.1.4; 1.1.6; 1.1.10; 1.1.14; 1.1.20; 1.1.74; 1.1.84;
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.1.84.1 03-Mar-2009  skrll Sync with HEAD.
 1.1.74.1 04-May-2009  yamt sync with head.
 1.1.20.2 09-Sep-2006  rpaulo sync with head
 1.1.20.1 07-Apr-2006  rpaulo file onewiredevs was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:52:15 +0000
 1.1.14.2 21-Jun-2006  yamt sync with head.
 1.1.14.1 07-Apr-2006  yamt file onewiredevs was added on branch yamt-lazymbuf on 2006-06-21 15:05:02 +0000
 1.1.10.2 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.1.10.1 07-Apr-2006  tron file onewiredevs was added on branch peter-altq on 2006-05-24 15:50:27 +0000
 1.1.6.2 22-Apr-2006  simonb Sync with head.
 1.1.6.1 07-Apr-2006  simonb file onewiredevs was added on branch simonb-timecounters on 2006-04-22 11:39:13 +0000
 1.1.4.2 19-Apr-2006  elad sync with head.
 1.1.4.1 07-Apr-2006  elad file onewiredevs was added on branch elad-kernelauth on 2006-04-19 03:25:33 +0000
 1.1.2.2 11-Apr-2006  yamt sync with head
 1.1.2.1 07-Apr-2006  yamt file onewiredevs was added on branch yamt-pdpolicy on 2006-04-11 11:55:17 +0000
 1.2.78.1 20-Apr-2020  bouyer Sync with HEAD
 1.2.66.1 21-Apr-2020  martin Sync with HEAD
 1.3.26.1 02-Aug-2025  perseant Sync with HEAD
 1.4 19-Jan-2025  brad Regen
 1.3 14-Apr-2020  macallan branches: 1.3.26;
regen
 1.2 07-Apr-2006  riz branches: 1.2.2; 1.2.4; 1.2.6; 1.2.10; 1.2.14; 1.2.20; 1.2.164; 1.2.176;
Regen.
 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.176.1 20-Apr-2020  bouyer Sync with HEAD
 1.2.164.1 21-Apr-2020  martin Sync with HEAD
 1.2.20.2 09-Sep-2006  rpaulo sync with head
 1.2.20.1 07-Apr-2006  rpaulo file onewiredevs.h was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:52:15 +0000
 1.2.14.2 21-Jun-2006  yamt sync with head.
 1.2.14.1 07-Apr-2006  yamt file onewiredevs.h was added on branch yamt-lazymbuf on 2006-06-21 15:05:02 +0000
 1.2.10.2 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.2.10.1 07-Apr-2006  tron file onewiredevs.h was added on branch peter-altq on 2006-05-24 15:50:27 +0000
 1.2.6.2 22-Apr-2006  simonb Sync with head.
 1.2.6.1 07-Apr-2006  simonb file onewiredevs.h was added on branch simonb-timecounters on 2006-04-22 11:39:13 +0000
 1.2.4.2 19-Apr-2006  elad sync with head.
 1.2.4.1 07-Apr-2006  elad file onewiredevs.h was added on branch elad-kernelauth on 2006-04-19 03:25:33 +0000
 1.2.2.2 11-Apr-2006  yamt sync with head
 1.2.2.1 07-Apr-2006  yamt file onewiredevs.h was added on branch yamt-pdpolicy on 2006-04-11 11:55:17 +0000
 1.3.26.1 02-Aug-2025  perseant Sync with HEAD
 1.4 19-Jan-2025  brad Regen
 1.3 14-Apr-2020  macallan branches: 1.3.26;
regen
 1.2 07-Apr-2006  riz branches: 1.2.2; 1.2.4; 1.2.6; 1.2.10; 1.2.14; 1.2.20; 1.2.164; 1.2.176;
Regen.
 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.176.1 20-Apr-2020  bouyer Sync with HEAD
 1.2.164.1 21-Apr-2020  martin Sync with HEAD
 1.2.20.2 09-Sep-2006  rpaulo sync with head
 1.2.20.1 07-Apr-2006  rpaulo file onewiredevs_data.h was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:52:15 +0000
 1.2.14.2 21-Jun-2006  yamt sync with head.
 1.2.14.1 07-Apr-2006  yamt file onewiredevs_data.h was added on branch yamt-lazymbuf on 2006-06-21 15:05:02 +0000
 1.2.10.2 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.2.10.1 07-Apr-2006  tron file onewiredevs_data.h was added on branch peter-altq on 2006-05-24 15:50:27 +0000
 1.2.6.2 22-Apr-2006  simonb Sync with head.
 1.2.6.1 07-Apr-2006  simonb file onewiredevs_data.h was added on branch simonb-timecounters on 2006-04-22 11:39:13 +0000
 1.2.4.2 19-Apr-2006  elad sync with head.
 1.2.4.1 07-Apr-2006  elad file onewiredevs_data.h was added on branch elad-kernelauth on 2006-04-19 03:25:33 +0000
 1.2.2.2 11-Apr-2006  yamt sync with head
 1.2.2.1 07-Apr-2006  yamt file onewiredevs_data.h was added on branch yamt-pdpolicy on 2006-04-11 11:55:17 +0000
 1.3.26.1 02-Aug-2025  perseant Sync with HEAD
 1.4 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.3 14-Apr-2006  riz branches: 1.3.2; 1.3.4; 1.3.8; 1.3.12; 1.3.18; 1.3.162;
Fix some RCS IDs, and the comments including them.
 1.2 08-Apr-2006  riz branches: 1.2.2;
Add NetBSD RCSIDs
 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.2.3 24-May-2006  yamt sync with head.
 1.2.2.2 11-Apr-2006  yamt sync with head
 1.2.2.1 08-Apr-2006  yamt file onewirereg.h was added on branch yamt-pdpolicy on 2006-04-11 11:55:17 +0000
 1.3.162.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.3.18.2 09-Sep-2006  rpaulo sync with head
 1.3.18.1 14-Apr-2006  rpaulo file onewirereg.h was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:52:15 +0000
 1.3.12.2 21-Jun-2006  yamt sync with head.
 1.3.12.1 14-Apr-2006  yamt file onewirereg.h was added on branch yamt-lazymbuf on 2006-06-21 15:05:02 +0000
 1.3.8.2 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.3.8.1 14-Apr-2006  tron file onewirereg.h was added on branch peter-altq on 2006-05-24 15:50:27 +0000
 1.3.4.2 22-Apr-2006  simonb Sync with head.
 1.3.4.1 14-Apr-2006  simonb file onewirereg.h was added on branch simonb-timecounters on 2006-04-22 11:39:13 +0000
 1.3.2.2 19-Apr-2006  elad sync with head.
 1.3.2.1 14-Apr-2006  elad file onewirereg.h was added on branch elad-kernelauth on 2006-04-19 03:25:33 +0000
 1.7 06-Nov-2024  riastradh dev/onewire/onewire.h: Need sys/types.h for uintN_t.

And while here, change u_intN_t to uintN_t.
 1.6 30-Nov-2019  ad branches: 1.6.32;
onewire:

- Re-do the signalling to be a little more forgiving and efficient.
- If bus reset fails during probe, try a second time.
- Spread out kernel threads for many busses to avoid thundering herd effect.
 1.5 05-Sep-2007  xtraeme branches: 1.5.112;
Remove ONEWIRE_NOWAIT, it's unused now.
 1.4 05-Sep-2007  xtraeme 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.3 14-Apr-2006  riz branches: 1.3.2; 1.3.4; 1.3.8; 1.3.12; 1.3.18; 1.3.28; 1.3.38; 1.3.42; 1.3.44;
Fix some RCS IDs, and the comments including them.
 1.2 08-Apr-2006  riz branches: 1.2.2;
Add NetBSD RCSIDs
 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.2.3 24-May-2006  yamt sync with head.
 1.2.2.2 11-Apr-2006  yamt sync with head
 1.2.2.1 08-Apr-2006  yamt file onewirevar.h was added on branch yamt-pdpolicy on 2006-04-11 11:55:17 +0000
 1.3.44.1 06-Nov-2007  matt sync with HEAD
 1.3.42.1 02-Oct-2007  joerg Sync with HEAD.
 1.3.38.1 10-Sep-2007  skrll Sync with HEAD.
 1.3.28.1 09-Oct-2007  ad Sync with head.
 1.3.18.2 09-Sep-2006  rpaulo sync with head
 1.3.18.1 14-Apr-2006  rpaulo file onewirevar.h was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:52:15 +0000
 1.3.12.3 27-Oct-2007  yamt sync with head.
 1.3.12.2 21-Jun-2006  yamt sync with head.
 1.3.12.1 14-Apr-2006  yamt file onewirevar.h was added on branch yamt-lazymbuf on 2006-06-21 15:05:02 +0000
 1.3.8.2 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.3.8.1 14-Apr-2006  tron file onewirevar.h was added on branch peter-altq on 2006-05-24 15:50:27 +0000
 1.3.4.2 22-Apr-2006  simonb Sync with head.
 1.3.4.1 14-Apr-2006  simonb file onewirevar.h was added on branch simonb-timecounters on 2006-04-22 11:39:13 +0000
 1.3.2.2 19-Apr-2006  elad sync with head.
 1.3.2.1 14-Apr-2006  elad file onewirevar.h was added on branch elad-kernelauth on 2006-04-19 03:25:33 +0000
 1.5.112.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.6.32.1 02-Aug-2025  perseant Sync with HEAD
 1.1 14-Apr-2020  macallan branches: 1.1.2; 1.1.4;
add 'driver' for DS2430A EEPROMs which simply dumps the chip's contents and
status register
 1.1.4.2 21-Apr-2020  martin Sync with HEAD
 1.1.4.1 14-Apr-2020  martin file oweeprom.c was added on branch phil-wifi on 2020-04-21 18:42:16 +0000
 1.1.2.2 20-Apr-2020  bouyer Sync with HEAD
 1.1.2.1 14-Apr-2020  bouyer file oweeprom.c was added on branch bouyer-xenpvh on 2020-04-20 11:29:04 +0000
 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

RSS XML Feed