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


Default branch: MAIN


Revision 1.10.10.8 / (download) - annotate - [select for diffs], Thu Jan 19 10:41:58 2023 UTC (13 months, 1 week ago) by martin
Branch: netbsd-8
Changes since 1.10.10.7: +2 -1 lines
Diff to previous 1.10.10.7 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

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) - annotate - [select for diffs], Thu Jan 19 10:40:25 2023 UTC (13 months, 1 week ago) by martin
Branch: netbsd-9
Changes since 1.25.2.1: +2 -1 lines
Diff to previous 1.25.2.1 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

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) - annotate - [select for diffs], Fri Dec 16 00:02:28 2022 UTC (14 months, 1 week ago) by msaitoh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (colored)

lm(4): Add Nuvoton NCT6797D support.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Nov 2 20:38:22 2022 UTC (15 months, 3 weeks ago) by andvar
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

fix various typos in comments and messages.

Revision 1.10.10.7 / (download) - annotate - [select for diffs], Sat Oct 15 10:52:16 2022 UTC (16 months, 2 weeks ago) by martin
Branch: netbsd-8
Changes since 1.10.10.6: +2 -1 lines
Diff to previous 1.10.10.6 (colored) to branchpoint 1.10 (colored)

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) - annotate - [select for diffs], Sat Oct 15 09:45:54 2022 UTC (16 months, 2 weeks ago) by martin
Branch: netbsd-9
Changes since 1.25: +2 -1 lines
Diff to previous 1.25 (colored)

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) - annotate - [select for diffs], Sat Oct 1 07:22:55 2022 UTC (16 months, 4 weeks ago) by msaitoh
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.27: +2 -1 lines
Diff to previous 1.27 (colored)

