The NetBSD Project

CVS log for src/sys/dev/i2c/sdtemp.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / i2c

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.32.8.3: download - view: text, markup, annotated - select for diffs
Mon Dec 6 19:34:29 2021 UTC (4 years, 11 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.32.8.2: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.8.2: +6 -6 lines
Pull up following revision(s) (requested by msaitoh in ticket #1716):

	sys/dev/i2c/sdtemp.c: revision 1.41

Use aprint_debug instead of aprint_error for expected failure.

Revision 1.35.4.2: download - view: text, markup, annotated - select for diffs
Mon Dec 6 19:33:07 2021 UTC (4 years, 11 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-5-RELEASE, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE
Diff to: previous 1.35.4.1: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.4.1: +6 -6 lines
Pull up following revision(s) (requested by msaitoh in ticket #1387):

	sys/dev/i2c/sdtemp.c: revision 1.41

Use aprint_debug instead of aprint_error for expected failure.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Wed Dec 1 21:33:19 2021 UTC (4 years, 11 months ago) by msaitoh
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20261102, perseant-exfatfs-base-20250801, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-11-base, netbsd-11-1-RELEASE, netbsd-11-0-RELEASE, netbsd-11-0-RC7, netbsd-11-0-RC6, netbsd-11-0-RC5, netbsd-11-0-RC4, netbsd-11-0-RC3, netbsd-11-0-RC2, netbsd-11-0-RC1, netbsd-11, netbsd-10-base, netbsd-10-2-RELEASE, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +6 -6 lines
Use aprint_debug instead of aprint_error for expected failure.

Revision 1.39.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 17 04:46:28 2021 UTC (5 years, 5 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +3 -2 lines
Sync w/ HEAD.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sun Jun 13 09:47:36 2021 UTC (5 years, 5 months ago) by mlelstv
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -2 lines
Clear sc_sme pointer to avoid double free.

Revision 1.32.8.2: download - view: text, markup, annotated - select for diffs
Mon Jul 20 19:00:40 2020 UTC (6 years, 3 months ago) by martin
Branches: netbsd-8
Diff to: previous 1.32.8.1: preferred, colored; branchpoint 1.32: preferred, colored
Changes since revision 1.32.8.1: +37 -14 lines
Pull up the following revisions, requested by msaitoh in ticket #1580:

	sys/dev/i2c/sdtemp.c			1.35, 1.37-1.39

- Check the return value of iic_acquire_bus() because this function
  may fail.
- Fix typo in comment.
- KNF.

Revision 1.35.4.1: download - view: text, markup, annotated - select for diffs
Fri Jul 10 10:33:38 2020 UTC (6 years, 4 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +36 -13 lines
Pull up following revision(s) (requested by msaitoh in ticket #992):

	sys/dev/i2c/sdtemp.c: revision 1.37
	sys/dev/i2c/sdtemp.c: revision 1.38
	sys/dev/i2c/sdtemp.c: revision 1.39

KNF. No functional change.

  Check the return value of iic_acquire_bus(). This function may fail.

  One of the case is driver's detaching phase on shutdown. mutex_tryenter()
might fail and return with EBUSY. To avoid calling iic_release_bus() without
taking lock, check the return value of iic_acquire_bus().

  If an error occurred in sme_refresh function, pass ENVSYS_SINVALID.
OK'd by pgoyette.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Jun 30 19:02:42 2020 UTC (6 years, 4 months ago) by msaitoh
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +5 -3 lines
 If an error occurred in sme_refresh function, pass ENVSYS_SINVALID.
OK'd by pgoyette.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Jun 29 09:24:07 2020 UTC (6 years, 4 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +27 -9 lines
 Check the return value of iic_acquire_bus(). This function may fail.

 One of the case is driver's detaching phase on shutdown. mutex_tryenter()
might fail and return with EBUSY. To avoid calling iic_release_bus() without
taking lock, check the return value of iic_acquire_bus().

Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Jun 29 06:01:30 2020 UTC (6 years, 4 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +9 -6 lines
KNF. No functional change.

Revision 1.34.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:20 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.34.2.1: preferred, colored; branchpoint 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.2.1: +3 -8 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Oct 1 18:00:08 2019 UTC (7 years, 1 month ago) by chs
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -8 lines
in many device attach paths, allocate memory with KM_SLEEP instead of KM_NOSLEEP
and remove code to handle failures that can no longer happen.

Revision 1.34.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:09 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -3 lines
Sync with HEAD

Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu Feb 28 16:56:35 2019 UTC (7 years, 8 months ago) by khorben
Branches: MAIN
CVS tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -3 lines
Typo (s/vaule/value/)

Revision 1.33.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:25:50 2018 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +3 -3 lines
Sync with HEAD

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Jun 16 21:22:13 2018 UTC (8 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -3 lines
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.

Revision 1.32.8.1: download - view: text, markup, annotated - select for diffs
Thu Mar 8 14:29:12 2018 UTC (8 years, 8 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +6 -2 lines
Pull up following revision(s) (requested by msaitoh in ticket #615):
	share/man/man4/sdtemp.4: revision 1.7-1.8
	sys/dev/i2c/sdtemp_reg.h: revision 1.13
	sys/dev/i2c/sdtemp.c: revision 1.33

- Add another device ID of Maxim MAX6604.

- Add Microchip EMC1501.

- ADT7408's device ID is not 0x80 but 0x08.

Add Microchip EMC1501.

Remove unnecessary macros.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Feb 22 10:09:12 2018 UTC (8 years, 8 months ago) by msaitoh
Branches: MAIN
CVS tags: pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +6 -2 lines
- Add Maxim MAX6604.
- Microchip EMC1501.
- ADT7408's device ID is not 0x80 but 0x08.

Revision 1.21.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:02 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.21.6.1: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.6.1: +198 -58 lines
update from HEAD

Revision 1.23.4.1.4.1: download - view: text, markup, annotated - select for diffs
Wed Jan 18 08:46:27 2017 UTC (9 years, 9 months ago) by skrll
Branches: netbsd-7-nhusb
Diff to: previous 1.23.4.1: preferred, colored; next MAIN 1.23.4.2: preferred, colored
Changes since revision 1.23.4.1: +199 -59 lines
Sync with netbsd-5

Revision 1.23.4.2: download - view: text, markup, annotated - select for diffs
Thu Dec 8 07:34:34 2016 UTC (9 years, 11 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1
Diff to: previous 1.23.4.1: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.4.1: +199 -59 lines
Pull up following revision(s) (requested by msaitoh in ticket #1286):
	sys/dev/i2c/sdtemp.c: revisions 1.26-1.32 via patch
	sys/dev/i2c/sdtemp_reg.h: revisions 1.8-1.12
	share/man/man4/sdtemp.4: revisions1.5-1.6
Changes for sdtemp(4):
- Add support for Atmel AT30TS00, AT30TSE004, Giantec GT30TS00,
  GT34TS02, Microchip MCP9804, MCP98244, IDT TS3000GB[02], TS3001GB2,
  TSE2004GB2, On Semiconductor CAT34TS02C and CAT34TS04.
- Add JEDEC TSE2004av support. If a device conforms TES2004av, it can
  be used without adding new entry into the matching table.
- Check the temperature resolution field in the capability register
  instead of the hard coded value in the match table. With this change,
  some devices' temperature resolution would be fixed.
- The resolution register is a vendor specific register.
- All of IDT devices have the resolution register.
- The address of the resolution register of Microchip MCP98244 is
  different from other Microchip devices.
- Show accuracy, range, resolution, high voltage standoff and shutdown.
- Show timeout with AB_DEBUG.
- Fix dmesg of STTS2004.

Revision 1.23.6.3: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:41 2016 UTC (10 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.23.6.2: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.6.2: +194 -56 lines
Sync with HEAD

Revision 1.26.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 6 00:19:07 2016 UTC (10 years, 3 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +198 -60 lines
Sync with HEAD

Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Aug 3 03:35:24 2016 UTC (10 years, 3 months ago) by msaitoh
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -4 lines
IDT's TSE2002GB2 has the same ID as TS3000GB2, so remove TSE2002GB2.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Jul 28 09:11:13 2016 UTC (10 years, 3 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +40 -10 lines
 Add JEDEC TSE2004av support. OK'ed by pgoyette. If a device conforms
TES2004av, it can be used without adding new entry into the matching
table.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Jul 27 09:11:44 2016 UTC (10 years, 3 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +6 -6 lines
Print device ID with 8bits again (revert part of rev. 1.27) because
the revision field also printed next.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Jul 26 08:13:57 2016 UTC (10 years, 3 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +31 -31 lines
Move functions to make module related code at the bottom of this file.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Jul 26 07:30:16 2016 UTC (10 years, 3 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +162 -52 lines
Reviewed and OK'd by pgoyette:
- Add support for Atmel AT30TS00, AT30TSE004, Giantec GT30TS00, GT34TS02,
  Microchip MCP9804, MCP98244, IDT TS3000GB[02], TS3001GB2, TSE2004GB2,
  and On Semiconductor CAT34TS04. Taken from OpenBSD.
- Add IDT TSE2002GB2.
- Check the temperature resolution field in the capability register instead
  of the hard coded value in the match table. With this change, some devices'
  temperature resolution would be fixed.
- The resolution register is a vendor specific register.
- All of IDT devices have the resolution register.
- The address of the resolution register of Microchip MCP98244 is different
  from other Microchip devices.
- Show accuracy, range, resolution, high voltage standoff and shutdown with
  aprint_normal().
- Show timeout with aprint_debug().

Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Jul 26 07:25:51 2016 UTC (10 years, 3 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +7 -7 lines
- Print device ID in 16bits instead of 8bits in aprint_debug().
- s/STTS2002/STTS2004/ for STTS2004.

Revision 1.23.6.2: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:07 2015 UTC (11 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.23.6.1: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.6.1: +10 -8 lines
Sync with HEAD

Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed May 20 00:43:28 2015 UTC (11 years, 6 months ago) by msaitoh
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20160726, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606
Branch point for: pgoyette-localcount
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -2 lines
 Add Catalyst CAT34TS02C support.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Apr 23 23:23:00 2015 UTC (11 years, 6 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3 lines
Update module dependencies for all the existing modules that depend on sysmon components.

Revision 1.23.6.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:09 2015 UTC (11 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3 lines
Sync with HEAD

Revision 1.23.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 21 17:11:35 2015 UTC (11 years, 7 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Branch point for: netbsd-7-nhusb
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3 lines
Pull up following revision(s) (requested by jmcneill in ticket #634):
	distrib/sets/lists/modules/md.amd64: revision 1.51
	distrib/sets/lists/modules/md.evbppc.powerpc: revision 1.5
	distrib/sets/lists/modules/md.i386: revision 1.55
	distrib/sets/lists/modules/mi: revision 1.71
	sys/dev/i2c/au8522.c: revision 1.7
	sys/dev/i2c/cx24227.c: revision 1.7
	sys/dev/i2c/dbcool.c: revision 1.42
	sys/dev/i2c/hytp14.c: revision 1.3
	sys/dev/i2c/i2c_exec.c: revision 1.10
	sys/dev/i2c/lg3303.c: revision 1.9
	sys/dev/i2c/mt2131.c: revision 1.5
	sys/dev/i2c/nxt2k.c: revision 1.4
	sys/dev/i2c/sdtemp.c: revision 1.24
	sys/dev/i2c/spdmem_i2c.c: revision 1.10
	sys/dev/i2c/tvpll.c: revision 1.6
	sys/dev/i2c/xc3028.c: revision 1.7
	sys/dev/i2c/xc5k.c: revision 1.6
	sys/dev/i2c/zl10353.c: revision 1.4
	sys/modules/Makefile: revision 1.143
	sys/modules/i2cexec/Makefile: revision 1.1
i2c devices don't actually have a dependency on "iic" (the bus driver)
but on "i2cexec". Create an i2cexec module (i2c_exec.c) to mirror the
dependencies in files.i2c and switch device drivers to depend on "i2cexec"
module instead.
A kernel with a USB stack and no I2C controller / bus attachment would spit
out a bunch of "WARNING: module error: can't find builtin dependency `iic'"
messages at boot. This change solves that problem.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Mar 7 14:16:51 2015 UTC (11 years, 8 months ago) by jmcneill
Branches: MAIN
CVS tags: nick-nhusb-base-20150406
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3 lines
i2c devices don't actually have a dependency on "iic" (the bus driver)
but on "i2cexec". Create an i2cexec module (i2c_exec.c) to mirror the
dependencies in files.i2c and switch device drivers to depend on "i2cexec"
module instead.

A kernel with a USB stack and no I2C controller / bus attachment would spit
out a bunch of "WARNING: module error: can't find builtin dependency `iic'"
messages at boot. This change solves that problem.

Revision 1.21.6.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:37 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +10 -2 lines
Rebase to HEAD as of a few days ago.

Revision 1.20.2.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:21 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.20.2.1: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.2.1: +10 -2 lines
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")

Revision 1.21.10.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:37 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.21.10.1: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.10.1: +8 -2 lines
sync with head

Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Jan 9 16:51:05 2014 UTC (12 years, 10 months ago) by mlelstv
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, nick-nhusb-base, netbsd-7-base
Branch point for: nick-nhusb, netbsd-7
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +8 -2 lines
add three temperature sensors from ST.

Revision 1.21.10.1: download - view: text, markup, annotated - select for diffs
Wed Aug 28 23:59:25 2013 UTC (13 years, 2 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -2 lines
sync with head

Revision 1.21.18.1: download - view: text, markup, annotated - select for diffs
Tue Jul 23 21:07:35 2013 UTC (13 years, 3 months ago) by riastradh
Branches: riastradh-drm2
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +4 -2 lines
sync with HEAD

Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Jul 22 13:46:20 2013 UTC (13 years, 3 months ago) by soren
Branches: MAIN
CVS tags: riastradh-drm2-base2, riastradh-drm2-base1
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -2 lines
Use the standard i2c address to DIMM slot mapping to show the slot number.

Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:30 2012 UTC (14 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +7 -10 lines
sync with head

Revision 1.20.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:34:13 2012 UTC (14 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +7 -10 lines
merge to -current.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Feb 2 02:47:59 2012 UTC (14 years, 9 months ago) by pgoyette
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet, riastradh-drm2
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +7 -10 lines
Clean up display of initial hardware provided limits.  No functional change.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Oct 2 19:03:56 2011 UTC (15 years, 1 month ago) by jmcneill
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -3 lines
now that iic is a module, add "iic" dependency to iic drivers

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Jul 31 15:59:45 2011 UTC (15 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +50 -4 lines
add detach support, modularize, build with WARNS=4

Revision 1.12.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:53:10 2011 UTC (15 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.12.2.1: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.2.1: +47 -41 lines
sync with head

Revision 1.9.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:46:08 2010 UTC (16 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.9.2.1: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.1: +45 -39 lines
Sync with HEAD.

Revision 1.1.4.6: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:22 2010 UTC (16 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.1.4.5: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.4.5: +53 -38 lines
sync with head.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Jul 29 13:07:14 2010 UTC (16 years, 3 months ago) by pgoyette
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +8 -5 lines
When interpreting the alarm bits from the chip, don't report state for
any thresholds which have not been set.  Fixes problem reported by
njoly@ in private E-mail, where chip was initialized with only a Critical
threshold, but was reporting a warning.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Jul 29 12:01:21 2010 UTC (16 years, 3 months ago) by njoly
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +11 -15 lines
Cleanup hardware monitor limits retrieval. Do use the softc variables
to be filled by sdtemp_get_limits() directly.

ok pgoyette.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Jul 28 18:43:10 2010 UTC (16 years, 3 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3 lines
Fix a typo (missing digit) in chip name table.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Jul 11 15:16:41 2010 UTC (16 years, 4 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -2 lines
Add another pair of chips to the pile:  IDT TS3000B3 & TSE2002B3

Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Jul 8 23:27:17 2010 UTC (16 years, 4 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +29 -24 lines
Add additional chip IDs, and be more specific about which revs we match.

From Guenter Roeck on a Linux mailing list.

Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:20 2010 UTC (16 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +12 -2 lines
sync with head

Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:11 2010 UTC (16 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +39 -29 lines
Sync with HEAD.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Apr 10 19:02:39 2010 UTC (16 years, 7 months ago) by pgoyette
Branches: MAIN
CVS tags: uebayasi-xip-base1
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +12 -2 lines
Save initial, boot-time limit values, and restore them upon request
from sysmon_envsys(9).

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Mar 14 18:05:49 2010 UTC (16 years, 8 months ago) by pgoyette
Branches: MAIN
Branch point for: rmind-uvmplock
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -3 lines
Remove setting of edata->monitor since that member no longer exists.

Revision 1.1.4.5: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:27 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.1.4.4: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.4.4: +29 -26 lines
sync with head

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Feb 24 22:37:57 2010 UTC (16 years, 8 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base9
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +6 -6 lines
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.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Feb 14 23:07:22 2010 UTC (16 years, 9 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +25 -24 lines
Adapt to changes in sysmon's limit structure

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Jan 8 20:04:31 2010 UTC (16 years, 10 months ago) by dyoung
Branches: MAIN
CVS tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +6 -6 lines
Expand PMF_FN_* macros.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Jan 1 15:43:49 2010 UTC (16 years, 10 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -2 lines
Explicitly inform envsys that the driver is capable of doing its own
limit checking at initialization time.  Later on, if user specifics any
unsupported limits, the driver will relinquish this task.

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:31:47 2009 UTC (17 years, 3 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.2: +85 -160 lines
Sync with HEAD.

Revision 1.1.4.4: download - view: text, markup, annotated - select for diffs
Sat Jul 18 14:53:01 2009 UTC (17 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.1.4.3: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.4.3: +3 -3 lines
sync with head.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Jul 10 15:30:45 2009 UTC (17 years, 4 months ago) by pgoyette
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3 lines
Correct usage of PROP_DRIVER_LIMITS flag

Revision 1.1.4.3: download - view: text, markup, annotated - select for diffs
Sat Jun 20 07:20:21 2009 UTC (17 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.1.4.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.4.2: +85 -160 lines
sync with head

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Jun 14 19:44:46 2009 UTC (17 years, 5 months ago) by pgoyette
Branches: MAIN
CVS tags: yamt-nfs-mp-base5
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +9 -7 lines
Update {get,set}_limits() routines.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Jun 13 20:27:19 2009 UTC (17 years, 5 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
No need to set flag=I2C_F_POLL when releasing the bus.  Pointed out
in private Email from njoly@

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Jun 13 19:02:33 2009 UTC (17 years, 5 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +82 -157 lines
Update sdtemp driver to use sysmon_envsys(9) for setting temp sensor
limits.  Remove sysctl(9) interface to the limit registers since it's
no longer needed.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Jun 1 20:08:44 2009 UTC (17 years, 5 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -7 lines
Since we no longer have individual events for each sensor value limit,
we don't need individual flag bits.  Clean up extra bit definitions.
Bump kernel version - welcome to 5.99.13

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue May 19 23:43:27 2009 UTC (17 years, 6 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +8 -5 lines
When displaying boot-time trip-register settings, shift to exclude
fractional bits.  Otherwise, a setting of 52C reports 832 during
boot, and that's way too hot for any memory!

Revision 1.1.4.2: download - view: text, markup, annotated - select for diffs
Sat May 16 10:41:21 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.1.4.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.4.1: +589 -0 lines
sync with head

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Wed May 13 17:19:21 2009 UTC (17 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +589 -0 lines
Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.1.4.1
Sat May 9 15:04:25 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
FILE REMOVED
Changes since revision 1.1: +0 -589 lines
file sdtemp.c was added on branch yamt-nfs-mp on 2009-05-16 10:41:21 +0000

Revision 1.1.2.1
Sat May 9 15:04:25 2009 UTC (17 years, 6 months ago) by jym
Branches: jym-xensuspend
FILE REMOVED
Changes since revision 1.1: +0 -589 lines
file sdtemp.c was added on branch jym-xensuspend on 2009-05-13 17:19:21 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat May 9 15:04:25 2009 UTC (17 years, 6 months ago) by pgoyette
Branches: MAIN
CVS tags: yamt-nfs-mp-base4, jym-xensuspend-base
Branch point for: yamt-nfs-mp, jym-xensuspend
Initial implementation of sdtemp(4) driver for on-DIMM temp sensor.

(These optional sensors are specified by JEDEC Standard No. 21-C
Section 4-7 and implemented by multiple vendors.  Tested on my
amd64 machine with Kingston KVR1066D3E7S/2G memory which includes
a STMicro STTS424E02 sensor.)

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>