The NetBSD Project

CVS log for src/sys/dev/isa/wbsio.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.10.10.8: download - view: text, markup, annotated - select for diffs
Thu Jan 19 10:41:58 2023 UTC (2 years, 3 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.10.10.7: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.10.7: +2 -1 lines
Pull up following revision(s) (requested by msaitoh in ticket #1784):

	share/man/man4/lm.4: revision 1.38
	sys/dev/ic/nslm7x.c: revision 1.79
	sys/dev/isa/wbsio.c: revision 1.30
	sys/dev/isa/wbsioreg.h: revision 1.11

lm(4): Add Nuvoton NCT6797D support.

Revision 1.25.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 19 10:40:25 2023 UTC (2 years, 3 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE
Diff to: previous 1.25.2.1: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.2.1: +2 -1 lines
Pull up following revision(s) (requested by msaitoh in ticket #1568):

	share/man/man4/lm.4: revision 1.38
	sys/dev/ic/nslm7x.c: revision 1.79
	sys/dev/isa/wbsio.c: revision 1.30
	sys/dev/isa/wbsioreg.h: revision 1.11

lm(4): Add Nuvoton NCT6797D support.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Dec 16 00:02:28 2022 UTC (2 years, 4 months ago) by msaitoh
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, 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, HEAD
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -1 lines
lm(4): Add Nuvoton NCT6797D support.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Nov 2 20:38:22 2022 UTC (2 years, 5 months ago) by andvar
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2 lines
fix various typos in comments and messages.

Revision 1.10.10.7: download - view: text, markup, annotated - select for diffs
Sat Oct 15 10:52:16 2022 UTC (2 years, 6 months ago) by martin
Branches: netbsd-8
Diff to: previous 1.10.10.6: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.10.6: +2 -1 lines
Pull up following revision(s) (requested by msaitoh in ticket #1774):

	share/man/man4/lm.4: revision 1.37
	sys/dev/isa/wbsio.c: revision 1.28
	sys/dev/ic/nslm7x.c: revision 1.78
	sys/dev/isa/wbsioreg.h: revision 1.10

Add Nuvoton NCT6799D support.

Revision 1.25.2.1: download - view: text, markup, annotated - select for diffs
Sat Oct 15 09:45:54 2022 UTC (2 years, 6 months ago) by martin
Branches: netbsd-9
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -1 lines
Pull up following revision(s) (requested by msaitoh in ticket #1541):

	share/man/man4/lm.4: revision 1.37
	sys/dev/isa/wbsio.c: revision 1.28
	sys/dev/ic/nslm7x.c: revision 1.78
	sys/dev/isa/wbsioreg.h: revision 1.10

Add Nuvoton NCT6799D support.

Add NCT679[89] to the supported list.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Oct 1 07:22:55 2022 UTC (2 years, 6 months ago) by msaitoh
Branches: MAIN
CVS tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -1 lines
Add Nuvoton NCT6799D support.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Aug 7 16:19:12 2021 UTC (3 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +9 -11 lines
Merge thorpej-cfargs2.

Revision 1.26.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 4 20:27:36 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-cfargs2
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +9 -11 lines
Adapt to CFARGS().

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:55 2021 UTC (3 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-cfargs2
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +15 -6 lines
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

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

Revision 1.25.12.3: download - view: text, markup, annotated - select for diffs
Sun Apr 4 22:01:22 2021 UTC (4 years ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.25.12.2: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.12.2: +3 -3 lines
CFARG_SUBMATCH -> CFARG_SEARCH for the indirect configuration uses.

Revision 1.25.12.2: download - view: text, markup, annotated - select for diffs
Sat Apr 3 01:57:17 2021 UTC (4 years ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.25.12.1: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.12.1: +5 -3 lines
Give config_attach() the tagged variadic argument treatment and
mechanically convert all call sites.

Revision 1.25.12.1: download - view: text, markup, annotated - select for diffs
Sat Mar 20 19:33:40 2021 UTC (4 years, 1 month ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +11 -4 lines
The proliferation if config_search_*() and config_found_*() combinations
is a little absurd, so begin to tidy this up:

- Introduce a new cfarg_t enumerated type, that defines the types of
  tag-value variadic arguments that can be passed to the various
  config_*() functions (CFARG_SUBMATCH, CFARG_IATTR, and CFARG_LOCATORS,
  for now, plus a CFARG_EOL sentinel).
- Collapse config_search_*() into config_search() that takes these
  variadic arguments.
- Convert all call sites of config_search_*() to the new signature.
  Noticed several incorrect usages along the way, which will be
  audited in a future commit.

Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:22 2020 UTC (5 years ago) by martin
Branches: phil-wifi
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +39 -37 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.10.10.6: download - view: text, markup, annotated - select for diffs
Wed Jul 17 15:43:18 2019 UTC (5 years, 9 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-2-RELEASE
Diff to: previous 1.10.10.5: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.10.5: +39 -37 lines
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.25: download - view: text, markup, annotated - select for diffs
Wed Jul 10 16:23:55 2019 UTC (5 years, 9 months ago) by msaitoh
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, 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
Branch point for: thorpej-cfargs, netbsd-9
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +39 -37 lines
 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.10.10.5: download - view: text, markup, annotated - select for diffs
Thu Jul 26 20:37:42 2018 UTC (6 years, 8 months ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-1-RELEASE, netbsd-8-1-RC1
Diff to: previous 1.10.10.4: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.10.4: +2 -1 lines
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.10.10.4: download - view: text, markup, annotated - select for diffs
Sat May 5 15:08:14 2018 UTC (6 years, 11 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-0-RELEASE, netbsd-8-0-RC2
Diff to: previous 1.10.10.3: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.10.3: +2 -2 lines
Pull up following revision(s) (requested by yamaguchi in ticket #789):

	sys/dev/isa/wbsio.c: revision 1.24

Use spin mutex to fix a panic

The GPIO part of wbsio(4) has a lock to keep the register access
order. In addition to the lock, gpio(4) has a look to prevent
multiple control through gpio_pin_ctl(). Those locks hold at
once when gpio_pin_ctl() is called, and the lock of gpio(4) hold
before that of wbsio(4).

Therefore, the wbsio(4) has to use spin lock if gpio(4) uses
spin lock.

Revision 1.22.2.2: download - view: text, markup, annotated - select for diffs
Wed May 2 07:20:06 2018 UTC (6 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.22.2.1: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.2.1: +2 -2 lines
Synch with HEAD

Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed Apr 25 08:29:45 2018 UTC (7 years ago) by yamaguchi
Branches: MAIN
CVS tags: phil-wifi-base, phil-wifi-20190609, 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, pgoyette-compat-0521, pgoyette-compat-0502, jdolecek-ncqfixes-base, jdolecek-ncqfixes, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
Use spin mutex to fix a panic

The GPIO part of wbsio(4) has a lock to keep the register access
order. In addition to the lock, gpio(4) has a look to prevent
multiple control through gpio_pin_ctl(). Those locks hold at
once when gpio_pin_ctl() is called, and the lock of gpio(4) hold
before that of wbsio(4).

Therefore, the wbsio(4) has to use spin lock if gpio(4) uses
spin lock.

Revision 1.10.10.3: download - view: text, markup, annotated - select for diffs
Mon Apr 16 14:28:23 2018 UTC (7 years ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-0-RC1
Diff to: previous 1.10.10.2: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.10.2: +6 -4 lines
Pull up following revision(s) (requested by yamaguchi in ticket #765):

	sys/dev/isa/wbsio.c: revision 1.22

Handle watchdog attachment in the wbsio_rescan() function, where we
take care of other children.

ok knakahara@ and yamaguchi@

Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Thu Mar 15 09:12:05 2018 UTC (7 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -1 lines
Synch with HEAD

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Mar 7 09:25:56 2018 UTC (7 years, 1 month ago) by msaitoh
Branches: MAIN
CVS tags: pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -1 lines
 Add NCT6796D. Some functions of NCT6796D is extended from NCT6795D,
but this commit doesn't support them yet.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Feb 20 01:53:39 2018 UTC (7 years, 2 months ago) by pgoyette
Branches: MAIN
CVS tags: pgoyette-compat-base
Branch point for: pgoyette-compat
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +6 -4 lines
Handle watchdog attachment in the wbsio_rescan() function, where we
take care of other children.

ok knakahara@ and yamaguchi@

Revision 1.10.10.2: download - view: text, markup, annotated - select for diffs
Mon Feb 19 18:50:35 2018 UTC (7 years, 2 months ago) by snj
Branches: netbsd-8
Diff to: previous 1.10.10.1: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.10.1: +612 -13 lines
Pull up following revision(s) (requested by yamaguchi in ticket #558):
	share/man/man4/wbsio.4: 1.7-1.8
	sys/dev/isa/files.isa: 1.168-1.169
	sys/dev/isa/wbsio.c: 1.16-1.21
	sys/dev/isa/wbsioreg.h: 1.6-1.7
Add wbsio(4) GPIO driver. Implemeted by s-yamaguchi@IIJ, reviewed by msaitoh@n.o.
I just commit by proxy.
--
Fix NCT6779 gpio pin configuration. Implemeted by s-yamaguchi@IIJ, reviewed by msaitoh@n.o.
I just commit by proxy.
--
Add Watchdog timer implementation to wbsio(4). Implemeted by s-yamaguchi@IIJ, reviewed by msaitoh@n.o.
I just commit by proxy.
--
Add an option to enable GPIO function of wbsio. Implemeted by s-yamaguchi@IIJ, reviewed by msaitoh@n.o.
I just commit by proxy.
--
Improve the error log message to use product name. Implemeted by s-yamaguchi@IIJ, reviewed by msaitoh@n.o.
I just commit by proxy.
--
Update the manual of wbsio(4). Implemeted by s-yamaguchi@IIJ, reviewed by msaitoh@n.o.
I just commit by proxy.
--
New sentence, new line. Fix xref. Sort SEE ALSO.
--
PR/52887: HITOSHI Osada: wbsio needs sysmon_wdog.
--
Now that watchdog support has been added, make sure that a modular driver
requires the sysmon_wdog module.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Jan 2 00:47:14 2018 UTC (7 years, 3 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2 lines
Now that watchdog support has been added, make sure that a modular driver
requires the sysmon_wdog module.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Dec 13 00:31:46 2017 UTC (7 years, 4 months ago) by knakahara
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -2 lines
Improve the error log message to use product name. Implemeted by s-yamaguchi@IIJ, reviewed by msaitoh@n.o.

I just commit by proxy.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Dec 13 00:29:02 2017 UTC (7 years, 4 months ago) by knakahara
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -2 lines
Add an option to enable GPIO function of wbsio. Implemeted by s-yamaguchi@IIJ, reviewed by msaitoh@n.o.

I just commit by proxy.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Dec 13 00:27:53 2017 UTC (7 years, 4 months ago) by knakahara
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +211 -21 lines
Add Watchdog timer implementation to wbsio(4). Implemeted by s-yamaguchi@IIJ, reviewed by msaitoh@n.o.

I just commit by proxy.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Dec 13 00:27:01 2017 UTC (7 years, 4 months ago) by knakahara
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
Fix NCT6779 gpio pin configuration. Implemeted by s-yamaguchi@IIJ, reviewed by msaitoh@n.o.

I just commit by proxy.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Dec 13 00:26:06 2017 UTC (7 years, 4 months ago) by knakahara
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +408 -1 lines
Add wbsio(4) GPIO driver. Implemeted by s-yamaguchi@IIJ, reviewed by msaitoh@n.o.

I just commit by proxy.

Revision 1.9.6.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:05 2017 UTC (7 years, 4 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +120 -92 lines
update from HEAD

Revision 1.10.10.1: download - view: text, markup, annotated - select for diffs
Wed Nov 22 14:56:30 2017 UTC (7 years, 5 months ago) by martin
Branches: netbsd-8
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +112 -98 lines
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.9.24.2: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:52:04 2017 UTC (7 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.9.24.1: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.24.1: +111 -97 lines
Sync with HEAD

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Aug 18 04:07:51 2017 UTC (7 years, 8 months ago) by msaitoh
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, nick-nhusb-base-20170825
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +105 -118 lines
- 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.14: download - view: text, markup, annotated - select for diffs
Thu Aug 17 05:32:04 2017 UTC (7 years, 8 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -4 lines
 Print chip name correctly.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Aug 9 04:45:38 2017 UTC (7 years, 8 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +8 -9 lines
- Sprinkle static and const. No functional change.
- Print chip ID in hexadecimal instead of octal in def_match().

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Jul 11 10:10:51 2017 UTC (7 years, 9 months ago) by msaitoh
Branches: MAIN
CVS tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +19 -15 lines
lm(4): Add suport for NCT5174D, NCT6775F, NCT6779D and NCT679[1235]D.
wbsio(4): Add support for NCT6795D.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Jul 7 08:42:15 2017 UTC (7 years, 9 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +63 -39 lines
 Add Winbond W83627DHG-P, W83627SF, W83627UHG, W83667HGB, W83687THF, W83697UG,
Nuvoton NCT5104D, NCT6775, NCT6779, NCT6791, NCT6792 and NCT6793.

Revision 1.9.24.1: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:25:03 2016 UTC (8 years, 9 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +19 -5 lines
Sync with HEAD

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Jun 1 02:37:47 2016 UTC (8 years, 10 months ago) by pgoyette
Branches: 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
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +19 -5 lines
Add support for Nuvoton NCT6776F from OpenBSD

From PR kern/49747

Revision 1.3.4.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:40 2012 UTC (13 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +118 -18 lines
sync with head

Revision 1.3.8.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:34:30 2012 UTC (13 years, 2 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +118 -18 lines
merge to -current.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Jan 18 00:23:30 2012 UTC (13 years, 3 months ago) by jakllsch
Branches: MAIN
CVS tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, 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, netbsd-7, 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, nick-nhusb
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +77 -31 lines
wbsio(4) rescan support.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Jan 17 18:04:46 2012 UTC (13 years, 3 months ago) by jakllsch
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -2 lines
Make this compile.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Jan 17 17:17:15 2012 UTC (13 years, 3 months ago) by jakllsch
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
No module dependencies are denoted with NULL.  Pointed out by jmcneill.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Jan 17 16:34:52 2012 UTC (13 years, 3 months ago) by jakllsch
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +31 -1 lines
Add module glue.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Jan 17 16:32:03 2012 UTC (13 years, 3 months ago) by jakllsch
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +23 -3 lines
Add and enable detachment and child detachment functions.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Jan 17 16:28:33 2012 UTC (13 years, 3 months ago) by jakllsch
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -1 lines
Add NULL pmf handlers.

Revision 1.2.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:07:57 2011 UTC (13 years, 10 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +2 -2 lines
Sync with HEAD.

Revision 1.1.4.2: download - view: text, markup, annotated - select for diffs
Tue May 31 03:04:38 2011 UTC (13 years, 10 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.1.4.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.4.1: +2 -2 lines
sync with head

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed May 18 01:03:15 2011 UTC (13 years, 11 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, jmcneill-usbmp
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
#include <sys/bus.h>, not <machine/bus.h>.

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:36 2010 UTC (14 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
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: +5 -1 lines
sync with head.

Revision 1.1.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:28 2010 UTC (14 years, 10 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -1 lines
sync with head

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:27 2010 UTC (14 years, 11 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +240 -0 lines
Sync with HEAD.

Revision 1.2.2.1
Fri Mar 19 02:17:41 2010 UTC (15 years, 1 month ago) by uebayasi
Branches: uebayasi-xip
FILE REMOVED
Changes since revision 1.2: +0 -240 lines
file wbsio.c was added on branch uebayasi-xip on 2010-04-30 14:43:27 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Mar 19 02:17:41 2010 UTC (15 years, 1 month ago) by cnst
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: uebayasi-xip, jruoho-x86intr
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -1 lines
support W83667HG (0xa5) in wbsio(4); its hw mon is already supported by lm(4) as W83627DHG (0xc1)

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:37 2010 UTC (15 years, 1 month ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +236 -0 lines
sync with head

Revision 1.1.2.1
Sun Feb 21 05:16:29 2010 UTC (15 years, 2 months ago) by yamt
Branches: yamt-nfs-mp
FILE REMOVED
Changes since revision 1.1: +0 -236 lines
file wbsio.c was added on branch yamt-nfs-mp on 2010-03-11 15:03:37 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Feb 21 05:16:29 2010 UTC (15 years, 2 months ago) by cnst
Branches: MAIN
CVS tags: yamt-nfs-mp-base9
Branch point for: yamt-nfs-mp, rmind-uvmplock
New wbsio(4) driver for Winbond Super I/O attachment of lm(4) on any port.

    http://mail-index.netbsd.org/tech-kern/2010/02/17/msg007338.html

Reviewed by <pgoyette>, <tech-kern>.

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>