Home | History | Annotate | Download | only in i2c
History log of /src/sys/dev/i2c/lm87.c
RevisionDateAuthorComments
 1.16  02-Jul-2022  andvar s/tempurature/temperature/
 1.15  13-Jun-2021  mlelstv iic_acquire_bus can fail.
 1.14  27-Jan-2021  thorpej branches: 1.14.4;
Use DEVICE_COMPAT_EOL.
 1.13  25-Jan-2021  thorpej Since we're using designated initialisers for compat data, we should
use a completely empty initializer for the sentinel.
 1.12  17-Jan-2021  thorpej Use designated initializers and a consistent termination style in
compat_data[].
 1.11  23-Dec-2019  thorpej branches: 1.11.8;
No need to use I2C_F_POLL here.
 1.10  26-Jun-2018  thorpej branches: 1.10.2;
In my quest to make device_compatible_entry (and associated goo)
super-general, it turns out I also made it a little to cumbersome
to use (if my tired fingers are any indication). So, this is a
course-correction -- one string per entry (like of_compat_data,
which it will soon replace), and remove the over-verbose macros.
 1.9  18-Jun-2018  thorpej - Rename iic_compat_match() to iic_compatible_match() and change it
to use the new device_compatible_match() routine. A pointer to
the matching device_compatible_entry is returned if a match is
found.
- Adjust iic_use_direct_match() accordingly.
- i2c drivers now provide device_compatible_entry tables when performing
direct-config matching.
- In the dsrtc driver, take advantage of this new capability to greatly
simplify model selection.

(I'm coming for you next, of_compat_data...)
 1.8  16-Jun-2018  thorpej More cleanup to i2c autoconfiguration:

- Get all of the drivers onto the new match quality constants.
- Introduce a new helper function, iic_use_direct_match(), that has
all of the logic for direct-config matching. If it returns true,
the driver returns the match result (which may be 0). If it returns
false, the driver does indirect-config matching.
- iic_compat_match() now returns a weighted match quality; matches to
lower-indexed "compatible" device property are more-specific matches,
and return a better match quality accordingly.
 1.7  10-Jan-2016  jdc branches: 1.7.16;
Correct previous - external temperature 2 is read from the 2.5V register,
not the Vccp2 register.
 1.6  10-Jan-2016  jdc Add missing register definitions.
Handle LM87 external temperature 2 input, and Vcc input scaling (5V or 3.3V).
 1.5  27-Sep-2015  phx Direct config: Only match via the list of compatible hardware when we have
such a list available (ia_ncompat > 0). Otherwise fall back to matching
the device name with ia_name.
 1.4  04-Nov-2013  jdc branches: 1.4.4; 1.4.6; 1.4.10; 1.4.12;
Add missing braces.
Fix logic error - check the data read from the chip against 0xff.
 1.3  26-Oct-2013  jdc A fan reading of 0xff is also invalid (observed on AlphaServer DS20L).
 1.2  18-Oct-2013  jdc Remove extraneous printf().
 1.1  15-Oct-2013  jdc Add a driver for the LM81, LM87, and compatible iic hardware monitors
(lmenv). Ported from OpenBSD's lm87.c, revision 1.20.
 1.4.12.2  19-Mar-2016  skrll Sync with HEAD
 1.4.12.1  27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.4.10.3  03-Dec-2017  jdolecek update from HEAD
 1.4.10.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.4.10.1  04-Nov-2013  tls file lm87.c was added on branch tls-maxphys on 2014-08-20 00:03:37 +0000
 1.4.6.2  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.4.6.1  04-Nov-2013  yamt file lm87.c was added on branch yamt-pagecache on 2014-05-22 11:40:21 +0000
 1.4.4.2  18-May-2014  rmind sync with head
 1.4.4.1  04-Nov-2013  rmind file lm87.c was added on branch rmind-smpnet on 2014-05-18 17:45:37 +0000
 1.7.16.2  28-Jul-2018  pgoyette Sync with HEAD
 1.7.16.1  25-Jun-2018  pgoyette Sync with HEAD
 1.10.2.1  08-Apr-2020  martin Merge changes from current as of 20200406
 1.11.8.1  03-Apr-2021  thorpej Sync with HEAD.
 1.14.4.1  17-Jun-2021  thorpej Sync w/ HEAD.

RSS XML Feed