The NetBSD Project

CVS log for src/sys/dev/pci/piixpm.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.67.4.1: download - view: text, markup, annotated - select for diffs
Mon Jan 23 16:02:49 2023 UTC (22 months, 2 weeks ago) by martin
Branches: netbsd-10
CVS tags: 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
Diff to: previous 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67: +103 -74 lines
Pull up following revision(s) (requested by msaitoh in ticket #55):

	sys/dev/pci/piixpm.c: revision 1.68
	sys/dev/pci/piixpm.c: revision 1.69
	sys/dev/pci/piixpmreg.h: revision 1.13
	sys/dev/pci/piixpm.c: revision 1.70
	sys/dev/pci/piixpm.c: revision 1.71
	sys/dev/pci/piixpm.c: revision 1.72

Modify comment. Whitespace. No functional change.

Simplify and modify for following MMIO support. No functional change.
Modify for following MMIO support. No functional change.

Use MMIO for PM register access on newer revision's devices.
 Newer revision's device only support memory mapped access. At least,
X670E's SMBus device that the revision ID is 0x71 doesn't support I/O
access. Use MMIO access for newer devices. Linux uses >= 0x51 for the
check, so we do the same check. Note that X570's SMBus(rev. 0x61) supports
I/O access...

Modify error message to match the current behavior.

Revision 1.52.6.4: download - view: text, markup, annotated - select for diffs
Mon Jan 23 12:46:14 2023 UTC (22 months, 2 weeks ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.52.6.3: preferred, colored; branchpoint 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.6.3: +104 -75 lines
Pull up the following revisions, requested by msaitoh in ticket #1790:

	sys/dev/pci/piixpm.c				1.66,1.68-1.72 via patch
	sys/dev/pci/piixpmreg.h 			1.13

Add support new AMD chipsets that do not have indirect access
I/O ports.

Revision 1.54.2.3: download - view: text, markup, annotated - select for diffs
Mon Jan 23 12:43:35 2023 UTC (22 months, 2 weeks ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE
Diff to: previous 1.54.2.2: preferred, colored; branchpoint 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.2.2: +104 -75 lines
Pull up the following revisions, requested by msaitoh in ticket #1573:

	sys/dev/pci/piixpm.c				1.66,1.68-1.72 via patch
	sys/dev/pci/piixpmreg.h 			1.13

Add support new AMD chipsets that do not have indirect access
I/O ports.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Thu Jan 12 10:10:10 2023 UTC (22 months, 4 weeks 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, HEAD
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +3 -3 lines
Modify error message to match the current behavior.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Tue Jan 10 00:05:53 2023 UTC (23 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +71 -40 lines
Use MMIO for PM register access on newer revision's devices.

 Newer revision's device only support memory mapped access. At least,
X670E's SMBus device that the revision ID is 0x71 doesn't support I/O
access. Use MMIO access for newer devices. Linux uses >= 0x51 for the
check, so we do the same check. Note that X570's SMBus(rev. 0x61) supports
I/O access...

Revision 1.70: download - view: text, markup, annotated - select for diffs
Mon Jan 9 16:29:39 2023 UTC (23 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +18 -18 lines
Modify for following MMIO support. No functional change.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Mon Jan 9 16:27:10 2023 UTC (23 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +35 -37 lines
Simplify and modify for following MMIO support. No functional change.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Mon Jan 9 16:26:08 2023 UTC (23 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +5 -5 lines
Modify comment. Whitespace. No functional change.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Fri Apr 1 15:34:34 2022 UTC (2 years, 8 months ago) by pgoyette
Branches: MAIN
CVS tags: netbsd-10-base, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +8 -2 lines
Call iic_fini_tag() when the tag is no longer needed.

Without this, a LOCKDEBUG kernel can panic when trying to re-init the tag.

Revision 1.52.6.3: download - view: text, markup, annotated - select for diffs
Tue Nov 30 11:48:29 2021 UTC (3 years ago) by martin
Branches: netbsd-8
Diff to: previous 1.52.6.2: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.6.2: +28 -4 lines
Apply patch, requested by msaitoh in ticket #1709:

	sys/dev/pci/piixpm.c					patch

Fix a bug that I2C access panics on old AMD chipset (e.g SB600).
Fixes PR kern/56525.

Revision 1.54.2.2: download - view: text, markup, annotated - select for diffs
Tue Nov 30 11:44:39 2021 UTC (3 years ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-3-RELEASE
Diff to: previous 1.54.2.1: preferred, colored; branchpoint 1.54: preferred, colored
Changes since revision 1.54.2.1: +28 -4 lines
Apply patch, requested by msaitoh in ticket #1378:

	sys/dev/pci/piixpm.c				patch

Fix a bug that I2C access panics on old AMD chipset (e.g SB600).
Fixes PR kern/56525.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Tue Oct 12 08:36:29 2021 UTC (3 years, 2 months ago) by andvar
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -3 lines
fix various typos, mainly in comments.

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

Revision 1.64.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 4 21:27:00 2021 UTC (3 years, 4 months ago) by thorpej
Branches: thorpej-cfargs2
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +3 -3 lines
Adapt to CFARGS().

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:57 2021 UTC (3 years, 7 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.63: preferred, colored
Changes since revision 1.63: +9 -12 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.63.8.1: download - view: text, markup, annotated - select for diffs
Wed Mar 24 14:21:08 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +9 -12 lines
Don't filter interface attributes in rescan functions for devices that
carry only a single interface attribute.  The autoconfiguration machinery
already considers interface attributes when searching for possible parents.

Revision 1.52.6.2: download - view: text, markup, annotated - select for diffs
Wed Aug 5 16:11:56 2020 UTC (4 years, 4 months ago) by martin
Branches: netbsd-8
Diff to: previous 1.52.6.1: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.6.1: +113 -44 lines
Pull up the following revisions, requested by msaitoh in ticket #1591:

	sys/dev/pci/piixpm.c				1.57-1.59,
							1.61-1.63 via patch
	sys/dev/pci/piixpmreg.h				1.9-1.12

- Fix number of port for Hudson rev. 0x1f and newer.
- Read SB800_SMB_HOSTC correctly. This register is not in the PCI
  config space but in the I/O space.
- The bit 0 of SB800_SMB_HOSTC is 0 on SMI or 1 on IRQ, so invert the
  check.
- Don't force using SMBUS0SEL register.
- Acquire/release host semaphore to share SMBus between the host and
  the embedded controller (IMC). Without this change, "shutdown -r"
  does power off and not boot on some machines.
- Save/restore port number before selecting port.
- Modify comment.
- Whitespace fix.

Revision 1.54.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 16 12:39:11 2020 UTC (4 years, 4 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +113 -44 lines
Pull up the following revisions, requested by msaitoh in ticket #1017:

	sys/dev/pci/piixpm.c			1.57-1.59, 1.61-1.63 via patch
	sys/dev/pci/piixpmreg.h			1.9-1.12

- Fix number of port for Hudson rev. 0x1f and newer.
- Read SB800_SMB_HOSTC correctly. This register is not in the PCI
  config space but in the I/O space.
- The bit 0 of SB800_SMB_HOSTC is 0 on SMI and 1 on IRQ, so invert the
  check.
- Don't force using SMBUS0SEL register.
- Acquire/release host semaphore to share SMBus between the host and
  the embedded controller (IMC). Without this change, "shutdown -r"
  does power off and not boot on some machines.
- Save/restore port number before selecting port.
- Modify comment.
- Whitespace fix.

Revision 1.52.14.1: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:45 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +265 -116 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.60.2.1: download - view: text, markup, annotated - select for diffs
Fri Jan 17 21:47:31 2020 UTC (4 years, 10 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60: +97 -59 lines
Sync with head.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Tue Jan 14 15:42:03 2020 UTC (4 years, 10 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, 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
Branch point for: thorpej-cfargs
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +45 -41 lines
Save/restore port number before selecting port. Linux driver says it must
be required on some systems.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Tue Jan 14 15:36:54 2020 UTC (4 years, 10 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +31 -35 lines
 Simplify. No functional change.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Thu Jan 9 12:49:12 2020 UTC (4 years, 11 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +52 -14 lines
 Acquire/release host semaphore to share SMBus between the host and
the embedded controller (IMC).

 Without this change, "shutdown -r" does power off and not boot on ECS HDC-I2.
This change fixes the problem.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Tue Dec 24 06:27:17 2019 UTC (4 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +43 -16 lines
Make ichsmb and piixpm MP-safe:
- Synchronize with the interrupt handler using a mutex.
- Use a condvar to wait for completion, rather than tsleep().
- Mark our interrupt handler as such.

Also, other general correctness fixes:
- Loop around testing the completion condition to protect aginst
  spurious wakes.
- The "i2c exec" function returns an error code, so actually do so.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Tue Dec 24 03:43:34 2019 UTC (4 years, 11 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +45 -16 lines
Don't force using SMBUS0SEL register.

- Use it depending on USE_SMBUS0SEL bit.
- If we use SMBUS0EN_LO register to select the port, update the port
  select bits only.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Mon Dec 23 23:41:43 2019 UTC (4 years, 11 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +6 -9 lines
- Read SB800_SMB_HOSTC correctly. This register is not in the PCI config space
  but in the I/O space.
- The bit 0 of SB800_SMB_HOSTC is 0 on SMI or 1 on IRQ, so invert the check.
- Modify comment.
- Whitespace fix.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Mon Dec 23 23:31:23 2019 UTC (4 years, 11 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +8 -4 lines
 Fix number of port for Hudson rev. 0x1f and newer. Same as OpenBSD and Linux.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Mon Dec 23 15:41:34 2019 UTC (4 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -3 lines
piixpm_i2c_exec(): No need to check 'cold' to force I2C_F_POLL; the i2c
upper layer does it for us.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Sun Dec 22 23:23:32 2019 UTC (4 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +3 -11 lines
Cleanup i2c bus acquire / release, centralizing all of the logic into
iic_acquire_bus() / iic_release_bus().  "acquire" and "release" hooks
no longer need to be provided by back-end controller drivers (only if
they need special handling, e.g. powering on the i2c controller).
This results in the removal of a bunch of rendundant code from each
back-end controller driver.

Assert that we are not in hard interrupt context in iic_acquire_bus(),
iic_exec(), and iic_release_bus().

Revision 1.52.6.1: download - view: text, markup, annotated - select for diffs
Tue Aug 6 16:02:54 2019 UTC (5 years, 4 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-2-RELEASE
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +141 -79 lines
Pull up following revision(s) (requested by msaitoh in ticket #1327):

	sys/dev/pci/piixpmreg.h: revision 1.8
	sys/dev/pci/piixpm.c: revision 1.53
	sys/dev/pci/piixpm.c: revision 1.54

Sync with OpenBSD's piixpm.c up to rev. 1.35:
- Print "polling" correctly when in the attach function. Same as OpenBSD
 rev. 1.22-23.
- Improve debug printf()'s. Part of OpenBSD 1.24.
- Do not bus_space_map devices which are at address 0 (it's uninitialized).
  Same as OpenBSD rev. 1.25.
- Add ServerWorks HT1100 device from OpenBSD. Same as OpenBSD rev. 1.32
- Use unique wait channel. From OpenBSD rev. 1.35


Improve SB800 and newer chipsets support:
- Add newer chipset (e.g. X370/X399 and newer) support that the PCI device id
  is 0x790b. The register definitions are mainly taken from FreeBSD.
- Rename PIIXPM_INDIRECTIO_* to SB800_INDIRECTIO_* because those are only
  for SB800 and newer chipsets.
- SB800 also support 4 ports.
- SB800's interrupt configuration bit is different from others.
  Use SB800_SMB_HOSTC's bit 0.
- Do not bus_space_map devices which are at address 0 (it's uninitialized)
  in piixpm_attach().
- Add the port number to the dmesg output.
- Avoid uninitiliazed use of ctl and corresponding warnings. From OpenBSD rev.
  1.38

Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat Jul 13 09:24:17 2019 UTC (5 years, 5 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-20191119, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Branch point for: netbsd-9
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +119 -63 lines
Improve SB800 and newer chipsets support:
- Add newer chipset (e.g. X370/X399 and newer) support that the PCI device id
  is 0x790b. The register definitions are mainly taken from FreeBSD.
- Rename PIIXPM_INDIRECTIO_* to SB800_INDIRECTIO_* because those are only
  for SB800 and newer chipsets.
- SB800 also support 4 ports.
- SB800's interrupt configuration bit is different from others.
  Use SB800_SMB_HOSTC's bit 0.
- Do not bus_space_map devices which are at address 0 (it's uninitialized)
  in piixpm_attach().
- Add the port number to the dmesg output.
- Avoid uninitiliazed use of ctl and corresponding warnings. From OpenBSD rev.
  1.38

Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Jul 12 03:57:50 2019 UTC (5 years, 5 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +25 -19 lines
Sync with OpenBSD's piixpm.c up to rev. 1.35:
- Print "polling" correctly when in the attach function. Same as OpenBSD
 rev. 1.22-23.
- Improve debug printf()'s. Part of OpenBSD 1.24.
- Do not bus_space_map devices which are at address 0 (it's uninitialized).
  Same as OpenBSD rev. 1.25.
- Add ServerWorks HT1100 device from OpenBSD. Same as OpenBSD rev. 1.32
- Use unique wait channel. From OpenBSD rev. 1.35

Revision 1.40.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:28 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.40.6.1: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.6.1: +80 -21 lines
update from HEAD

Revision 1.45.4.5: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:52:25 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.45.4.4: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.4.4: +4 -4 lines
Sync with HEAD

Revision 1.49.2.4: download - view: text, markup, annotated - select for diffs
Wed Apr 26 02:57:17 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.49.2.3: preferred, colored; branchpoint 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49.2.3: +2 -6 lines
Resolve a couple of conflicts

Revision 1.49.2.3: download - view: text, markup, annotated - select for diffs
Wed Apr 26 02:53:22 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.49.2.2: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.2: +8 -4 lines
Sync with HEAD

Revision 1.51.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:51 2017 UTC (7 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51: +4 -4 lines
Sync with HEAD

Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Mar 29 09:04:36 2017 UTC (7 years, 8 months ago) by msaitoh
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20190609, pgoyette-localcount-20170426, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncqfixes-base, jdolecek-ncqfixes, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, bouyer-socketcan-base1
Branch point for: phil-wifi, netbsd-8
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +4 -4 lines
 Fix 0x%d and 0x%u.

Revision 1.45.4.4: download - view: text, markup, annotated - select for diffs
Mon Dec 5 10:55:16 2016 UTC (8 years ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.45.4.3: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.4.3: +4 -4 lines
Sync with HEAD

Revision 1.49.2.2: download - view: text, markup, annotated - select for diffs
Fri Nov 4 14:49:15 2016 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.49.2.1: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.1: +4 -4 lines
Sync with HEAD

Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu Oct 13 17:11:09 2016 UTC (8 years, 1 month ago) by jdolecek
Branches: MAIN
CVS tags: pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, nick-nhusb-base-20170204, nick-nhusb-base-20161204, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +4 -4 lines
provide intr xname

Revision 1.45.4.3: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:55 2016 UTC (8 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.45.4.2: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.4.2: +31 -12 lines
Sync with HEAD

Revision 1.49.2.1: download - view: text, markup, annotated - select for diffs
Tue Jul 26 03:24:21 2016 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +4 -2 lines
Sync with HEAD

Revision 1.50: download - view: text, markup, annotated - select for diffs
Mon Jul 18 21:09:05 2016 UTC (8 years, 4 months ago) by pgoyette
Branches: MAIN
CVS tags: pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, localcount-20160914
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +4 -2 lines
Insert missing 'break;' statements.

CID 1364142

Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon Jul 11 11:31:51 2016 UTC (8 years, 5 months ago) by msaitoh
Branches: MAIN
CVS tags: pgoyette-localcount-base
Branch point for: pgoyette-localcount
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +14 -10 lines
KNF. No functional change.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun Jul 10 04:44:47 2016 UTC (8 years, 5 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +17 -4 lines
The piixpm(4) driver also supports AMD's HUDSON chipset's SMBus function.

From OpenBSD, verified.

Revision 1.45.4.2: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:57 2015 UTC (8 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.45.4.1: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.4.1: +3 -3 lines
Sync with HEAD (as of 26th Dec)

Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Dec 10 05:29:41 2015 UTC (9 years ago) by pgoyette
Branches: MAIN
CVS tags: nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3 lines
Initialize the mutex before calling xxx_rescan().  Otherwise if we
load/attach an i2cbus at a later time (ie, load the iic module),
we'll end-up re-initializing the mutex.

(Caught with a LOCKDEBUG kernel)

Revision 1.45.4.1: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:12 2015 UTC (9 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +50 -10 lines
Sync with HEAD

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun May 3 22:51:11 2015 UTC (9 years, 7 months ago) by pgoyette
Branches: MAIN
CVS tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +50 -10 lines
Teach a couple of i2cbus controllers how to rescan.  This enables
{,un}loading and {at,de}taching of the iic(4) driver/module at a
later time. Tested piixpm on QEMU, and ichsmb on my live server.

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

Revision 1.44.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:56 2014 UTC (10 years, 4 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +4 -5 lines
Rebase.

Revision 1.40.2.2: download - view: text, markup, annotated - select for diffs
Thu Aug 7 08:13:44 2014 UTC (10 years, 4 months ago) by msaitoh
Branches: netbsd-6
Diff to: previous 1.40.2.1: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.2.1: +4 -5 lines
Pull up following revision(s) (requested by hannken in ticket #1096):
	sys/dev/pci/piixpm.c: revision 1.45
Consistently pass a "struct piixpm_softc" to piixpm_intr.
Prevents a crash on hardware interrupts.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Jun 22 09:48:20 2014 UTC (10 years, 5 months ago) by hannken
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, 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
Branch point for: nick-nhusb
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +4 -5 lines
Consistently pass a "struct piixpm_softc" to piixpm_intr.
Prevents a crash on hardware interrupts.

Revision 1.37.2.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:33 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.37.2.1: preferred, colored; branchpoint 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.2.1: +83 -48 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.40.10.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:44 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.40.10.1: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.10.1: +4 -3 lines
sync with head

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Mar 29 19:28:25 2014 UTC (10 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +4 -3 lines
make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Mar 18 18:20:41 2014 UTC (10 years, 8 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -2 lines
Merge riastradh-drm2 to HEAD.

Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 20 03:49:00 2013 UTC (11 years, 2 months ago) by riz
Branches: netbsd-6
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +74 -47 lines
Pull up following revision(s) (requested by fair in ticket #936):
	sys/dev/pci/piixpmreg.h: revision 1.6
	sys/dev/pci/piixpm.c: revision 1.42
The SB800 SMBus controller has four selectable SDA lines.
Expose them as four iic busses.

Revision 1.40.10.1: download - view: text, markup, annotated - select for diffs
Wed Aug 28 23:59:26 2013 UTC (11 years, 3 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +81 -47 lines
sync with head

Revision 1.40.18.1: download - view: text, markup, annotated - select for diffs
Tue Jul 23 21:07:36 2013 UTC (11 years, 4 months ago) by riastradh
Branches: riastradh-drm2
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +81 -47 lines
sync with HEAD

Revision 1.42: download - view: text, markup, annotated - select for diffs
Mon Jul 22 13:27:14 2013 UTC (11 years, 4 months ago) by soren
Branches: MAIN
CVS tags: riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +73 -46 lines
The SB800 SMBus controller has four selectable SDA lines.
Expose them as four iic busses.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Jul 18 22:14:54 2013 UTC (11 years, 4 months ago) by soren
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +9 -2 lines
Clear errors before beginning a transfer.

Closes PR port-i386/46792.

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

Revision 1.37.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:34:50 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +11 -19 lines
merge to -current.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Feb 14 15:08:07 2012 UTC (12 years, 9 months ago) by pgoyette
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet, riastradh-drm2, netbsd-6
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +10 -12 lines
Replace the xxx_acquire()/xxx_release() rwlocks with mutexes.  There are
only RW_WRITERs for these, and no RW_READERs, so no need to incur the
extra overhead of allowing for both.  As discussed on tech-kern.

For piixpm and ichsmb, the acquire/release protocol needs to be used,
even if the request is I2C_F_POLL'd (or if the device supports only
polled mode).  Otherwise multiple requests can be running at the same
time, and they stomp on each other and create anomolous results.

Part 2 addresses my PR kern/45889

3 ACKs from releng

Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Jan 30 19:41:22 2012 UTC (12 years, 10 months ago) by drochner
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -8 lines
Use pci_aprint_devinfo(9) instead of pci_devinfo+aprint_{normal,naive}
where it looks straightforward, and pci_aprint_devinfo_fancy in a few
others where drivers want to supply their own device names instead
of the pcidevs generated one. More complicated cases, where names
are composed at runtime, are left alone for now. It certainly makes
sense to simplify the drivers here rather than inventing a catch-all API.
This should serve as as example for new drivers, and also ensure
consistent output in the AB_QUIET ("boot -q") case. Also, it avoids
excessive stack usage where drivers attach child devices because the
buffer for the device name is not kept on the local stack anymore.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Jan 7 15:59:46 2012 UTC (12 years, 11 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -4 lines
Modify the attach message for consistency with most other pci devices.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Oct 3 22:33:02 2011 UTC (13 years, 2 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3 lines
avoid printing an empty line in the sb800 case

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Oct 2 23:25:20 2011 UTC (13 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +72 -2 lines
Newer ATI SB800 SMBus controllers don't report the base address in PCI
config space. According to the SB800-Series Southbridges Register Reference
Guide, we can still read this value from PM config space using indirect I/O.

Revision 1.33.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:08:25 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +46 -7 lines
Sync with HEAD.

Revision 1.32.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:53:56 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +47 -8 lines
sync with head

Revision 1.33.4.1: download - view: text, markup, annotated - select for diffs
Thu Feb 17 12:00:14 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +46 -7 lines
Sync with HEAD

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Feb 13 11:20:12 2011 UTC (13 years, 10 months ago) by hannken
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +38 -3 lines
The ServerWorks CSB5 smbus controller often times out and hangs until reboot.

Increase the delay between setting the command register and reading the
status register.  Reset the smbus controller if it has timed out.

Tested on an IBM eServer x335.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Feb 10 13:52:36 2011 UTC (13 years, 10 months ago) by hannken
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +10 -6 lines
Make the SMbus Send/Receive functions work.

If cmdlen = 0 and len = 1 use the XXX_HC_CMD_BYTE protocol, send
data through XXX_SMB_HCMD or receive data from XXX_SMB_HD0.

Ok: Paul Goyette

Revision 1.26.4.1: download - view: text, markup, annotated - select for diffs
Sat Nov 20 18:23:20 2010 UTC (14 years ago) by riz
Branches: netbsd-5
CVS tags: 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, matt-nb5-pq3-base, matt-nb5-pq3
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +6 -6 lines
Pull up following revision(s) (requested by martin in ticket #1391):
	sys/dev/pci/piixpm.c: revision 1.28
Fix dmesg output:
Old:
piixpm0 at pci0 dev 20 function 0
piixpm0: ATI Technologies SB600/SB700/SB800 SMBus Controller (rev. 0x13)
piixpm0: interrupting at SMIpiixpm0: polling
New:
piixpm0 at pci0 dev 20 function 0
piixpm0: ATI Technologies SB600/SB700/SB800 SMBus Controller (rev. 0x13)
piixpm0: interrupting at SMI, polling
Cosmetic change only, no functional changes intended.

Revision 1.31.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:46:34 2010 UTC (14 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.31.2.1: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.2.1: +1 -1 lines
Sync with HEAD.

Revision 1.24.4.3: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:54:04 2010 UTC (14 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.24.4.2: preferred, colored; branchpoint 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.4.2: +3 -3 lines
sync with head.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Jul 27 05:29:05 2010 UTC (14 years, 4 months ago) by jakllsch
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3 lines
Make PIIXPM_DEBUG work with 64-bit size_t.

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

Revision 1.24.4.2: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:59 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.24.4.1: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.4.1: +7 -6 lines
sync with head

Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Feb 24 22:38:01 2010 UTC (14 years, 9 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +6 -6 lines
A pointer typedef entails trading too much flexibility to declare const
and non-const types, and the kernel uses both const and non-const
PMF qualifiers and device suspensors, so change the pmf_qual_t and
device_suspensor_t typedefs from "pointers to const" to non-pointer,
non-const types.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri Jan 8 19:56:52 2010 UTC (14 years, 11 months ago) by dyoung
Branches: MAIN
CVS tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +6 -6 lines
Expand PMF_FN_* macros.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Nov 3 12:51:56 2009 UTC (15 years, 1 month ago) by pgoyette
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -2 lines
Set iba_type properly.  The only thing that ever looks at this is the
'options I2C_SCAN' code in dev/i2c/i2c.c which is disabled by default.

Revision 1.27.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:20:29 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +7 -7 lines
Sync with HEAD.

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

Revision 1.24.4.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:13:01 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +46 -42 lines
sync with head.

Revision 1.26.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:35:59 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.26.2.1: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.2.1: +3 -3 lines
Sync with HEAD.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Mar 18 16:00:19 2009 UTC (15 years, 8 months ago) by cegger
Branches: 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, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3 lines
bzero -> memset

Revision 1.26.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:31:09 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +12 -9 lines
Sync with HEAD.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Feb 13 19:19:52 2009 UTC (15 years, 10 months ago) by pgoyette
Branches: MAIN
CVS tags: nick-hppapmap-base2
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +6 -6 lines
Fix dmesg output:

Old:
piixpm0 at pci0 dev 20 function 0
piixpm0: ATI Technologies SB600/SB700/SB800 SMBus Controller (rev. 0x13)
piixpm0: interrupting at SMIpiixpm0: polling

New:
piixpm0 at pci0 dev 20 function 0
piixpm0: ATI Technologies SB600/SB700/SB800 SMBus Controller (rev. 0x13)
piixpm0: interrupting at SMI, polling

Cosmetic change only, no functional changes intended.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Feb 3 16:27:13 2009 UTC (15 years, 10 months ago) by pgoyette
Branches: MAIN
Branch point for: jym-xensuspend
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +8 -5 lines
Update the i2c_exec() functions to handle quick_read/quick_write protocol.

Although interface routines i2c_smbus_*() exist, nothing in NetBSD actually
uses them yet.

Revision 1.20.6.4: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:01 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.20.6.3: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.6.3: +2 -2 lines
Sync with HEAD.

Revision 1.24.10.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:16:40 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +38 -37 lines
Sync with HEAD.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Oct 12 19:01:01 2008 UTC (16 years, 2 months ago) by martin
Branches: MAIN
CVS tags: netbsd-5-base, 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, mjf-devfs2-base, 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, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -4 lines
Move printing of the "polling" message at attach time out of the wrong if
scope, so that it is actually printed even in non-error cases.
Suggested by jmcneill.

Revision 1.20.6.3: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:40:28 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.20.6.2: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.6.2: +35 -34 lines
Sync with HEAD.

Revision 1.24.6.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:35:08 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +37 -36 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.24.8.1: download - view: text, markup, annotated - select for diffs
Fri Jul 18 16:37:34 2008 UTC (16 years, 4 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +37 -36 lines
Sync with head.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Jul 9 14:39:44 2008 UTC (16 years, 5 months ago) by joerg
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +37 -36 lines
- device/softc split
- reduce namespace pollution

Revision 1.20.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:43 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.20.6.1: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.6.1: +13 -16 lines
Sync with HEAD.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Apr 10 19:13:37 2008 UTC (16 years, 8 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl, haad-dm
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +15 -18 lines
use aprint_*_dev and device_xname

Revision 1.20.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:53 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +9 -8 lines
Sync with HEAD.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Mar 26 11:14:33 2008 UTC (16 years, 8 months ago) by jmcneill
Branches: MAIN
CVS tags: ad-socklock-base1
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -2 lines
PR#38301: Add support for SMBus controllers for ATI SB600, SB700, SB800
chipsets, from Christoph Egger.

Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:15:49 2008 UTC (16 years, 8 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +8 -8 lines
sync with head.

Revision 1.16.2.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:50 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.16.2.2: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.2.2: +7 -7 lines
sync with HEAD

Revision 1.3.2.8: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:15:12 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.3.2.7: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.7: +8 -8 lines
sync with head.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Mar 10 21:18:08 2008 UTC (16 years, 9 months ago) by sketch
Branches: MAIN
CVS tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -4 lines
Fix console output.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Feb 29 06:13:39 2008 UTC (16 years, 9 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +6 -6 lines
Use PMF_FN_ARGS, PMF_FN_PROTO.

Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:58 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +5 -2 lines
Sync with HEAD.

Revision 1.3.2.7: download - view: text, markup, annotated - select for diffs
Mon Feb 11 14:59:40 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.3.2.6: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.6: +3 -3 lines
sync with head.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Feb 5 06:52:26 2008 UTC (16 years, 10 months ago) by simonb
Branches: MAIN
CVS tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, hpcarm-cleanup-base
Branch point for: mjf-devfs2, keiichi-mipv6
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -3 lines
Remove an extra \n from an attach message.  Get's rid of a blank
line during boot.

Revision 1.3.2.6: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:44:14 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.3.2.5: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.5: +29 -27 lines
sync with head

Revision 1.16.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:54:00 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.16.2.1: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.2.1: +29 -27 lines
sync with HEAD

Revision 1.17.4.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:47:07 2007 UTC (16 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +29 -27 lines
Sync with head.

Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Thu Dec 13 21:55:53 2007 UTC (17 years ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +4 -1 lines
Sync with HEAD

Revision 1.17.6.1: download - view: text, markup, annotated - select for diffs
Tue Dec 11 15:32:24 2007 UTC (17 years ago) by yamt
Branches: yamt-kmem
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +29 -27 lines
sync with head.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Dec 11 11:25:53 2007 UTC (17 years ago) by lukem
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, matt-armv6-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-base
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -1 lines
use __KERNEL_RCSID()

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Dec 9 20:28:13 2007 UTC (17 years ago) by jmcneill
Branches: MAIN
Branch point for: bouyer-xeni386
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +26 -27 lines
Merge jmcneill-pm branch.

Revision 1.13.14.6: download - view: text, markup, annotated - select for diffs
Sat Dec 8 16:21:32 2007 UTC (17 years ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.13.14.5: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.14.5: +2 -2 lines
Rename pnp(9) -> pmf(9), as requested by many.

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:29:29 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
sync with HEAD

Revision 1.13.14.5: download - view: text, markup, annotated - select for diffs
Tue Nov 6 14:27:28 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.13.14.4: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.14.4: +11 -12 lines
Refactor PNP API:
- Make suspend/resume directly a device functionality. It consists of
  three layers (class logic, device logic, bus logic), all of them being
  optional. This replaces D0/D3 transitions.
- device_is_active returns true if the device was not disabled and was
  not suspended (even partially), device_is_enabled returns true if the
  device was enabled.
- Change pnp_global_transition into pnp_system_suspend and
  pnp_system_resume. Before running any suspend/resume handlers, check
  that all currently attached devices support power management and bail
  out otherwise. The latter is not done for the shutdown/panic case.
- Make the former bus-specific generic network handlers a class handler.
- Make PNP message like volume up/down/toogle PNP events. Each device
  can register what events they are interested in and whether the handler
  should be global or not.
- Introduce device_active API for devices to mark themselve in use from
  either the system or the device. Use this to implement the idle handling
  for audio and input devices. This is intended to replace most ad-hoc
  watchdogs as well.
- Fix somes situations in which audio resume would lose mixer settings.
- Make USB host controllers better deal with suspend in the light of
  shared interrupts.
- Flush filesystem cache on suspend.
- Flush disk caches on suspend. Put ATA disks into standby on suspend as
  well.
- Adopt drivers to use the new PNP API.
- Fix a critical bug in the generic cardbus layer that made D0->D3
  break.
- Fix ral(4) to set if_stop.
- Convert cbb(4) to the new PNP API.
- Apply the PCI Express SCI fix on resume again.

Revision 1.3.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:33:28 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.3.2.4: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.4: +2 -2 lines
sync with head.

Revision 1.13.14.4: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:46:51 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.13.14.3: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.14.3: +2 -2 lines
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.16.6.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:39:18 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +2 -2 lines
Sync with HEAD.

Revision 1.13.2.3: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:09:16 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.13.2.2: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.2.2: +2 -2 lines
Sync with head.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Oct 19 12:00:54 2007 UTC (17 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: yamt-kmem, vmlocking2, mjf-devfs
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.13.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:41:51 2007 UTC (17 years, 2 months ago) by ad
Branches: vmlocking
Diff to: previous 1.13.2.1: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.1: +7 -13 lines
Sync with head.

Revision 1.13.14.3: download - view: text, markup, annotated - select for diffs
Fri Oct 5 00:32:27 2007 UTC (17 years, 2 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.13.14.2: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.14.2: +27 -27 lines
Convert piixpm(4) to PNP power management.

Revision 1.13.14.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:48:23 2007 UTC (17 years, 3 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.13.14.1: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.14.1: +7 -13 lines
Sync with HEAD.

Revision 1.3.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:37:21 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.3.2.3: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.3: +16 -14 lines
sync with head.

Revision 1.13.10.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 10:21:08 2007 UTC (17 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.13.10.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.10.1: +7 -13 lines
Sync with HEAD.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Aug 27 15:57:13 2007 UTC (17 years, 3 months ago) by xtraeme
Branches: 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: matt-armv6, bouyer-xenamd64
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +7 -6 lines
Use rwlock(9) rather than lockmgr(9).

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Aug 26 17:17:06 2007 UTC (17 years, 3 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +1 -8 lines
There's no need to add timecounter code inside of __HAVE_TIMECOUNTER
ifdefs.

Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 20 18:37:27 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +9 -1 lines
Sync with HEAD.

Revision 1.13.10.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:48:37 2007 UTC (17 years, 4 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +9 -1 lines
Sync with HEAD.

Revision 1.13.14.1: download - view: text, markup, annotated - select for diffs
Thu Aug 9 02:37:13 2007 UTC (17 years, 4 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +9 -1 lines
Sync with HEAD.

Revision 1.14.2.2: download - view: text, markup, annotated - select for diffs
Mon Aug 6 22:41:23 2007 UTC (17 years, 4 months ago) by martin
Branches: matt-mips64
Diff to: previous 1.14.2.1: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.2.1: +456 -0 lines
Some serverworks mainboards use this power management too

Revision 1.14.2.1
Mon Aug 6 22:41:22 2007 UTC (17 years, 4 months ago) by martin
Branches: matt-mips64
FILE REMOVED
Changes since revision 1.14: +0 -456 lines
file piixpm.c was added on branch matt-mips64 on 2007-08-06 22:41:23 +0000

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Aug 6 22:41:22 2007 UTC (17 years, 4 months ago) by martin
Branches: MAIN
CVS tags: matt-mips64-base
Branch point for: matt-mips64
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +9 -1 lines
Some serverworks mainboards use this power management too

Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:55:27 2007 UTC (17 years, 9 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +2 -2 lines
Sync with HEAD.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:02:25 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base, mjf-ufs-trans-base, mjf-ufs-trans, hpcarm-cleanup
Branch point for: vmlocking, nick-csl-alignment, jmcneill-pm
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.7.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 00:57:43 2007 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.7.2.1: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.2.1: +6 -2 lines
Sync with head.

Revision 1.3.2.3: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:48:48 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.3.2.2: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.2: +82 -33 lines
sync with head.

Revision 1.7.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:17:47 2006 UTC (18 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.7.6.1: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.6.1: +10 -4 lines
sync with head.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Dec 10 00:34:52 2006 UTC (18 years ago) by uwe
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -2 lines
Print pci device info instead of "Power Management Controller".

Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:33 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +7 -3 lines
Sync with head.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:10 2006 UTC (18 years ago) by christos
Branches: MAIN
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-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, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3 lines
__unused removal on arguments; approved by core.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Oct 31 14:03:07 2006 UTC (18 years, 1 month ago) by toshii
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -1 lines
Match ATI SB[34]00 smbus controllers.

Revision 1.7.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:06:19 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +6 -4 lines
sync with head

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:31:33 2006 UTC (18 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -3 lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Sep 24 03:53:09 2006 UTC (18 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -2 lines
Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@

Revision 1.7.4.2: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:52:19 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.7.4.1: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.4.1: +440 -0 lines
sync with head

Revision 1.2.6.5: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:24:23 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.2.6.4: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.6.4: +3 -5 lines
sync with head.

Revision 1.7.4.1
Thu Aug 17 17:11:28 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
FILE REMOVED
Changes since revision 1.7: +0 -440 lines
file piixpm.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:52:19 +0000

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Aug 17 17:11:28 2006 UTC (18 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, rpaulo-netinet-merge-pcb, newlock2
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -5 lines
Fix all the -D*DEBUG* code that it was rotting away and did not even compile.
Mostly from Arnaud Lacombe, many thanks!

Revision 1.2.6.4: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:44:26 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.2.6.3: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.6.3: +25 -41 lines
sync with head

Revision 1.2.12.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:49:29 2006 UTC (18 years, 5 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +121 -36 lines
Merge from HEAD.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Jun 26 18:21:39 2006 UTC (18 years, 5 months ago) by drochner
Branches: MAIN
CVS tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -3 lines
use the "i2cbus" interface attribute rather than putting a string name
into the i2cbus attach args

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Jun 26 17:17:20 2006 UTC (18 years, 5 months ago) by drochner
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +24 -39 lines
-make sure it is a PIIX4 before accessing counter stuff
 (there might be usable registers on 440mx and that ATI thing too,
  but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
 by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
 if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c

Revision 1.2.6.3: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:51:23 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.2.6.2: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.6.2: +135 -34 lines
sync with head.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Jun 22 16:49:01 2006 UTC (18 years, 5 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-pdpolicy-base6
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +83 -24 lines
Add timecounter support for Intel PIIX Power Management Controllers.

Ok kardel@.

Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:05:06 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.1: +399 -0 lines
sync with head.

Revision 1.2.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 04:01:37 2006 UTC (18 years, 5 months ago) by chap
Branches: chap-midi
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +54 -12 lines
Sync with head.

Revision 1.3.2.1
Sat Jun 17 17:04:44 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
FILE REMOVED
Changes since revision 1.3: +0 -399 lines
file piixpm.c was added on branch yamt-lazymbuf on 2006-06-21 15:05:06 +0000

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Jun 17 17:04:44 2006 UTC (18 years, 5 months ago) by jmcneill
Branches: MAIN
CVS tags: chap-midi-nbase, chap-midi-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +54 -12 lines
Restore the device activity PCI configuration registers on resume.

Revision 1.2.10.2: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:36:49 2006 UTC (18 years, 6 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.2.10.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.10.1: +357 -0 lines
Sync with head.

Revision 1.2.8.2: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:28 2006 UTC (18 years, 6 months ago) by tron
Branches: peter-altq
Diff to: previous 1.2.8.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.8.1: +357 -0 lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.2.6.2: download - view: text, markup, annotated - select for diffs
Wed May 24 10:58:01 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.2.6.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.6.1: +357 -0 lines
sync with head.

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Thu May 11 23:28:48 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
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: +357 -0 lines
sync with head

Revision 1.2.10.1
Sun May 7 01:54:39 2006 UTC (18 years, 7 months ago) by kardel
Branches: simonb-timecounters
FILE REMOVED
Changes since revision 1.2: +0 -357 lines
file piixpm.c was added on branch simonb-timecounters on 2006-06-01 22:36:49 +0000

Revision 1.2.8.1
Sun May 7 01:54:39 2006 UTC (18 years, 7 months ago) by tron
Branches: peter-altq
FILE REMOVED
Changes since revision 1.2: +0 -357 lines
file piixpm.c was added on branch peter-altq on 2006-05-24 15:50:28 +0000

Revision 1.2.6.1
Sun May 7 01:54:39 2006 UTC (18 years, 7 months ago) by yamt
Branches: yamt-pdpolicy
FILE REMOVED
Changes since revision 1.2: +0 -357 lines
file piixpm.c was added on branch yamt-pdpolicy on 2006-05-24 10:58:01 +0000

Revision 1.2.2.1
Sun May 7 01:54:39 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
FILE REMOVED
Changes since revision 1.2: +0 -357 lines
file piixpm.c was added on branch elad-kernelauth on 2006-05-11 23:28:48 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun May 7 01:54:39 2006 UTC (18 years, 7 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, elad-kernelauth-base
Branch point for: yamt-pdpolicy, simonb-timecounters, peter-altq, gdamore-uart, elad-kernelauth, chap-midi
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -1 lines
Add __KERNEL_RCSID.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun May 7 01:32:42 2006 UTC (18 years, 7 months ago) by jmcneill
Branches: MAIN
Add support for the Intel PIIX4 power management controller, from OpenBSD.

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>