Add Nuvoton NCT6799D support.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Aug 7 16:19:12 2021 UTC (2 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Changes since 1.26: +9 -11 lines
Diff to previous 1.26 (colored)

Merge thorpej-cfargs2.

Revision 1.26.8.1 / (download) - annotate - [select for diffs], Wed Aug 4 20:27:36 2021 UTC (2 years, 6 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.26: +9 -11 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Adapt to CFARGS().

Revision 1.26 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:55 2021 UTC (2 years, 10 months ago) by thorpej
Branch: 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
Changes since 1.25: +15 -6 lines
Diff to previous 1.25 (colored)

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) - annotate - [select for diffs], Sun Apr 4 22:01:22 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.25.12.2: +3 -3 lines
Diff to previous 1.25.12.2 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

CFARG_SUBMATCH -> CFARG_SEARCH for the indirect configuration uses.

Revision 1.25.12.2 / (download) - annotate - [select for diffs], Sat Apr 3 01:57:17 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.25.12.1: +5 -3 lines
Diff to previous 1.25.12.1 (colored) to branchpoint 1.25 (colored)

Give config_attach() the tagged variadic argument treatment and
mechanically convert all call sites.

Revision 1.25.12.1 / (download) - annotate - [select for diffs], Sat Mar 20 19:33:40 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.25: +11 -4 lines
Diff to previous 1.25 (colored)

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) - annotate - [select for diffs], Mon Apr 13 08:04:22 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.24: +39 -37 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.10.10.6 / (download) - annotate - [select for diffs], Wed Jul 17 15:43:18 2019 UTC (4 years, 7 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE
Changes since 1.10.10.5: +39 -37 lines
Diff to previous 1.10.10.5 (colored) to branchpoint 1.10 (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.25 / (download) - annotate - [select for diffs], Wed Jul 10 16:23:55 2019 UTC (4 years, 7 months ago) by msaitoh
Branch: 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
Changes since 1.24: +39 -37 lines
Diff to previous 1.24 (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.10.10.5 / (download) - annotate - [select for diffs], Thu Jul 26 20:37:42 2018 UTC (5 years, 7 months ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.10.10.4: +2 -1 lines
Diff to previous 1.10.10.4 (colored) to branchpoint 1.10 (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.10.10.4 / (download) - annotate - [select for diffs], Sat May 5 15:08:14 2018 UTC (5 years, 9 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-0-RELEASE, netbsd-8-0-RC2
Changes since 1.10.10.3: +2 -2 lines
Diff to previous 1.10.10.3 (colored) to branchpoint 1.10 (colored)

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) - annotate - [select for diffs], Wed May 2 07:20:06 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.22.2.1: +2 -2 lines
Diff to previous 1.22.2.1 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

Synch with HEAD

Revision 1.24 / (download) - annotate - [select for diffs], Wed Apr 25 08:29:45 2018 UTC (5 years, 10 months ago) by yamaguchi
Branch: 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
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

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) - annotate - [select for diffs], Mon Apr 16 14:28:23 2018 UTC (5 years, 10 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-0-RC1
Changes since 1.10.10.2: +6 -4 lines
Diff to previous 1.10.10.2 (colored) to branchpoint 1.10 (colored)

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) - annotate - [select for diffs], Thu Mar 15 09:12:05 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (colored)

Synch with HEAD

Revision 1.23 / (download) - annotate - [select for diffs], Wed Mar 7 09:25:56 2018 UTC (5 years, 11 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (colored)

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

Revision 1.22 / (download) - annotate - [select for diffs], Tue Feb 20 01:53:39 2018 UTC (6 years ago) by pgoyette
Branch: MAIN
CVS Tags: pgoyette-compat-base
Branch point for: pgoyette-compat
Changes since 1.21: +6 -4 lines
Diff to previous 1.21 (colored)

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) - annotate - [select for diffs], Mon Feb 19 18:50:35 2018 UTC (6 years ago) by snj
Branch: netbsd-8
Changes since 1.10.10.1: +612 -13 lines
Diff to previous 1.10.10.1 (colored) to branchpoint 1.10 (colored)

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) - annotate - [select for diffs], Tue Jan 2 00:47:14 2018 UTC (6 years, 1 month ago) by pgoyette
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

Now that watchdog support has been added, make sure that a modular driver
requires the sysmon_wdog module.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Dec 13 00:31:46 2017 UTC (6 years, 2 months ago) by knakahara
Branch: MAIN
Changes since 1.19: +3 -2 lines
Diff to previous 1.19 (colored)

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) - annotate - [select for diffs], Wed Dec 13 00:29:02 2017 UTC (6 years, 2 months ago) by knakahara
Branch: MAIN
Changes since 1.18: +3 -2 lines
Diff to previous 1.18 (colored)

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) - annotate - [select for diffs], Wed Dec 13 00:27:53 2017 UTC (6 years, 2 months ago) by knakahara
Branch: MAIN
Changes since 1.17: +211 -21 lines
Diff to previous 1.17 (colored)

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) - annotate - [select for diffs], Wed Dec 13 00:27:01 2017 UTC (6 years, 2 months ago) by knakahara
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

Fix NCT6779 gpio pin configuration. Implemeted by s-yamaguchi@IIJ, reviewed by msaitoh@n.o.

I just commit by proxy.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Dec 13 00:26:06 2017 UTC (6 years, 2 months ago) by knakahara
Branch: MAIN
Changes since 1.15: +408 -1 lines
Diff to previous 1.15 (colored)

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) - annotate - [select for diffs], Sun Dec 3 11:37:05 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.9: +120 -92 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

update from HEAD

