The NetBSD Project

CVS log for src/sys/dev/ic/nslm7x.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.64.10.3 / (download) - annotate - [select for diffs], Wed Jul 17 15:43:18 2019 UTC (4 months, 3 weeks ago) by martin
Branch: netbsd-8
Changes since 1.64.10.2: +7 -2 lines
Diff to previous 1.64.10.2 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1294):

	sys/dev/isa/wbsio.c: revision 1.25
	sys/dev/ic/nslm7x.c: revision 1.72
	sys/dev/ic/nslm7x.c: revision 1.73
	sys/dev/isa/wbsioreg.h: revision 1.9

 Use pmf_device_{register,deregister}().

 -

 Identify Nuvoton NCT6798D correctly. It seems that the bit width of NCT6796D
and newer devices' device ID is 13bit. The previous series was 12bits.

Revision 1.73 / (download) - annotate - [select for diffs], Wed Jul 10 16:23:55 2019 UTC (4 months, 4 weeks ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20191119, netbsd-9-base, netbsd-9-0-RC1, netbsd-9, HEAD
Changes since 1.72: +3 -2 lines
Diff to previous 1.72 (colored)

 Identify Nuvoton NCT6798D correctly. It seems that the bit width of NCT6796D
and newer devices' device ID is 13bit. The previous series was 12bits.

Revision 1.71.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:11 2019 UTC (5 months, 4 weeks ago) by christos
Branch: phil-wifi
Changes since 1.71: +6 -2 lines
Diff to previous 1.71 (colored) next main 1.72 (colored)

Sync with HEAD

Revision 1.70.2.2 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:48 2018 UTC (11 months, 1 week ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.70.2.1: +6 -2 lines
Diff to previous 1.70.2.1 (colored) to branchpoint 1.70 (colored) next main 1.71 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.72 / (download) - annotate - [select for diffs], Fri Nov 30 05:49:23 2018 UTC (12 months, 1 week ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, isaki-audio2-base, isaki-audio2
Changes since 1.71: +6 -2 lines
Diff to previous 1.71 (colored)

 Use pmf_device_{register,deregister}().

Revision 1.64.10.2 / (download) - annotate - [select for diffs], Thu Jul 26 20:37:42 2018 UTC (16 months, 1 week ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.64.10.1: +3 -2 lines
Diff to previous 1.64.10.1 (colored) to branchpoint 1.64 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #927):
	share/man/man4/lm.4: 1.35, 1.36
	sys/dev/ic/nslm7x.c: 1.71
	sys/dev/isa/wbsio.c: 1.23
	sys/dev/isa/wbsioreg.h: 1.8
Add NCT6796D. Some functions of NCT6796D is extended from NCT6795D,
but this commit doesn't support them yet.
--
Add NCT6796D.
--
Remove Tn. Add serial comma.

Revision 1.70.2.1 / (download) - annotate - [select for diffs], Thu Mar 15 09:12:05 2018 UTC (20 months, 3 weeks ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.70: +3 -2 lines
Diff to previous 1.70 (colored)

Synch with HEAD

Revision 1.71 / (download) - annotate - [select for diffs], Wed Mar 7 09:25:56 2018 UTC (21 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi
Changes since 1.70: +3 -2 lines
Diff to previous 1.70 (colored)

 Add NCT6796D. Some functions of NCT6796D is extended from NCT6795D,
but this commit doesn't support them yet.

Revision 1.59.6.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:03 2017 UTC (2 years ago) by jdolecek
Branch: tls-maxphys
Changes since 1.59.6.1: +848 -136 lines
Diff to previous 1.59.6.1 (colored) to branchpoint 1.59 (colored) next main 1.60 (colored)

update from HEAD

Revision 1.64.10.1 / (download) - annotate - [select for diffs], Wed Nov 22 14:56:30 2017 UTC (2 years ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.64: +686 -146 lines
Diff to previous 1.64 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #374):
	share/man/man4/lm.4: revision 1.33
	share/man/man4/lm.4: revision 1.34
	sys/dev/ic/nslm7x.c: revision 1.70
	sys/dev/isa/lm_isa_common.c: revision 1.5
	sys/dev/isa/lm_isa_common.c: revision 1.6
	sys/dev/isa/wbsio.c: revision 1.11
	sys/dev/i2c/lm_i2c.c: revision 1.3
	sys/dev/isa/wbsio.c: revision 1.12
	sys/dev/i2c/lm_i2c.c: revision 1.4
	sys/dev/isa/wbsioreg.h: revision 1.1
	sys/dev/isa/wbsio.c: revision 1.13
	sys/dev/isa/wbsioreg.h: revision 1.2
	sys/dev/isa/wbsio.c: revision 1.14
	sys/dev/isa/wbsioreg.h: revision 1.3
	sys/dev/isa/wbsio.c: revision 1.15
	sys/dev/isa/wbsioreg.h: revision 1.4
	sys/dev/isa/wbsioreg.h: revision 1.5
	share/man/man4/wbsio.4: revision 1.4
	share/man/man4/wbsio.4: revision 1.5
	sys/dev/ic/nslm7xvar.h: revision 1.30
	sys/dev/ic/nslm7x.c: revision 1.65
	share/man/man4/wbsio.4: revision 1.6
	sys/dev/ic/nslm7xvar.h: revision 1.31
	sys/dev/ic/nslm7x.c: revision 1.66
	sys/dev/ic/nslm7xvar.h: revision 1.32
	sys/dev/ic/nslm7x.c: revision 1.67
	sys/dev/ic/nslm7xvar.h: revision 1.33
	sys/dev/ic/nslm7x.c: revision 1.68
	sys/dev/ic/nslm7x.c: revision 1.69
  Add Winbond W83627DHG-P, W83627SF, W83627UHG, W83667HGB, W83687THF, W83697UG,
Nuvoton NCT5104D, NCT610[246]D, NCT6775, NCT6779, NCT6791, NCT6792 and NCT6793.
lm(4): Add support for NCT5104D, NCT610[246]D, NCT6775F, NCT6779D and NCT679[1235]D.
wbsio(4): Add support for NCT6795D.
Add note about Nuvoton.
- Add new Nuvoton devices.
- Add CAVEATS section from OpenBSD.
Add space before left-paren
Remove superfluous Pp.
Whitespace.
  Fix a bug that fan RPM wasn't printed correctly. 0xbX is not RPM but counter.
Use 0xcX.
  Fix typo.
- Sprinkle static and const. No functional change.
- Print chip ID in hexadecimal instead of octal in def_match().
  Use uint8_t instead of int. No functional change.
  Print chip name correctly.
- WBSIO_ID_W83627DHG and newer devices have 12bit device ID. So, change sioid
   from 8bit to 16bit and check with it strictly.
- s/lm_match/nslm_match/
- split {wb,lm,def}_match() to XXX_match and XXX_attach().
- Rename lm_probe with lm_match and call {wb,nslm,def}_match() at the end of
   the function to check strictly.
- NCT610[246]D is different from others, so add new nct6102d_sensors[] table.
- Register offsets of vendor ID and chip id of NCT610[246]D are different
   from others. When it failed reading vendor ID or chip ID, fallback to
   NCT610[246]D's register offsets.
- Add debug messages.
  Restore NetBSD RCS Id which was accidentally removed in rev. 1.2.
  s/Id/NetBSD/. Pointed out by wiz!

Revision 1.61.2.3 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:03 2017 UTC (2 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.61.2.2: +686 -146 lines
Diff to previous 1.61.2.2 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored)

Sync with HEAD

Revision 1.70 / (download) - annotate - [select for diffs], Fri Aug 18 04:07:51 2017 UTC (2 years, 3 months ago) by msaitoh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, pgoyette-compat-base, nick-nhusb-base-20170825
Branch point for: pgoyette-compat
Changes since 1.69: +437 -169 lines
Diff to previous 1.69 (colored)

- WBSIO_ID_W83627DHG and newer devices have 12bit device ID. So, change sioid
  from 8bit to 16bit and check with it strictly.
- s/lm_match/nslm_match/
- split {wb,lm,def}_match() to XXX_match and XXX_attach().
- Rename lm_probe with lm_match and call {wb,nslm,def}_match() at the end of
  the function to check strictly.
- NCT610[246]D is different from otehrs, so add new nct6102d_sensors[] table.
- Register offsets of vendor ID and chip id of NCT610[246]D are different
  from others. When it failed reading vendor ID or chip ID, fallback to
  NCT610[246]D's register offsets.
- Add debug messages.

Revision 1.69 / (download) - annotate - [select for diffs], Thu Aug 17 05:27:48 2017 UTC (2 years, 3 months ago) by msaitoh
Branch: MAIN
Changes since 1.68: +13 -9 lines
Diff to previous 1.68 (colored)

 Use uint8_t instead of int. No functional change.

Revision 1.68 / (download) - annotate - [select for diffs], Wed Aug 9 04:45:38 2017 UTC (2 years, 3 months ago) by msaitoh
Branch: MAIN
Changes since 1.67: +20 -20 lines
Diff to previous 1.67 (colored)

- Sprinkle static and const. No functional change.
- Print chip ID in hexadecimal instead of octal in def_match().

Revision 1.67 / (download) - annotate - [select for diffs], Thu Jul 20 02:27:36 2017 UTC (2 years, 4 months ago) by msaitoh
Branch: MAIN
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored)

 Fix typo.

Revision 1.66 / (download) - annotate - [select for diffs], Thu Jul 20 02:24:31 2017 UTC (2 years, 4 months ago) by msaitoh
Branch: MAIN
Changes since 1.65: +9 -9 lines
Diff to previous 1.65 (colored)

 Fix a bug that fan RPM wasn't printed correctly. 0xbX is not RPM but counter.
Use 0xcX.

Revision 1.65 / (download) - annotate - [select for diffs], Tue Jul 11 10:10:51 2017 UTC (2 years, 4 months ago) by msaitoh
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646
Changes since 1.64: +274 -6 lines
Diff to previous 1.64 (colored)

lm(4): Add suport for NCT5174D, NCT6775F, NCT6779D and NCT679[1235]D.
wbsio(4): Add support for NCT6795D.

Revision 1.61.2.2 / (download) - annotate - [select for diffs], Sat Jul 9 20:25:02 2016 UTC (3 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.61.2.1: +178 -6 lines
Diff to previous 1.61.2.1 (colored) to branchpoint 1.61 (colored)

Sync with HEAD

Revision 1.64 / (download) - annotate - [select for diffs], Wed Jun 1 08:06:38 2016 UTC (3 years, 6 months ago) by pgoyette
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, 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
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (colored)

Ooopppsss, missed the function declaration!

Revision 1.63 / (download) - annotate - [select for diffs], Wed Jun 1 02:37:47 2016 UTC (3 years, 6 months ago) by pgoyette
Branch: MAIN
Changes since 1.62: +177 -5 lines
Diff to previous 1.62 (colored)

Add support for Nuvoton NCT6776F from OpenBSD

From PR kern/49747

Revision 1.61.2.1 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:07 2015 UTC (4 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

Sync with HEAD

Revision 1.62 / (download) - annotate - [select for diffs], Thu Apr 23 23:23:00 2015 UTC (4 years, 7 months ago) by pgoyette
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

Update module dependencies for all the existing modules that depend on sysmon components.

Revision 1.59.2.1 / (download) - annotate - [select for diffs], Sun Dec 7 15:09:32 2014 UTC (5 years ago) by martin
Branch: netbsd-6
Changes since 1.59: +3 -3 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

Pull up following revision(s) (requested by ozaki-r in ticket #1201):
	sys/kern/kern_ktrace.c: revision 1.166
	sys/dev/isa/aps.c: revision 1.16
	sys/dev/sysmon/sysmonvar.h: revision 1.45
	sys/dev/ir/irframe_tty.c: revision 1.60
	sys/dev/sysmon/sysmon_envsys_events.c: revision 1.111-1.112 (patch)
	sys/dev/pci/pccbb.c: revision 1.207
	sys/dev/wscons/wskbd.c: revision 1.135
	sys/dev/usb/ohci.c: revision 1.254
	sys/net/if_ecosubr.c: revision 1.41
	sys/dev/pcmcia/btbc.c: revision 1.17
	sys/arch/x86/x86/via_padlock.c: revision 1.23
	sys/dev/sdmmc/sdmmc.c: revision 1.23 (patch)
	sys/dev/bluetooth/btkbd.c: revision 1.17
	sys/dev/bluetooth/bcsp.c: revision 1.25
	sys/arch/x86/pci/fwhrng.c: revision 1.8
	sys/dev/ic/nslm7x.c: revision 1.61
	share/man/man9/callout.9: revision 1.28 (patch)

Replace callout_stop with callout_halt and ensure the callout
is not running before destroying it.

Revision 1.60.4.1 / (download) - annotate - [select for diffs], Mon Dec 1 11:38:43 2014 UTC (5 years ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, 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, 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
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

Pull up following revision(s) (requested by ozaki-r in ticket #279):
	sys/kern/kern_ktrace.c: revision 1.166
	sys/dev/isa/aps.c: revision 1.16
	sys/dev/sysmon/sysmonvar.h: revision 1.45
	sys/dev/ir/irframe_tty.c: revision 1.60
	sys/dev/sysmon/sysmon_envsys_events.c: revision 1.111
	sys/dev/sysmon/sysmon_envsys_events.c: revision 1.112
	sys/dev/pci/pccbb.c: revision 1.207
	sys/dev/wscons/wskbd.c: revision 1.135
	sys/dev/usb/ohci.c: revision 1.254
	sys/net/if_ecosubr.c: revision 1.41
	sys/dev/pcmcia/btbc.c: revision 1.17
	sys/arch/x86/x86/via_padlock.c: revision 1.23
	sys/dev/sdmmc/sdmmc.c: revision 1.23
	sys/dev/bluetooth/btkbd.c: revision 1.17
	sys/dev/bluetooth/bcsp.c: revision 1.25
	sys/arch/x86/pci/fwhrng.c: revision 1.8
	sys/dev/ic/nslm7x.c: revision 1.61
	share/man/man9/callout.9: revision 1.28
Replace callout_stop with callout_halt
In order to call callout_destroy for a callout safely, we have to ensure
the function of the callout is not running and pending. To do so, we should
use callout_halt, not callout_stop.
Discussed with martin@ and riastradh@.
Make it clear that we should use not callout_stop but callout_halt
before callout_destroy
Replace callout_stop with callout_halt
In order to call callout_destroy for a callout safely, we have to ensure
the function of the callout is not running and pending. To do so, we should
use callout_halt, not callout_stop.
In this case, we need to pass an interlock to callout_halt to wait for
the callout complete.
Reviewed by riastradh@.
Kill sme_callout_mtx and use sme_mtx instead
We can use sme_mtx for the callout as well. Actually we should do so
because sme_events_list and some other data that are touched in the
callout should be protected by sme_mtx, not sme_callout_mtx.
Discussed with riastradh@ in
http://mail-index.netbsd.org/tech-kern/2014/11/11/msg017956.html
Replace callout_stop with callout_halt
In order to call callout_destroy for a callout safely, we have to ensure
the function of the callout is not running and pending. To do so, we should
use callout_halt, not callout_stop.
In this case, we need to pass an interlock to callout_halt to wait for
the callout complete. And also we make sure that SME_CALLOUT_INITIALIZED
is unset before calling callout_halt to prevent the callout from calling
callout_schedule. This is the same as what we did in sys/netinet6/mld6.c@1.61.
Reviewed by riastradh@.

Revision 1.61 / (download) - annotate - [select for diffs], Sun Nov 16 16:20:00 2014 UTC (5 years ago) by ozaki-r
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored)

Replace callout_stop with callout_halt

In order to call callout_destroy for a callout safely, we have to ensure
the function of the callout is not running and pending. To do so, we should
use callout_halt, not callout_stop.

Discussed with martin@ and riastradh@.

Revision 1.59.6.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:38 2014 UTC (5 years, 3 months ago) by tls
Branch: tls-maxphys
Changes since 1.59: +4 -4 lines
Diff to previous 1.59 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.58.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:40:22 2014 UTC (5 years, 6 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.58.2.1: +4 -4 lines
Diff to previous 1.58.2.1 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored)

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.59.10.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:37 2014 UTC (5 years, 6 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.59: +4 -4 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

sync with head

Revision 1.60 / (download) - annotate - [select for diffs], Sun Oct 20 21:13:15 2013 UTC (6 years, 1 month ago) by christos
Branch: 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, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.59: +4 -4 lines
Diff to previous 1.59 (colored)

fix unused variable warnings

Revision 1.58.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:35 2012 UTC (7 years, 7 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.58: +17 -2 lines
Diff to previous 1.58 (colored)

sync with head

Revision 1.58.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:22 2012 UTC (7 years, 9 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.58: +17 -2 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

merge to -current.

Revision 1.59 / (download) - annotate - [select for diffs], Sat Jan 21 15:50:13 2012 UTC (7 years, 10 months ago) by jakllsch
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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, 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, netbsd-6
Changes since 1.58: +17 -2 lines
Diff to previous 1.58 (colored)

Add module glue. (Better late than never.)

Revision 1.57.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:00 2011 UTC (8 years, 5 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.57: +3 -2 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.58 / (download) - annotate - [select for diffs], Mon Jun 20 17:48:46 2011 UTC (8 years, 5 months ago) by pgoyette
Branch: 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
Changes since 1.57: +3 -2 lines
Diff to previous 1.57 (colored)

Initializes sensors states before registering.

Revision 1.56.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:07:54 2011 UTC (8 years, 6 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.56: +4 -5 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

Sync with HEAD.

Revision 1.54.2.3 / (download) - annotate - [select for diffs], Sun Mar 6 00:27:00 2011 UTC (8 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.54.2.2: +2 -3 lines
Diff to previous 1.54.2.2 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

sync with head (and fix few botches with this)

Revision 1.57 / (download) - annotate - [select for diffs], Sat Mar 5 22:27:21 2011 UTC (8 years, 9 months ago) by jakllsch
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.56: +4 -5 lines
Diff to previous 1.56 (colored)

Set the ENVSYS_FCHANGERFACT flag soon enough for it to make a difference.

Revision 1.54.2.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:19 2011 UTC (8 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.54.2.1: +6 -2 lines
Diff to previous 1.54.2.1 (colored) to branchpoint 1.54 (colored)

sync with head

Revision 1.49.14.2 / (download) - annotate - [select for diffs], Fri Oct 22 07:21:57 2010 UTC (9 years, 1 month ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.49.14.1: +4 -0 lines
Diff to previous 1.49.14.1 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

Sync with HEAD (-D20101022).

Revision 1.46.4.5 / (download) - annotate - [select for diffs], Sat Oct 9 03:32:06 2010 UTC (9 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.46.4.4: +6 -2 lines
Diff to previous 1.46.4.4 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored)

sync with head

Revision 1.56 / (download) - annotate - [select for diffs], Wed Oct 6 18:13:33 2010 UTC (9 years, 2 months ago) by jakllsch
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base4, uebayasi-xip-base3, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.55: +6 -2 lines
Diff to previous 1.55 (colored)

Fix vcore readings in some cases on W83627THF by being mindful of the VRM9 mode.

Revision 1.46.4.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:29 2010 UTC (9 years, 3 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.46.4.3: +5 -2 lines
Diff to previous 1.46.4.3 (colored) to branchpoint 1.46 (colored)

sync with head.

Revision 1.54.2.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:24 2010 UTC (9 years, 6 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.54: +5 -2 lines
Diff to previous 1.54 (colored)

sync with head

Revision 1.49.14.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:20 2010 UTC (9 years, 7 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.49: +68 -3 lines
Diff to previous 1.49 (colored)

Sync with HEAD.

Revision 1.55 / (download) - annotate - [select for diffs], Tue Mar 23 12:13:28 2010 UTC (9 years, 8 months ago) by njoly
Branch: MAIN
CVS Tags: yamt-nfs-mp-base10, uebayasi-xip-base2, uebayasi-xip-base1
Changes since 1.54: +5 -2 lines
Diff to previous 1.54 (colored)

Add some missing aprint_naive calls.

Revision 1.46.4.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:33 2010 UTC (9 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.46.4.2: +65 -3 lines
Diff to previous 1.46.4.2 (colored) to branchpoint 1.46 (colored)

sync with head

Revision 1.54 / (download) - annotate - [select for diffs], Sat Feb 13 04:09:36 2010 UTC (9 years, 9 months ago) by jakllsch
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Branch point for: rmind-uvmplock
Changes since 1.53: +5 -2 lines
Diff to previous 1.53 (colored)

Explicitly mark voltage readings as valid in Winbond voltage refresh functions.
This fixes forever-N/A VCore and -12V readings on my W83627THF chips.
.

Revision 1.53 / (download) - annotate - [select for diffs], Tue Feb 9 23:04:15 2010 UTC (9 years, 9 months ago) by njoly
Branch: MAIN
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored)

Kill extra semi-column.

Revision 1.52 / (download) - annotate - [select for diffs], Tue Feb 9 13:59:01 2010 UTC (9 years, 9 months ago) by pgoyette
Branch: MAIN
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored)

Correct setting of bits in the "generic thermistor" mode.  Cut&paste
error pointed out by njoly@

Revision 1.51 / (download) - annotate - [select for diffs], Mon Feb 8 23:10:35 2010 UTC (9 years, 9 months ago) by pgoyette
Branch: MAIN
Changes since 1.50: +10 -2 lines
Diff to previous 1.50 (colored)

After reviewing the datasheets, most of the supported Winbond chips can
handles the new flags for selecting sensor type.  Update code and man
page accordingly.

Revision 1.50 / (download) - annotate - [select for diffs], Mon Feb 8 21:42:01 2010 UTC (9 years, 10 months ago) by pgoyette
Branch: MAIN
Changes since 1.49: +54 -3 lines
Diff to previous 1.49 (colored)

Add temp-sensor type selection (via autoconfig flags).  Currently only
enabled for W83627HF but easily extended to others if appropriate.

Fixes PR kern-42758

Revision 1.46.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:43 2009 UTC (10 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.46.4.1: +9 -15 lines
Diff to previous 1.46.4.1 (colored) to branchpoint 1.46 (colored)

sync with head.

Revision 1.45.6.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:56 2009 UTC (10 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.45.6.2: +7 -13 lines
Diff to previous 1.45.6.2 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

Sync with HEAD.

Revision 1.47.6.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:16:26 2008 UTC (11 years, 1 month ago) by haad
Branch: haad-dm
Changes since 1.47: +9 -15 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

Sync with HEAD.

Revision 1.49 / (download) - annotate - [select for diffs], Mon Oct 13 12:44:46 2008 UTC (11 years, 1 month ago) by pgoyette
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, uebayasi-xip-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: uebayasi-xip
Changes since 1.48: +4 -9 lines
Diff to previous 1.48 (colored)

Fix up the bus-independant probe code.  Patch from njoly@

Revision 1.48 / (download) - annotate - [select for diffs], Sun Oct 12 13:17:28 2008 UTC (11 years, 1 month ago) by pgoyette
Branch: MAIN
Changes since 1.47: +11 -12 lines
Diff to previous 1.47 (colored)

Add an i2c attachment for the LM78 family of temp sensor/fan control

Tested by Martin Husemann

Revision 1.45.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:26 2008 UTC (11 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.45.6.1: +0 -7 lines
Diff to previous 1.45.6.1 (colored) to branchpoint 1.45 (colored)

Sync with HEAD.

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:44 2008 UTC (11 years, 6 months ago) by yamt
Branch: yamt-pf42
Changes since 1.46: +2 -9 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

sync with head.

Revision 1.46.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:24:05 2008 UTC (11 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.46: +2 -9 lines
Diff to previous 1.46 (colored)

sync with head.

Revision 1.47 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:50 2008 UTC (11 years, 7 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase
Branch point for: haad-dm
Changes since 1.46: +2 -9 lines
Diff to previous 1.46 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.45.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:41 2008 UTC (11 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.45: +11 -13 lines
Diff to previous 1.45 (colored)

Sync with HEAD.

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:17 2008 UTC (11 years, 8 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.45: +11 -13 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

sync with head.

Revision 1.39.2.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:39 2008 UTC (11 years, 8 months ago) by matt
Branch: matt-armv6
Changes since 1.39.2.2: +23 -25 lines
Diff to previous 1.39.2.2 (colored) next main 1.40 (colored)

sync with HEAD

Revision 1.22.2.7 / (download) - annotate - [select for diffs], Mon Mar 17 09:14:43 2008 UTC (11 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.22.2.6: +11 -13 lines
Diff to previous 1.22.2.6 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

sync with head.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Mar 5 15:41:31 2008 UTC (11 years, 9 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.45: +11 -13 lines
Diff to previous 1.45 (colored)

Split device_t/softc in the lm(4) driver and its attachments, and
other related cosmetic changes.

Revision 1.43.2.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:41 2008 UTC (11 years, 9 months ago) by mjf
Branch: mjf-devfs
Changes since 1.43.2.1: +14 -14 lines
Diff to previous 1.43.2.1 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored)

Sync with HEAD.

Revision 1.22.2.6 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:33 2008 UTC (11 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.22.2.5: +14 -14 lines
Diff to previous 1.22.2.5 (colored) to branchpoint 1.22 (colored)

sync with head.

Revision 1.45 / (download) - annotate - [select for diffs], Thu Feb 7 20:35:44 2008 UTC (11 years, 10 months ago) by xtraeme
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, hpcarm-cleanup-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.44: +14 -14 lines
Diff to previous 1.44 (colored)

lm_refresh_volt: don't overwrite the state of the sensor. Patch by
Fukumoto Atsushi - PR kern/37977.

Revision 1.39.2.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:52:57 2008 UTC (11 years, 11 months ago) by matt
Branch: matt-armv6
Changes since 1.39.2.1: +17 -16 lines
Diff to previous 1.39.2.1 (colored)

sync with HEAD

Revision 1.22.2.5 / (download) - annotate - [select for diffs], Fri Dec 7 17:29:56 2007 UTC (12 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.22.2.4: +17 -16 lines
Diff to previous 1.22.2.4 (colored) to branchpoint 1.22 (colored)

sync with head

Revision 1.38.6.4 / (download) - annotate - [select for diffs], Wed Nov 21 21:54:54 2007 UTC (12 years ago) by joerg
Branch: jmcneill-pm
Changes since 1.38.6.3: +17 -16 lines
Diff to previous 1.38.6.3 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

Sync with HEAD.

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:47:54 2007 UTC (12 years ago) by mjf
Branch: mjf-devfs
Changes since 1.43: +17 -16 lines
Diff to previous 1.43 (colored)

Sync with HEAD.

Revision 1.42.4.2 / (download) - annotate - [select for diffs], Sun Nov 18 19:35:25 2007 UTC (12 years ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.42.4.1: +15 -14 lines
Diff to previous 1.42.4.1 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored)

Sync with HEAD

Revision 1.44 / (download) - annotate - [select for diffs], Fri Nov 16 08:00:14 2007 UTC (12 years ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, matt-armv6-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base
Changes since 1.43: +17 -16 lines
Diff to previous 1.43 (colored)

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.

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:26:58 2007 UTC (12 years, 1 month ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.39: +52 -41 lines
Diff to previous 1.39 (colored)

sync with HEAD

Revision 1.22.2.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:30:55 2007 UTC (12 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.22.2.3: +52 -41 lines
Diff to previous 1.22.2.3 (colored) to branchpoint 1.22 (colored)

sync with head.

Revision 1.38.6.3 / (download) - annotate - [select for diffs], Fri Oct 26 15:44:55 2007 UTC (12 years, 1 month ago) by joerg
Branch: jmcneill-pm
Changes since 1.38.6.2: +4 -4 lines
Diff to previous 1.38.6.2 (colored) to branchpoint 1.38 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.42.4.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:37:51 2007 UTC (12 years, 1 month ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.42: +4 -4 lines
Diff to previous 1.42 (colored)

Sync with HEAD.

Revision 1.29.6.7 / (download) - annotate - [select for diffs], Tue Oct 23 20:07:38 2007 UTC (12 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.29.6.6: +4 -4 lines
Diff to previous 1.29.6.6 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

Sync with head.

Revision 1.43 / (download) - annotate - [select for diffs], Fri Oct 19 11:59:58 2007 UTC (12 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: jmcneill-base
Branch point for: mjf-devfs
Changes since 1.42: +4 -4 lines
Diff to previous 1.42 (colored)

machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.29.6.6 / (download) - annotate - [select for diffs], Tue Oct 9 13:41:29 2007 UTC (12 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.29.6.5: +50 -39 lines
Diff to previous 1.29.6.5 (colored) to branchpoint 1.29 (colored)

Sync with head.

Revision 1.38.6.2 / (download) - annotate - [select for diffs], Tue Oct 2 18:28:25 2007 UTC (12 years, 2 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.38.6.1: +50 -39 lines
Diff to previous 1.38.6.1 (colored) to branchpoint 1.38 (colored)

Sync with HEAD.

Revision 1.38.2.2 / (download) - annotate - [select for diffs], Mon Sep 10 10:54:51 2007 UTC (12 years, 3 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.38.2.1: +50 -39 lines
Diff to previous 1.38.2.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

Sync with HEAD.

Revision 1.42 / (download) - annotate - [select for diffs], Sat Sep 8 03:42:20 2007 UTC (12 years, 3 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5
Branch point for: bouyer-xenamd64
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

Update a comment.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Sep 8 03:38:35 2007 UTC (12 years, 3 months ago) by xtraeme
Branch: MAIN
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

Use a 2 seconds period to refresh sensor data, previous value wasn't
accepted and triggered an assertion.

Revision 1.40 / (download) - annotate - [select for diffs], Sat Sep 8 00:42:11 2007 UTC (12 years, 3 months ago) by xtraeme
Branch: MAIN
Changes since 1.39: +50 -39 lines
Diff to previous 1.39 (colored)

- Use a callout(9) to refresh sensor data each 1.5 seconds, respecting
  the limit in some LM chips.
- Add the lm_detach() function that stops/destroys the callout and
  unregisters the driver from the sysmon_envsys(9) framework.

Revision 1.22.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:35:02 2007 UTC (12 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.22.2.2: +1952 -644 lines
Diff to previous 1.22.2.2 (colored) to branchpoint 1.22 (colored)

sync with head.

Revision 1.27.10.1.2.1 / (download) - annotate - [select for diffs], Mon Sep 3 07:04:24 2007 UTC (12 years, 3 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.27.10.1: +3 -3 lines
Diff to previous 1.27.10.1 (colored) next main 1.27.10.2 (colored)

Sync w/ NetBSD-4-RC_1

Revision 1.29.6.5 / (download) - annotate - [select for diffs], Mon Aug 20 18:36:51 2007 UTC (12 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.29.6.4: +6 -6 lines
Diff to previous 1.29.6.4 (colored) to branchpoint 1.29 (colored)

Sync with HEAD.

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:48:18 2007 UTC (12 years, 3 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.38: +6 -6 lines
Diff to previous 1.38 (colored)

Sync with HEAD.

Revision 1.38.6.1 / (download) - annotate - [select for diffs], Thu Aug 9 02:37:09 2007 UTC (12 years, 4 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.38: +6 -6 lines
Diff to previous 1.38 (colored)

Sync with HEAD.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Aug 8 10:09:43 2007 UTC (12 years, 4 months ago) by xtraeme
Branch: MAIN
Branch point for: matt-armv6
Changes since 1.38: +6 -6 lines
Diff to previous 1.38 (colored)

w83627ehf_sensors: don't add sensors with duplicate descriptions.
These are voltage sensors and the VINX name is appropiate.

Found by Heron Gallegos.

Revision 1.29.6.4 / (download) - annotate - [select for diffs], Sun Jul 15 13:21:16 2007 UTC (12 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.29.6.3: +156 -356 lines
Diff to previous 1.29.6.3 (colored) to branchpoint 1.29 (colored)

Sync with head.

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:06:03 2007 UTC (12 years, 5 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.32: +1517 -498 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync with head.

Revision 1.38 / (download) - annotate - [select for diffs], Mon Jul 2 17:49:47 2007 UTC (12 years, 5 months ago) by xtraeme
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: nick-csl-alignment, jmcneill-pm
Changes since 1.37: +6 -2 lines
Diff to previous 1.37 (colored)

Winbond W83627EHF-A support, from OpenBSD.

Revision 1.37 / (download) - annotate - [select for diffs], Sun Jul 1 08:29:48 2007 UTC (12 years, 5 months ago) by xtraeme
Branch: MAIN
Changes since 1.36: +152 -356 lines
Diff to previous 1.36 (colored)

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).

Revision 1.27.10.2 / (download) - annotate - [select for diffs], Mon Jun 18 09:38:09 2007 UTC (12 years, 5 months ago) by liamjfoy
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.27.10.1: +1 -1 lines
Diff to previous 1.27.10.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #730):
	sys/dev/ic/nslm7x.c: revision 1.36
Fix a typo in RFACT of the second 3.3Vcc of W83627EHF. From OpenBSD.

Revision 1.29.6.3 / (download) - annotate - [select for diffs], Sun May 27 14:30:06 2007 UTC (12 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.29.6.2: +12 -4 lines
Diff to previous 1.29.6.2 (colored) to branchpoint 1.29 (colored)

Sync with head.

Revision 1.36 / (download) - annotate - [select for diffs], Sat May 26 04:19:29 2007 UTC (12 years, 6 months ago) by tsutsui
Branch: MAIN
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

Fix a typo in RFACT of the second 3.3Vcc of W83627EHF. From OpenBSD.

Revision 1.29.2.3 / (download) - annotate - [select for diffs], Mon May 7 10:55:26 2007 UTC (12 years, 7 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.29.2.2: +11 -3 lines
Diff to previous 1.29.2.2 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

sync with head.

Revision 1.27.10.1 / (download) - annotate - [select for diffs], Fri Apr 20 21:09:02 2007 UTC (12 years, 7 months ago) by bouyer
Branch: netbsd-4
Branch point for: wrstuden-fixsa
Changes since 1.27: +1978 -478 lines
Diff to previous 1.27 (colored)

Pull up following revision(s) (requested by xtraeme in ticket #584):
	share/man/man4/lm.4: revisions 1.19 - 1.20
	sys/dev/isa/lm_isa.c: revision 1.16 via patch
	sys/dev/ic/nslm7xvar.h: revision 1.19
	sys/dev/ic/nslm7x.c: revision 1.30 - 1.33 via patch
sync lm(4) with OpenBSD.
Supported chips added with the new code include:
* Winbond: W83627EHF, W83627DHG, W83637HF, W83783S, W83791D, W83791SD,
           W83792D.
* Asus AS9912F.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Apr 19 20:24:47 2007 UTC (12 years, 7 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-idlelwp-base8
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored)

Fix a debug printf.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Apr 19 20:18:39 2007 UTC (12 years, 7 months ago) by xtraeme
Branch: MAIN
Changes since 1.33: +11 -3 lines
Diff to previous 1.33 (colored)

Add more debugging printfs, to see the raw data returned by
the registers.

Revision 1.29.6.2 / (download) - annotate - [select for diffs], Tue Apr 10 13:24:31 2007 UTC (12 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.29.6.1: +1384 -173 lines
Diff to previous 1.29.6.1 (colored) to branchpoint 1.29 (colored)

Sync with head.

Revision 1.29.2.2 / (download) - annotate - [select for diffs], Sat Mar 24 14:55:28 2007 UTC (12 years, 8 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.29.2.1: +1384 -173 lines
Diff to previous 1.29.2.1 (colored) to branchpoint 1.29 (colored)

sync with head.

Revision 1.33 / (download) - annotate - [select for diffs], Tue Mar 13 18:32:35 2007 UTC (12 years, 8 months ago) by xtraeme
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Changes since 1.32: +1384 -173 lines
Diff to previous 1.32 (colored)

Use C99 struct initializers.

Revision 1.29.6.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:50:23 2007 UTC (12 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.29: +767 -478 lines
Diff to previous 1.29 (colored)

Sync with head.

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:53:40 2007 UTC (12 years, 9 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.29: +767 -478 lines
Diff to previous 1.29 (colored)

Sync with HEAD.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Mar 11 22:25:48 2007 UTC (12 years, 9 months ago) by christos
Branch: MAIN
Branch point for: mjf-ufs-trans
Changes since 1.31: +14 -14 lines
Diff to previous 1.31 (colored)

fix missing initializers.

Revision 1.31 / (download) - annotate - [select for diffs], Sun Mar 11 21:23:22 2007 UTC (12 years, 9 months ago) by xtraeme
Branch: MAIN
Changes since 1.30: +85 -86 lines
Diff to previous 1.30 (colored)

Explicitly initialize lm_sensor->rfact for every sensor's chip.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Mar 11 15:03:08 2007 UTC (12 years, 9 months ago) by xtraeme
Branch: MAIN
Changes since 1.29: +768 -478 lines
Diff to previous 1.29 (colored)

Update for the nslm7x driver:

* For each supported chip, there's a struct lm_sensor array
  that specifies the sensor data, like reg, bank, descr, rfact.

* Rather than having 3 functions to setup the voltage, temp and fan
  sensors, just have one that will do all the three steps looking at
  its struct lm_sensor members, simplifying a lot the code.

and more things that I can remember, our code now is synced with
OpenBSD, IMHO much better to understand and maintain in the future.

Supported chips added with the new code include:

* Winbond: W83627EHF, W83627DHG, W83637HF, W83783S, W83791D, W83791SD,
           W83792D.
* Asus AS9912F.

My new mobo with the Winbond W83627DHG chip correctly reports
the values now:

lm0 at isa0 port 0x290-0x297: Winbond W83627DHG Hardware monitor

[juan@nocturno][~]> envstat -r
      VCore:      1.232 V
       +12V:     12.091 V
      +3.3V:      3.264 V
        +5V:      4.945 V
       VBAT:      3.728 V
System Temp:     36.000 degC
   CPU Temp:     29.500 degC
   Aux Temp:     22.000 degC
    CPU Fan:       1591 RPM
[juan@nocturno][~]>

Revision 1.22.2.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:10:10 2007 UTC (12 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.22.2.1: +3 -4 lines
Diff to previous 1.22.2.1 (colored) to branchpoint 1.22 (colored)

sync with head.

Revision 1.27.6.2 / (download) - annotate - [select for diffs], Thu Feb 1 08:48:20 2007 UTC (12 years, 10 months ago) by ad
Branch: newlock2
Changes since 1.27.6.1: +2 -3 lines
Diff to previous 1.27.6.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

Sync with head.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jan 29 01:52:45 2007 UTC (12 years, 10 months ago) by hubertf
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, vmlocking
Changes since 1.28: +2 -3 lines
Diff to previous 1.28 (colored)

Remove more duplicate headers.
Patch by Slava Semushin <slava.semushin@gmail.com>

Again, this was tested by comparing obj files from a pristine and a patched
source tree against an i386/ALL kernel, and also for src/sbin/fsck_ffs,
src/sbin/fsdb and src/usr.sbin/makefs. Only changes in assert() line numbers
were detected in 'objdump -d' output.

Revision 1.27.6.1 / (download) - annotate - [select for diffs], Fri Jan 12 00:57:36 2007 UTC (12 years, 10 months ago) by ad
Branch: newlock2
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

Sync with head.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Jan 7 12:10:18 2007 UTC (12 years, 11 months ago) by tsutsui
Branch: MAIN
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

Typo.

Revision 1.24.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:50:02 2006 UTC (13 years, 3 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.24: +15 -243 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

sync with head

Revision 1.24.8.2 / (download) - annotate - [select for diffs], Mon Jun 26 12:51:01 2006 UTC (13 years, 5 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.24.8.1: +15 -21 lines
Diff to previous 1.24.8.1 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

sync with head.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:02:55 2006 UTC (13 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.22: +19 -244 lines
Diff to previous 1.22 (colored)

sync with head.

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 03:58:13 2006 UTC (13 years, 5 months ago) by chap
Branch: chap-midi
Changes since 1.25: +15 -21 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Sync with head.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Jun 8 10:56:49 2006 UTC (13 years, 6 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, rpaulo-netinet-merge-pcb-base, netbsd-4-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2, netbsd-4
Changes since 1.26: +3 -2 lines
Diff to previous 1.26 (colored)

Add missing brace to make it compile again.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Jun 7 22:33:36 2006 UTC (13 years, 6 months ago) by kardel
Branch: MAIN
Changes since 1.25: +14 -21 lines
Diff to previous 1.25 (colored)

merge FreeBSD timecounters from branch simonb-timecounters
- struct timeval time is gone
  time.tv_sec -> time_second
- struct timeval mono_time is gone
  mono_time.tv_sec -> time_uptime
- access to time via
	{get,}{micro,nano,bin}time()
	get* versions are fast but less precise
- support NTP nanokernel implementation (NTP API 4)
- further reading:
  Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf
  NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html

Revision 1.24.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:36:26 2006 UTC (13 years, 6 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.24.6.1: +2 -224 lines
Diff to previous 1.24.6.1 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

Sync with head.

Revision 1.24.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:25 2006 UTC (13 years, 6 months ago) by tron
Branch: peter-altq
Changes since 1.24: +2 -224 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.24.8.1 / (download) - annotate - [select for diffs], Wed May 24 10:57:42 2006 UTC (13 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.24: +2 -224 lines
Diff to previous 1.24 (colored)

sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Sat May 13 09:03:21 2006 UTC (13 years, 6 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5, simonb-timecounters-base
Branch point for: chap-midi
Changes since 1.24: +2 -224 lines
Diff to previous 1.24 (colored)

Remove code for the IT87xxF chipsets, it was included on its own
driver (it(4)).

Revision 1.24.6.1 / (download) - annotate - [select for diffs], Sat Feb 4 14:03:58 2006 UTC (13 years, 10 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.24: +14 -21 lines
Diff to previous 1.24 (colored)

Adapt for timecounters: mostly use get*time() and use "time_second"
instead of "time.tv_sec".

Revision 1.24 / (download) - annotate - [select for diffs], Sun Dec 11 12:21:28 2005 UTC (13 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, elad-kernelauth-base, elad-kernelauth
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

merge ktrace-lwp.

Revision 1.17.6.4 / (download) - annotate - [select for diffs], Thu Nov 10 14:04:15 2005 UTC (14 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.17.6.3: +22 -10 lines
Diff to previous 1.17.6.3 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)

Sync with HEAD. Here we go again...

Revision 1.21.2.2 / (download) - annotate - [select for diffs], Sat Oct 15 21:48:44 2005 UTC (14 years, 1 month ago) by riz
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.21.2.1: +6 -3 lines
Diff to previous 1.21.2.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Pull up following revision(s) (requested by xtraeme in ticket #893):
	sys/dev/ic/nslm7x.c: revision 1.23
	sys/dev/ic/nslm7xvar.h: revision 1.16
Added support for Winbond 83627THF, from OpenBSD.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Oct 15 00:41:48 2005 UTC (14 years, 1 month ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.22: +6 -3 lines
Diff to previous 1.22 (colored)

Added support for Winbond 83627THF, from OpenBSD.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Sun May 1 10:38:44 2005 UTC (14 years, 7 months ago) by tron
Branch: netbsd-3
Changes since 1.21: +18 -9 lines
Diff to previous 1.21 (colored)

Pull up revision 1.22 (requested by xtraeme in ticket #213):
Identify correctly ITE Super I/O chipsets by checking the core ID
register (only available in the model 8712F), if that fails we check
the vendor ID register as before.

Revision 1.19.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:51 2005 UTC (14 years, 7 months ago) by kent
Branch: kent-audio2
Changes since 1.19: +62 -53 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

sync with -current

Revision 1.22 / (download) - annotate - [select for diffs], Fri Apr 29 02:02:52 2005 UTC (14 years, 7 months ago) by xtraeme
Branch: MAIN
CVS Tags: kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.21: +18 -9 lines
Diff to previous 1.21 (colored)

Identify correctly ITE Super I/O chipsets by checking the core ID
register (only available in the model 8712F), if that fails we check
the vendor ID register as before.

Revision 1.19.6.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:34:03 2005 UTC (14 years, 8 months ago) by yamt
Branch: yamt-km
Changes since 1.19.6.1: +4 -4 lines
Diff to previous 1.19.6.1 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.17.6.3 / (download) - annotate - [select for diffs], Fri Mar 4 16:41:31 2005 UTC (14 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.17.6.2: +4 -4 lines
Diff to previous 1.17.6.2 (colored) to branchpoint 1.17 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.21 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:02 2005 UTC (14 years, 9 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base
Branch point for: netbsd-3
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

nuke trailing whitespace

Revision 1.19.6.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:44 2005 UTC (14 years, 9 months ago) by yamt
Branch: yamt-km
Changes since 1.19: +44 -44 lines
Diff to previous 1.19 (colored)

sync with head.

Revision 1.17.6.2 / (download) - annotate - [select for diffs], Fri Feb 4 11:45:26 2005 UTC (14 years, 10 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.17.6.1: +44 -44 lines
Diff to previous 1.17.6.1 (colored) to branchpoint 1.17 (colored)

Sync with HEAD.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Feb 4 02:10:36 2005 UTC (14 years, 10 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base2
Changes since 1.19: +44 -44 lines
Diff to previous 1.19 (colored)

de-__P

Revision 1.17.6.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:46:17 2004 UTC (15 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.17: +245 -37 lines
Diff to previous 1.17 (colored)

Sync with HEAD

Revision 1.19 / (download) - annotate - [select for diffs], Sat Jul 24 18:59:16 2004 UTC (15 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.18: +228 -24 lines
Diff to previous 1.18 (colored)

PR/26420: Thilo Manske: lm(4): Add support vor environment controller
built into iTE 8705f
Also: change some memcpy's to strlcpy's and some (0)'s to 0's

Revision 1.18 / (download) - annotate - [select for diffs], Thu Apr 22 00:17:11 2004 UTC (15 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.17: +19 -15 lines
Diff to previous 1.17 (colored)

sprintf -> snprintf

Revision 1.11.4.5 / (download) - annotate - [select for diffs], Wed Dec 11 06:38:01 2002 UTC (17 years ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.11.4.4: +74 -76 lines
Diff to previous 1.11.4.4 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Sync with HEAD.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Nov 15 14:55:41 2002 UTC (17 years ago) by ad
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Branch point for: ktrace-lwp
Changes since 1.16: +76 -78 lines
Diff to previous 1.16 (colored)

Changes for SMBus/I2C:

- Move lm_readreg/lm_writereg into the front-ends. Add/use function pointers
  in the softc.
- Add a bank select function pointer to the softc and provide a generic
  version. WinBond chips accessed over serial bus present three addresses,
  two of which are used to access bank 1/2 registers.
- Mark TSENS2/3 sensor data as invalid if the the corresponding bank select
  fails.

Revision 1.11.4.4 / (download) - annotate - [select for diffs], Mon Nov 11 22:09:55 2002 UTC (17 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.4.3: +1 -1 lines
Diff to previous 1.11.4.3 (colored) to branchpoint 1.11 (colored)

Catch up to -current

Revision 1.16 / (download) - annotate - [select for diffs], Thu Nov 7 08:08:51 2002 UTC (17 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Fix signed/unsigned comparison warnings.

Revision 1.11.6.2 / (download) - annotate - [select for diffs], Sun Jun 23 17:46:45 2002 UTC (17 years, 5 months ago) by jdolecek
Branch: kqueue
Changes since 1.11.6.1: +85 -8 lines
Diff to previous 1.11.6.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

catch up with -current on kqueue branch

Revision 1.11.4.3 / (download) - annotate - [select for diffs], Wed Apr 17 00:05:50 2002 UTC (17 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.4.2: +84 -7 lines
Diff to previous 1.11.4.2 (colored) to branchpoint 1.11 (colored)

Catch up to -current.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Apr 5 16:11:47 2002 UTC (17 years, 8 months ago) by bouyer
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gehenna-devsw-base, gehenna-devsw
Changes since 1.14: +5 -2 lines
Diff to previous 1.14 (colored)

Properly identify LM81. From Sergey Svishchev in PR kern/13420.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Mar 30 13:37:41 2002 UTC (17 years, 8 months ago) by tron
Branch: MAIN
Changes since 1.13: +82 -8 lines
Diff to previous 1.13 (colored)

Apply changes provided by Thilo Manske in PR kern/16118:
1. Fix setting of nominal fan speeds with ENVSYS_STREINFO.
2. Treat Winbond 83781D specially because it has a programmable divisor for
   FAN3 unlike generic devices.
3. Set nominal RPMs.
4. Fix a typo in the code for setting FAN3's divisor for W83782 type
   hardware monitors.

Revision 1.11.6.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:54:56 2002 UTC (17 years, 11 months ago) by thorpej
Branch: kqueue
Changes since 1.11: +5 -2 lines
Diff to previous 1.11 (colored)

Sync kqueue branch with -current.

Revision 1.11.4.2 / (download) - annotate - [select for diffs], Wed Nov 14 19:14:32 2001 UTC (18 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.4.1: +4 -1 lines
Diff to previous 1.11.4.1 (colored) to branchpoint 1.11 (colored)

Catch up to -current.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Nov 13 13:14:42 2001 UTC (18 years ago) by lukem
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base, eeh-devprop-base, eeh-devprop
Changes since 1.12: +4 -1 lines
Diff to previous 1.12 (colored)

add/cleanup RCSID

Revision 1.11.8.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:45:41 2001 UTC (18 years, 2 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Catch up with -current.

Revision 1.11.4.1 / (download) - annotate - [select for diffs], Fri Sep 21 22:35:43 2001 UTC (18 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Catch up to -current.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Sep 16 16:34:37 2001 UTC (18 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Spell 'occurred' with two 'r's.

Revision 1.11.2.3 / (download) - annotate - [select for diffs], Wed Nov 22 16:03:29 2000 UTC (19 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.11.2.2: +3 -3 lines
Diff to previous 1.11.2.2 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Sync with HEAD.

Revision 1.11.2.2 / (download) - annotate - [select for diffs], Mon Nov 20 11:40:50 2000 UTC (19 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.11.2.1: +819 -0 lines
Diff to previous 1.11.2.1 (colored) to branchpoint 1.11 (colored)

Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.11.2.1, Sat Nov 4 18:28:19 2000 UTC (19 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.11: +0 -819 lines
FILE REMOVED

file nslm7x.c was added on branch thorpej_scsipi on 2000-11-20 11:40:50 +0000

Revision 1.11 / (download) - annotate - [select for diffs], Sat Nov 4 18:28:19 2000 UTC (19 years, 1 month ago) by veego
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej_scsipi, thorpej-devvp, nathanw_sa, kqueue
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Print the vendor and chip id in the DPRINTF with 0x%x and not just %d.

Revision 1.3.4.3 / (download) - annotate - [select for diffs], Fri Aug 4 14:11:39 2000 UTC (19 years, 4 months ago) by bouyer
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Changes since 1.3.4.2: +156 -91 lines
Diff to previous 1.3.4.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Pull up (approved by jhawk):
share/man/man4/lm.4 1.6->1.8
sys/dev/ic/nslm7x.c  1.7 -> 1.10
sys/dev/ic/nslm7xvar.h 1.5->1.7

Factor out a few things in common functions.
Add support for W83781D, W83782D and W83697HF hardware monitors.
Print sdata for each sensors if DEBUG.
Update doc (W83781D & W83782D tested, W83697HF untested but "should work"
because very close to the W83627HF).

Revision 1.10 / (download) - annotate - [select for diffs], Thu Aug 3 09:27:01 2000 UTC (19 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.9: +10 -5 lines
Diff to previous 1.9 (colored)

Some W83781 have ID 0x11 instead of 0x10; handle these too.
Restore printing sdata for each sensors if DEBUG.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Aug 2 22:20:41 2000 UTC (19 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.8: +9 -13 lines
Diff to previous 1.8 (colored)

W83781D: Explicitely reselect bank0 before using "value RAM" registers.
Hopefully this will make the W83781D works.
Also use common functions to set up fan & temp info[] & sensors[] for
the W83781D.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Aug 2 21:50:37 2000 UTC (19 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.7: +142 -78 lines
Diff to previous 1.7 (colored)

Add support for the W83697HF - basically a W83627HF with only 2 temp sensors.

Revision 1.3.4.2 / (download) - annotate - [select for diffs], Wed Aug 2 17:09:49 2000 UTC (19 years, 4 months ago) by bouyer
Branch: netbsd-1-5
Changes since 1.3.4.1: +523 -145 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored)

Pull up (approved by thorpej):
sys/dev/ic/nslm7x.c 1.4->1.7
sys/dev/ic/nslm7xvar.h 1.3->1.5
share/man/man4/lm.4 1.5->1.6

Add support for a few winbond hardware monitors.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jul 30 22:23:53 2000 UTC (19 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.6: +241 -122 lines
Diff to previous 1.6 (colored)

Add support for the W83781D and W83782D hardware monitors.

Revision 1.3.4.1 / (download) - annotate - [select for diffs], Sun Jul 30 17:54:14 2000 UTC (19 years, 4 months ago) by bouyer
Branch: netbsd-1-5
Changes since 1.3: +90 -168 lines
Diff to previous 1.3 (colored)

Pull up (requested by thorpej):
lm_pnpbios.c 1.2->1.3
files 1.374->1.375
nslm7x.c 1.3->1.4
nslm7xvar.h 1.2->1.3
lm_isa.c 1.2->1.3
files.pci 1.96->1.97
viaenv.c 1.2->1.3
sysmon.c 1.1
sysmonvar.h 1.1

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI).  Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jul 30 17:22:26 2000 UTC (19 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

swap lm_match() and wb_match(), as wb_match() is more restrictive.
Otherwise a winbond can be mis-probed as a lm if it has the rigth device ID.
Problem reported by Bernd Ernesti.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jul 27 21:49:22 2000 UTC (19 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.4: +374 -115 lines
Diff to previous 1.4 (colored)

Add support for the W83627HF: lm7x like, but with  more sensors, and more
registers.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jun 24 00:37:19 2000 UTC (19 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +90 -168 lines
Diff to previous 1.3 (colored)

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI).  Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Mar 9 04:20:58 2000 UTC (19 years, 9 months ago) by groo
Branch: MAIN
CVS Tags: netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.2: +17 -11 lines
Diff to previous 1.2 (colored)

support rfact.  use manufac. suggested resistor values by default
clean up some comments

Revision 1.2 / (download) - annotate - [select for diffs], Tue Mar 7 18:39:14 2000 UTC (19 years, 9 months ago) by groo
Branch: MAIN
Changes since 1.1: +37 -2 lines
Diff to previous 1.1 (colored)

split probe into generic and bus specific

Revision 1.1 / (download) - annotate - [select for diffs], Fri Feb 25 02:17:43 2000 UTC (19 years, 9 months ago) by groo
Branch: MAIN

Initial import of National Semiconductor LM7[89] Hardware Monitor with isa and
pnpbios attach.

examples:

	lm0 at pnpbios0 index?
	lm0 at isa? port 0x290


TODO: spinlocks, i2c interface.

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>