History log of /src/sys/dev/i2c/dbcool_var.h |
Revision | | Date | Author | Comments |
1.18 |
| 21-Sep-2025 |
thorpej | Get the sensor descriptive information from our device properties dictionary, rather than from a secondary dictionary passed in the i2c_attach_args (this secondary dictionary is deprecated and going away).
|
1.17 |
| 12-Jul-2020 |
kim | Make this compile
|
1.16 |
| 16-Apr-2020 |
rin | Revert previous for now: http://mail-index.netbsd.org/source-changes/2020/04/16/msg116278.html
The reasoning turned out to be wrong; __KERNEL_RCSID() in header files does *not* overwrite RCSID in main source files. The real problem is that it inserts its RCSID into *every* object files. However, it can be still useful even if heavily duplicated.
|
1.15 |
| 16-Apr-2020 |
rin | Stop using __KERNEL_RCSID() in header files; it confuses ident(1) by overwriting RCSID in main source files.
XXX The first argument of __KERNEL_RCSID() is neglected for ELF. If we wish to have RCSID of header files in kernel binary, we need something like __FBSDID() macro in FreeBSD.
|
1.14 |
| 02-Aug-2011 |
pgoyette | branches: 1.14.66; When detaching the device, tear down its sysctl tree.
|
1.13 |
| 11-Mar-2011 |
pgoyette | Set DBCOOL_DEBUG if global DEBUG is set
|
1.12 |
| 10-Apr-2010 |
pgoyette | branches: 1.12.2; Save initial, boot-time limit values, and restore them upon request from sysmon_envsys(9).
|
1.11 |
| 01-Mar-2010 |
pgoyette | branches: 1.11.2; Now that sysmon_envsys(8) has learned how to retrieve and update sensor limit values from the device driver, remove the high_limit and low_limit entries from the hw.dbcool<#>.<sensor> sysctl(8) tree. These limits are now directly accessible via envstat(8). Simplify the remaining code somewhat.
No objections raised on either tech-kern@ or current-users@
XXX The fan controllers's parameters (including those that are tied to XXX temperature sensors) are still in sysctl, since there isn't any clean XXX way to implement the fan controllers in sysmon_envsys yet. It is on XXX my To-Do list...
|
1.10 |
| 26-Feb-2010 |
pgoyette | Disable DBCOOL_DEBUG by default, and make it compile that way.
|
1.9 |
| 24-Feb-2010 |
pgoyette | Fix handling of 6bit VID register (6th bit takes place of 12VIn sensor).
Move VID out of sysctl tree - make it a separate sensor of type INTEGER.
Clean-up some of the chip-descriptors.
|
1.8 |
| 24-Feb-2010 |
dyoung | A pointer typedef entails trading too much flexibility to declare const and non-const types, and the kernel uses both const and non-const PMF qualifiers and device suspensors, so change the pmf_qual_t and device_suspensor_t typedefs from "pointers to const" to non-pointer, non-const types.
|
1.7 |
| 08-Jan-2010 |
dyoung | branches: 1.7.2; Expand PMF_FN_* macros.
|
1.6 |
| 02-Nov-2009 |
christos | don't pull a 1.5K softc on the stack to do a chip ident. Idea from mrg.
|
1.5 |
| 12-May-2009 |
cegger | struct device * -> device_t, no functional changes intended.
|
1.4 |
| 12-Oct-2008 |
pgoyette | branches: 1.4.2; 1.4.10; 1.4.14; Move the {read,write}reg() routine addresses into the dbcool_softc so that we can use different routines for macppc's ki2c attachment. Fixes problems reported by Robert Fritzsche on current-users@ list.
|
1.3 |
| 09-Oct-2008 |
pgoyette | branches: 1.3.2; It's not necessary to #include "sysmon_envsys.h" any more.
|
1.2 |
| 06-Oct-2008 |
pgoyette | Various clean-ups: 1. Trange sysctl's belong to the temp sensors, not to the fan controllers 2. Trange really describes a slope on many chips, so modify the description 3. Most of the sysctl's are read/write even if the chip's config is locked; reflect that in the CTLFLAGs 4. Apply correct 'nominal' values for voltage sensors/limits, specify them in microVolts, and calculate once rather than each time needed 5. Be more consistent in register names - for example, use VCC instead of SUPPLY_VOLTAGE, to match VCC_LOWLIM & VCC_HIGHLIM 6. Type of dbcool_islocked() should be bool, not int 7. Reduce some unnecessary code indentation 8. Define Vtt and Imon, and add ADT7490 support (excluding PECI sensors) 9. Split the huge (250+ lines) dbcool_setup() function into a few smaller routines for better readability 10. Update sensor tables for ADT7476 and ADT7468 - these chips have five voltage sensors, not two 11. Adjust flags for ADT7463 and ADM1027 - these chips can monitor CPU VID data bits 12. Update man page
|
1.1 |
| 02-Oct-2008 |
pgoyette | branches: 1.1.2; Add new driver for dbCool(tm) family of Thermal Monitor and Fan Controller. Supported chips: ADM1027, ADM1030, ADT7463, ADT7466, ADT7467, ADT7468, ADT7473, ADT7475, and ADT7476. Notably missing is the ADT7490, and fan controller support on the ADT7466 is still on the to-do list.
Tested by myself and njoly@ Reviewed by garbled@ Commit approved by christos@, bouyer@, cube@, and matt@
|
1.1.2.3 |
| 17-Jan-2009 |
mjf | Sync with HEAD.
|
1.1.2.2 |
| 05-Oct-2008 |
mjf | Sync with HEAD.
|
1.1.2.1 |
| 02-Oct-2008 |
mjf | file dbcool_var.h was added on branch mjf-devfs2 on 2008-10-05 20:11:29 +0000
|
1.3.2.2 |
| 10-Oct-2008 |
skrll | Sync with HEAD.
|
1.3.2.1 |
| 09-Oct-2008 |
skrll | file dbcool_var.h was added on branch wrstuden-revivesa on 2008-10-10 22:30:58 +0000
|
1.4.14.5 |
| 11-Aug-2010 |
yamt | sync with head.
|
1.4.14.4 |
| 11-Mar-2010 |
yamt | sync with head
|
1.4.14.3 |
| 16-May-2009 |
yamt | sync with head
|
1.4.14.2 |
| 04-May-2009 |
yamt | sync with head.
|
1.4.14.1 |
| 12-Oct-2008 |
yamt | file dbcool_var.h was added on branch yamt-nfs-mp on 2009-05-04 08:12:39 +0000
|
1.4.10.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.4.2.2 |
| 19-Oct-2008 |
haad | Sync with HEAD.
|
1.4.2.1 |
| 12-Oct-2008 |
haad | file dbcool_var.h was added on branch haad-dm on 2008-10-19 22:16:25 +0000
|
1.7.2.1 |
| 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
1.11.2.2 |
| 21-Apr-2011 |
rmind | sync with head
|
1.11.2.1 |
| 30-May-2010 |
rmind | sync with head
|
1.12.2.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.14.66.1 |
| 20-Apr-2020 |
bouyer | Sync with HEAD
|