Revision 1.10.10.1 / (download) - annotate - [select for diffs], Wed Nov 22 14:56:30 2017 UTC (6 years, 3 months ago) by martin
Branch: netbsd-8
Changes since 1.10: +112 -98 lines
Diff to previous 1.10 (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.9.24.2 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:04 2017 UTC (6 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.9.24.1: +111 -97 lines
Diff to previous 1.9.24.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

Sync with HEAD

Revision 1.15 / (download) - annotate - [select for diffs], Fri Aug 18 04:07:51 2017 UTC (6 years, 6 months ago) by msaitoh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, nick-nhusb-base-20170825
Changes since 1.14: +105 -118 lines
Diff to previous 1.14 (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.14 / (download) - annotate - [select for diffs], Thu Aug 17 05:32:04 2017 UTC (6 years, 6 months ago) by msaitoh
Branch: MAIN
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored)

 Print chip name correctly.

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

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

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

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

Revision 1.11 / (download) - annotate - [select for diffs], Fri Jul 7 08:42:15 2017 UTC (6 years, 7 months ago) by msaitoh
Branch: MAIN
Changes since 1.10: +63 -39 lines
Diff to previous 1.10 (colored)

 Add Winbond W83627DHG-P, W83627SF, W83627UHG, W83667HGB, W83687THF, W83697UG,
Nuvoton NCT5104D, NCT6775, NCT6779, NCT6791, NCT6792 and NCT6793.

Revision 1.9.24.1 / (download) - annotate - [select for diffs], Sat Jul 9 20:25:03 2016 UTC (7 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.9: +19 -5 lines
Diff to previous 1.9 (colored)

Sync with HEAD

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jun 1 02:37:47 2016 UTC (7 years, 8 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.9: +19 -5 lines
Diff to previous 1.9 (colored)

Add support for Nuvoton NCT6776F from OpenBSD

From PR kern/49747

Revision 1.3.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:40 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.3: +118 -18 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

sync with head

Revision 1.3.8.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:30 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.3: +118 -18 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

merge to -current.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jan 18 00:23:30 2012 UTC (12 years, 1 month ago) by jakllsch
Branch: 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
Changes since 1.8: +77 -31 lines
Diff to previous 1.8 (colored)

wbsio(4) rescan support.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jan 17 18:04:46 2012 UTC (12 years, 1 month ago) by jakllsch
Branch: MAIN
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored)

Make this compile.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jan 17 17:17:15 2012 UTC (12 years, 1 month ago) by jakllsch
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

No module dependencies are denoted with NULL.  Pointed out by jmcneill.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jan 17 16:34:52 2012 UTC (12 years, 1 month ago) by jakllsch
Branch: MAIN
Changes since 1.5: +31 -1 lines
Diff to previous 1.5 (colored)

Add module glue.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jan 17 16:32:03 2012 UTC (12 years, 1 month ago) by jakllsch
Branch: MAIN
Changes since 1.4: +23 -3 lines
Diff to previous 1.4 (colored)

Add and enable detachment and child detachment functions.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jan 17 16:28:33 2012 UTC (12 years, 1 month ago) by jakllsch
Branch: MAIN
Changes since 1.3: +4 -1 lines
Diff to previous 1.3 (colored)

Add NULL pmf handlers.

Revision 1.2.4.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:07:57 2011 UTC (12 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Sync with HEAD.

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Tue May 31 03:04:38 2011 UTC (12 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.1.4.1: +2 -2 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head

Revision 1.3 / (download) - annotate - [select for diffs], Wed May 18 01:03:15 2011 UTC (12 years, 9 months ago) by dyoung
Branch: 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
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

#include <sys/bus.h>, not <machine/bus.h>.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:36 2010 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1.2.2: +5 -1 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head.

Revision 1.1.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:28 2010 UTC (13 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.1: +5 -1 lines
Diff to previous 1.1 (colored)

sync with head

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:27 2010 UTC (13 years, 10 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.2.2.1: +240 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD.

Revision 1.2.2.1, Fri Mar 19 02:17:41 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.2: +0 -240 lines
FILE REMOVED

file wbsio.c was added on branch uebayasi-xip on 2010-04-30 14:43:27 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Fri Mar 19 02:17:41 2010 UTC (13 years, 11 months ago) by cnst
Branch: 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
Changes since 1.1: +5 -1 lines
Diff to previous 1.1 (colored)

support W83667HG (0xa5) in wbsio(4); its hw mon is already supported by lm(4) as W83627DHG (0xc1)

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:37 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1.2.1: +236 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

sync with head

Revision 1.1.2.1, Sun Feb 21 05:16:29 2010 UTC (14 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1: +0 -236 lines
FILE REMOVED

file wbsio.c was added on branch yamt-nfs-mp on 2010-03-11 15:03:37 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Sun Feb 21 05:16:29 2010 UTC (14 years ago) by cnst
Branch: 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>.

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>