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


Default branch: MAIN


Revision 1.67.4.1 / (download) - annotate - [select for diffs], Mon Jan 23 16:02:49 2023 UTC (2 weeks ago) by martin
Branch: netbsd-10
Changes since 1.67: +103 -74 lines
Diff to previous 1.67 (colored) next main 1.68 (colored)

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) - annotate - [select for diffs], Mon Jan 23 12:46:14 2023 UTC (2 weeks ago) by martin
Branch: netbsd-8
Changes since 1.52.6.3: +104 -75 lines
Diff to previous 1.52.6.3 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored)

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) - annotate - [select for diffs], Mon Jan 23 12:43:35 2023 UTC (2 weeks ago) by martin
Branch: netbsd-9
Changes since 1.54.2.2: +104 -75 lines
Diff to previous 1.54.2.2 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

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) - annotate - [select for diffs], Thu Jan 12 10:10:10 2023 UTC (3 weeks, 4 days ago) by msaitoh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored)

Modify error message to match the current behavior.

Revision 1.71 / (download) - annotate - [select for diffs], Tue Jan 10 00:05:53 2023 UTC (3 weeks, 6 days ago) by msaitoh
Branch: MAIN
Changes since 1.70: +71 -40 lines
Diff to previous 1.70 (colored)

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) - annotate - [select for diffs], Mon Jan 9 16:29:39 2023 UTC (4 weeks ago) by msaitoh
Branch: MAIN
Changes since 1.69: +18 -18 lines
Diff to previous 1.69 (colored)

Modify for following MMIO support. No functional change.

Revision 1.69 / (download) - annotate - [select for diffs], Mon Jan 9 16:27:10 2023 UTC (4 weeks ago) by msaitoh
Branch: MAIN
Changes since 1.68: +35 -37 lines
Diff to previous 1.68 (colored)

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

Revision 1.68 / (download) - annotate - [select for diffs], Mon Jan 9 16:26:08 2023 UTC (4 weeks ago) by msaitoh
Branch: MAIN
Changes since 1.67: +5 -5 lines
Diff to previous 1.67 (colored)

Modify comment. Whitespace. No functional change.

Revision 1.67 / (download) - annotate - [select for diffs], Fri Apr 1 15:34:34 2022 UTC (10 months ago) by pgoyette
Branch: MAIN
CVS Tags: netbsd-10-base, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.66: +8 -2 lines
Diff to previous 1.66 (colored)

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) - annotate - [select for diffs], Tue Nov 30 11:48:29 2021 UTC (14 months, 1 week ago) by martin
Branch: netbsd-8
Changes since 1.52.6.2: +28 -4 lines
Diff to previous 1.52.6.2 (colored) to branchpoint 1.52 (colored)

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) - annotate - [select for diffs], Tue Nov 30 11:44:39 2021 UTC (14 months, 1 week ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE
Changes since 1.54.2.1: +28 -4 lines
Diff to previous 1.54.2.1 (colored) to branchpoint 1.54 (colored)

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) - annotate - [select for diffs], Tue Oct 12 08:36:29 2021 UTC (15 months, 3 weeks ago) by andvar
Branch: MAIN
Changes since 1.65: +3 -3 lines
Diff to previous 1.65 (colored)

fix various typos, mainly in comments.

Revision 1.65 / (download) - annotate - [select for diffs], Sat Aug 7 16:19:14 2021 UTC (18 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored)

Merge thorpej-cfargs2.

Revision 1.64.8.1 / (download) - annotate - [select for diffs], Wed Aug 4 21:27:00 2021 UTC (18 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

Adapt to CFARGS().

Revision 1.64 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:57 2021 UTC (21 months, 2 weeks 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.63: +9 -12 lines
Diff to previous 1.63 (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.63.8.1 / (download) - annotate - [select for diffs], Wed Mar 24 14:21:08 2021 UTC (22 months, 2 weeks ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.63: +9 -12 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

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) - annotate - [select for diffs], Wed Aug 5 16:11:56 2020 UTC (2 years, 6 months ago) by martin
Branch: netbsd-8
Changes since 1.52.6.1: +113 -44 lines
Diff to previous 1.52.6.1 (colored) to branchpoint 1.52 (colored)

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) - annotate - [select for diffs], Thu Jul 16 12:39:11 2020 UTC (2 years, 6 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Changes since 1.54: +113 -44 lines
Diff to previous 1.54 (colored)

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) - annotate - [select for diffs], Mon Apr 13 08:04:45 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.52: +265 -116 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.60.2.1 / (download) - annotate - [select for diffs], Fri Jan 17 21:47:31 2020 UTC (3 years ago) by ad
Branch: ad-namecache
Changes since 1.60: +97 -59 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

Sync with head.

Revision 1.63 / (download) - annotate - [select for diffs], Tue Jan 14 15:42:03 2020 UTC (3 years ago) by msaitoh
Branch: 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
Changes since 1.62: +45 -41 lines
Diff to previous 1.62 (colored)

Save/restore port number before selecting port. Linux driver says it must
be required on some systems.

Revision 1.62 / (download) - annotate - [select for diffs], Tue Jan 14 15:36:54 2020 UTC (3 years ago) by msaitoh
Branch: MAIN
Changes since 1.61: +31 -35 lines
Diff to previous 1.61 (colored)

 Simplify. No functional change.

Revision 1.61 / (download) - annotate - [select for diffs], Thu Jan 9 12:49:12 2020 UTC (3 years ago) by msaitoh
Branch: MAIN
Changes since 1.60: +52 -14 lines
Diff to previous 1.60 (colored)

 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) - annotate - [select for diffs], Tue Dec 24 06:27:17 2019 UTC (3 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: ad-namecache-base
Branch point for: ad-namecache
Changes since 1.59: +43 -16 lines
Diff to previous 1.59 (colored)

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) - annotate - [select for diffs], Tue Dec 24 03:43:34 2019 UTC (3 years, 1 month ago) by msaitoh
Branch: MAIN
Changes since 1.58: +45 -16 lines
Diff to previous 1.58 (colored)

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) - annotate - [select for diffs], Mon Dec 23 23:41:43 2019 UTC (3 years, 1 month ago) by msaitoh
Branch: MAIN
Changes since 1.57: +6 -9 lines
Diff to previous 1.57 (colored)

- 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) - annotate - [select for diffs], Mon Dec 23 23:31:23 2019 UTC (3 years, 1 month ago) by msaitoh
Branch: MAIN
Changes since 1.56: +8 -4 lines
Diff to previous 1.56 (colored)

 Fix number of port for Hudson rev. 0x1f and newer. Same as OpenBSD and Linux.

Revision 1.56 / (download) - annotate - [select for diffs], Mon Dec 23 15:41:34 2019 UTC (3 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored)

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) - annotate - [select for diffs], Sun Dec 22 23:23:32 2019 UTC (3 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.54: +3 -11 lines
Diff to previous 1.54 (colored)

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) - annotate - [select for diffs], Tue Aug 6 16:02:54 2019 UTC (3 years, 6 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE
Changes since 1.52: +141 -79 lines
Diff to previous 1.52 (colored)

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) - annotate - [select for diffs], Sat Jul 13 09:24:17 2019 UTC (3 years, 6 months ago) by msaitoh
Branch: 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
Changes since 1.53: +119 -63 lines
Diff to previous 1.53 (colored)

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) - annotate - [select for diffs], Fri Jul 12 03:57:50 2019 UTC (3 years, 6 months ago) by msaitoh
Branch: MAIN
Changes since 1.52: +25 -19 lines
Diff to previous 1.52 (colored)

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) - annotate - [select for diffs], Sun Dec 3 11:37:28 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.40.6.1: +80 -21 lines
Diff to previous 1.40.6.1 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

update from HEAD

Revision 1.45.4.5 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:25 2017 UTC (5 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.45.4.4: +4 -4 lines
Diff to previous 1.45.4.4 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

Sync with HEAD

Revision 1.49.2.4 / (download) - annotate - [select for diffs], Wed Apr 26 02:57:17 2017 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.49.2.3: +2 -6 lines
Diff to previous 1.49.2.3 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

Resolve a couple of conflicts

Revision 1.49.2.3 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:22 2017 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.49.2.2: +8 -4 lines
Diff to previous 1.49.2.2 (colored) to branchpoint 1.49 (colored)

Sync with HEAD

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:51 2017 UTC (5 years, 9 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.51: +4 -4 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

Sync with HEAD

Revision 1.52 / (download) - annotate - [select for diffs], Wed Mar 29 09:04:36 2017 UTC (5 years, 10 months ago) by msaitoh
Branch: 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
Changes since 1.51: +4 -4 lines
Diff to previous 1.51 (colored)

 Fix 0x%d and 0x%u.

Revision 1.45.4.4 / (download) - annotate - [select for diffs], Mon Dec 5 10:55:16 2016 UTC (6 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.45.4.3: +4 -4 lines
Diff to previous 1.45.4.3 (colored) to branchpoint 1.45 (colored)

Sync with HEAD

Revision 1.49.2.2 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:15 2016 UTC (6 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.49.2.1: +4 -4 lines
Diff to previous 1.49.2.1 (colored) to branchpoint 1.49 (colored)

Sync with HEAD

Revision 1.51 / (download) - annotate - [select for diffs], Thu Oct 13 17:11:09 2016 UTC (6 years, 3 months ago) by jdolecek
Branch: 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
Changes since 1.50: +4 -4 lines
Diff to previous 1.50 (colored)

provide intr xname

Revision 1.45.4.3 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:55 2016 UTC (6 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.45.4.2: +31 -12 lines
Diff to previous 1.45.4.2 (colored) to branchpoint 1.45 (colored)

Sync with HEAD

Revision 1.49.2.1 / (download) - annotate - [select for diffs], Tue Jul 26 03:24:21 2016 UTC (6 years, 6 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.49: +4 -2 lines
Diff to previous 1.49 (colored)

Sync with HEAD

Revision 1.50 / (download) - annotate - [select for diffs], Mon Jul 18 21:09:05 2016 UTC (6 years, 6 months ago) by pgoyette
Branch: MAIN
CVS Tags: pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, localcount-20160914
Changes since 1.49: +4 -2 lines
Diff to previous 1.49 (colored)

Insert missing 'break;' statements.

CID 1364142

Revision 1.49 / (download) - annotate - [select for diffs], Mon Jul 11 11:31:51 2016 UTC (6 years, 6 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-localcount-base
Branch point for: pgoyette-localcount
Changes since 1.48: +14 -10 lines
Diff to previous 1.48 (colored)

KNF. No functional change.

Revision 1.48 / (download) - annotate - [select for diffs], Sun Jul 10 04:44:47 2016 UTC (6 years, 6 months ago) by pgoyette
Branch: MAIN
Changes since 1.47: +17 -4 lines
Diff to previous 1.47 (colored)

The piixpm(4) driver also supports AMD's HUDSON chipset's SMBus function.

From OpenBSD, verified.

Revision 1.45.4.2 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:57 2015 UTC (7 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.45.4.1: +3 -3 lines
Diff to previous 1.45.4.1 (colored) to branchpoint 1.45 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.47 / (download) - annotate - [select for diffs], Thu Dec 10 05:29:41 2015 UTC (7 years, 1 month ago) by pgoyette
Branch: MAIN
CVS Tags: nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)

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) - annotate - [select for diffs], Sat Jun 6 14:40:12 2015 UTC (7 years, 8 months ago) by skrll
Branch: nick-nhusb
Changes since 1.45: +50 -10 lines
Diff to previous 1.45 (colored)

Sync with HEAD

Revision 1.46 / (download) - annotate - [select for diffs], Sun May 3 22:51:11 2015 UTC (7 years, 9 months ago) by pgoyette
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606
Changes since 1.45: +50 -10 lines
Diff to previous 1.45 (colored)

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) - annotate - [select for diffs], Wed Aug 20 00:03:48 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.40: +80 -46 lines
Diff to previous 1.40 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:56 2014 UTC (8 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.44: +4 -5 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Rebase.

Revision 1.40.2.2 / (download) - annotate - [select for diffs], Thu Aug 7 08:13:44 2014 UTC (8 years, 6 months ago) by msaitoh
Branch: netbsd-6
Changes since 1.40.2.1: +4 -5 lines
Diff to previous 1.40.2.1 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

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) - annotate - [select for diffs], Sun Jun 22 09:48:20 2014 UTC (8 years, 7 months ago) by hannken
Branch: 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
Changes since 1.44: +4 -5 lines
Diff to previous 1.44 (colored)

Consistently pass a "struct piixpm_softc" to piixpm_intr.
Prevents a crash on hardware interrupts.

Revision 1.37.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:40:33 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.37.2.1: +83 -48 lines
Diff to previous 1.37.2.1 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)

sync with head.

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

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

Revision 1.40.10.2 / (download) - annotate - [select for diffs], Sun May 18 17:45:44 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.40.10.1: +4 -3 lines
Diff to previous 1.40.10.1 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

sync with head

Revision 1.44 / (download) - annotate - [select for diffs], Sat Mar 29 19:28:25 2014 UTC (8 years, 10 months ago) by christos
Branch: 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
Changes since 1.43: +4 -3 lines
Diff to previous 1.43 (colored)

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) - annotate - [select for diffs], Tue Mar 18 18:20:41 2014 UTC (8 years, 10 months ago) by riastradh
Branch: MAIN
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

Merge riastradh-drm2 to HEAD.

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Fri Sep 20 03:49:00 2013 UTC (9 years, 4 months ago) by riz
Branch: netbsd-6
Changes since 1.40: +74 -47 lines
Diff to previous 1.40 (colored)

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) - annotate - [select for diffs], Wed Aug 28 23:59:26 2013 UTC (9 years, 5 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.40: +81 -47 lines
Diff to previous 1.40 (colored)

sync with head

Revision 1.40.18.1 / (download) - annotate - [select for diffs], Tue Jul 23 21:07:36 2013 UTC (9 years, 6 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.40: +81 -47 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

sync with HEAD

Revision 1.42 / (download) - annotate - [select for diffs], Mon Jul 22 13:27:14 2013 UTC (9 years, 6 months ago) by soren
Branch: MAIN
CVS Tags: riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1
Changes since 1.41: +73 -46 lines
Diff to previous 1.41 (colored)

The SB800 SMBus controller has four selectable SDA lines.
Expose them as four iic busses.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Jul 18 22:14:54 2013 UTC (9 years, 6 months ago) by soren
Branch: MAIN
Changes since 1.40: +9 -2 lines
Diff to previous 1.40 (colored)

Clear errors before beginning a transfer.

Closes PR port-i386/46792.

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:57 2012 UTC (10 years, 9 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.37: +11 -19 lines
Diff to previous 1.37 (colored)

sync with head

Revision 1.37.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:50 2012 UTC (10 years, 11 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.37: +11 -19 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

merge to -current.

Revision 1.40 / (download) - annotate - [select for diffs], Tue Feb 14 15:08:07 2012 UTC (10 years, 11 months ago) by pgoyette
Branch: 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
Changes since 1.39: +10 -12 lines
Diff to previous 1.39 (colored)

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) - annotate - [select for diffs], Mon Jan 30 19:41:22 2012 UTC (11 years ago) by drochner
Branch: MAIN
Changes since 1.38: +3 -8 lines
Diff to previous 1.38 (colored)

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) - annotate - [select for diffs], Sat Jan 7 15:59:46 2012 UTC (11 years, 1 month ago) by pgoyette
Branch: MAIN
Changes since 1.37: +3 -4 lines
Diff to previous 1.37 (colored)

Modify the attach message for consistency with most other pci devices.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Oct 3 22:33:02 2011 UTC (11 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

avoid printing an empty line in the sb800 case

Revision 1.36 / (download) - annotate - [select for diffs], Sun Oct 2 23:25:20 2011 UTC (11 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.35: +72 -2 lines
Diff to previous 1.35 (colored)

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) - annotate - [select for diffs], Mon Jun 6 09:08:25 2011 UTC (11 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.33: +46 -7 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync with HEAD.

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:56 2011 UTC (11 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.32: +47 -8 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

sync with head

Revision 1.33.4.1 / (download) - annotate - [select for diffs], Thu Feb 17 12:00:14 2011 UTC (11 years, 11 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.33: +46 -7 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync with HEAD

Revision 1.35 / (download) - annotate - [select for diffs], Sun Feb 13 11:20:12 2011 UTC (11 years, 11 months ago) by hannken
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.34: +38 -3 lines
Diff to previous 1.34 (colored)

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) - annotate - [select for diffs], Thu Feb 10 13:52:36 2011 UTC (11 years, 11 months ago) by hannken
Branch: MAIN
Changes since 1.33: +10 -6 lines
Diff to previous 1.33 (colored)

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) - annotate - [select for diffs], Sat Nov 20 18:23:20 2010 UTC (12 years, 2 months ago) by riz
Branch: 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
Changes since 1.26: +6 -6 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

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) - annotate - [select for diffs], Tue Aug 17 06:46:34 2010 UTC (12 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.31.2.1: +1 -1 lines
Diff to previous 1.31.2.1 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

Sync with HEAD.

Revision 1.24.4.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:04 2010 UTC (12 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.24.4.2: +3 -3 lines
Diff to previous 1.24.4.2 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

sync with head.

Revision 1.33 / (download) - annotate - [select for diffs], Tue Jul 27 05:29:05 2010 UTC (12 years, 6 months ago) by jakllsch
Branch: 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
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

Make PIIXPM_DEBUG work with 64-bit size_t.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:43 2010 UTC (12 years, 9 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.31: +6 -6 lines
Diff to previous 1.31 (colored)

Sync with HEAD.

Revision 1.24.4.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:59 2010 UTC (12 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.24.4.1: +7 -6 lines
Diff to previous 1.24.4.1 (colored) to branchpoint 1.24 (colored)

sync with head

Revision 1.32 / (download) - annotate - [select for diffs], Wed Feb 24 22:38:01 2010 UTC (12 years, 11 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.31: +6 -6 lines
Diff to previous 1.31 (colored)

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) - annotate - [select for diffs], Fri Jan 8 19:56:52 2010 UTC (13 years, 1 month ago) by dyoung
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.30: +6 -6 lines
Diff to previous 1.30 (colored)

Expand PMF_FN_* macros.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Nov 3 12:51:56 2009 UTC (13 years, 3 months ago) by pgoyette
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.29: +3 -2 lines
Diff to previous 1.29 (colored)

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) - annotate - [select for diffs], Wed May 13 17:20:29 2009 UTC (13 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.27: +7 -7 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Sync with HEAD.

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

Revision 1.24.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:13:01 2009 UTC (13 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.24: +46 -42 lines
Diff to previous 1.24 (colored)

sync with head.

Revision 1.26.2.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:59 2009 UTC (13 years, 9 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.26.2.1: +3 -3 lines
Diff to previous 1.26.2.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

Sync with HEAD.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Mar 18 16:00:19 2009 UTC (13 years, 10 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

bzero -> memset

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Tue Mar 3 18:31:09 2009 UTC (13 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.26: +12 -9 lines
Diff to previous 1.26 (colored)

Sync with HEAD.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Feb 13 19:19:52 2009 UTC (13 years, 11 months ago) by pgoyette
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.27: +6 -6 lines
Diff to previous 1.27 (colored)

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) - annotate - [select for diffs], Tue Feb 3 16:27:13 2009 UTC (14 years ago) by pgoyette
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.26: +8 -5 lines
Diff to previous 1.26 (colored)

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) - annotate - [select for diffs], Sat Jan 17 13:29:01 2009 UTC (14 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.20.6.3: +2 -2 lines
Diff to previous 1.20.6.3 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Sync with HEAD.

Revision 1.24.10.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:16:40 2008 UTC (14 years, 3 months ago) by haad
Branch: haad-dm
Changes since 1.24: +38 -37 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Sync with HEAD.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Oct 12 19:01:01 2008 UTC (14 years, 3 months ago) by martin
Branch: 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
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored)

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) - annotate - [select for diffs], Sun Sep 28 10:40:28 2008 UTC (14 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.20.6.2: +35 -34 lines
Diff to previous 1.20.6.2 (colored) to branchpoint 1.20 (colored)

Sync with HEAD.

Revision 1.24.6.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:35:08 2008 UTC (14 years, 4 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.24: +37 -36 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.24.8.1 / (download) - annotate - [select for diffs], Fri Jul 18 16:37:34 2008 UTC (14 years, 6 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.24: +37 -36 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Jul 9 14:39:44 2008 UTC (14 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base
Changes since 1.24: +37 -36 lines
Diff to previous 1.24 (colored)

- device/softc split
- reduce namespace pollution

Revision 1.20.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:43 2008 UTC (14 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.20.6.1: +13 -16 lines
Diff to previous 1.20.6.1 (colored) to branchpoint 1.20 (colored)

Sync with HEAD.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Apr 10 19:13:37 2008 UTC (14 years, 10 months ago) by cegger
Branch: 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
Changes since 1.23: +15 -18 lines
Diff to previous 1.23 (colored)

use aprint_*_dev and device_xname

Revision 1.20.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:53 2008 UTC (14 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.20: +9 -8 lines
Diff to previous 1.20 (colored)

Sync with HEAD.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Mar 26 11:14:33 2008 UTC (14 years, 10 months ago) by jmcneill
Branch: MAIN
CVS Tags: ad-socklock-base1
Changes since 1.22: +3 -2 lines
Diff to previous 1.22 (colored)

PR#38301: Add support for SMBus controllers for ATI SB600, SB700, SB800
chipsets, from Christoph Egger.

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:49 2008 UTC (14 years, 10 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.20: +8 -8 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

sync with head.

Revision 1.16.2.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:50 2008 UTC (14 years, 10 months ago) by matt
Branch: matt-armv6
Changes since 1.16.2.2: +7 -7 lines
Diff to previous 1.16.2.2 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

sync with HEAD

Revision 1.3.2.8 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:12 2008 UTC (14 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.2.7: +8 -8 lines
Diff to previous 1.3.2.7 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

sync with head.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Mar 10 21:18:08 2008 UTC (14 years, 11 months ago) by sketch
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

Fix console output.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Feb 29 06:13:39 2008 UTC (14 years, 11 months ago) by dyoung
Branch: MAIN
Changes since 1.20: +6 -6 lines
Diff to previous 1.20 (colored)

Use PMF_FN_ARGS, PMF_FN_PROTO.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:58 2008 UTC (14 years, 11 months ago) by mjf
Branch: mjf-devfs
Changes since 1.17: +5 -2 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Sync with HEAD.

Revision 1.3.2.7 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:40 2008 UTC (14 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.2.6: +3 -3 lines
Diff to previous 1.3.2.6 (colored) to branchpoint 1.3 (colored)

sync with head.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Feb 5 06:52:26 2008 UTC (15 years ago) by simonb
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, hpcarm-cleanup-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

Remove an extra \n from an attach message.  Get's rid of a blank
line during boot.

Revision 1.3.2.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:44:14 2008 UTC (15 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.2.5: +29 -27 lines
Diff to previous 1.3.2.5 (colored) to branchpoint 1.3 (colored)

sync with head

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:54:00 2008 UTC (15 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.16.2.1: +29 -27 lines
Diff to previous 1.16.2.1 (colored) to branchpoint 1.16 (colored)

sync with HEAD

Revision 1.17.4.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:47:07 2007 UTC (15 years, 1 month ago) by ad
Branch: vmlocking2
Changes since 1.17: +29 -27 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Sync with head.

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Thu Dec 13 21:55:53 2007 UTC (15 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.18: +4 -1 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Sync with HEAD

Revision 1.17.6.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:32:24 2007 UTC (15 years, 2 months ago) by yamt
Branch: yamt-kmem
Changes since 1.17: +29 -27 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

sync with head.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Dec 11 11:25:53 2007 UTC (15 years, 2 months ago) by lukem
Branch: 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
Changes since 1.18: +4 -1 lines
Diff to previous 1.18 (colored)

use __KERNEL_RCSID()

Revision 1.18 / (download) - annotate - [select for diffs], Sun Dec 9 20:28:13 2007 UTC (15 years, 2 months ago) by jmcneill
Branch: MAIN
Branch point for: bouyer-xeni386
Changes since 1.17: +26 -27 lines
Diff to previous 1.17 (colored)

Merge jmcneill-pm branch.

Revision 1.13.14.6 / (download) - annotate - [select for diffs], Sat Dec 8 16:21:32 2007 UTC (15 years, 2 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.13.14.5: +2 -2 lines
Diff to previous 1.13.14.5 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

Rename pnp(9) -> pmf(9), as requested by many.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:29:29 2007 UTC (15 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

sync with HEAD

Revision 1.13.14.5 / (download) - annotate - [select for diffs], Tue Nov 6 14:27:28 2007 UTC (15 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.13.14.4: +11 -12 lines
Diff to previous 1.13.14.4 (colored) to branchpoint 1.13 (colored)

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) - annotate - [select for diffs], Sat Oct 27 11:33:28 2007 UTC (15 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.2.4: +2 -2 lines
Diff to previous 1.3.2.4 (colored) to branchpoint 1.3 (colored)

sync with head.

Revision 1.13.14.4 / (download) - annotate - [select for diffs], Fri Oct 26 15:46:51 2007 UTC (15 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.13.14.3: +2 -2 lines
Diff to previous 1.13.14.3 (colored) to branchpoint 1.13 (colored)

Sync with HEAD.

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

Revision 1.16.6.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:39:18 2007 UTC (15 years, 3 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with HEAD.

Revision 1.13.2.3 / (download) - annotate - [select for diffs], Tue Oct 23 20:09:16 2007 UTC (15 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.13.2.2: +2 -2 lines
Diff to previous 1.13.2.2 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

Sync with head.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Oct 19 12:00:54 2007 UTC (15 years, 3 months ago) by ad
Branch: 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
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

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

Revision 1.13.2.2 / (download) - annotate - [select for diffs], Tue Oct 9 13:41:51 2007 UTC (15 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.13.2.1: +7 -13 lines
Diff to previous 1.13.2.1 (colored) to branchpoint 1.13 (colored)

Sync with head.

Revision 1.13.14.3 / (download) - annotate - [select for diffs], Fri Oct 5 00:32:27 2007 UTC (15 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.13.14.2: +27 -27 lines
Diff to previous 1.13.14.2 (colored) to branchpoint 1.13 (colored)

Convert piixpm(4) to PNP power management.

Revision 1.13.14.2 / (download) - annotate - [select for diffs], Mon Sep 3 16:48:23 2007 UTC (15 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.13.14.1: +7 -13 lines
Diff to previous 1.13.14.1 (colored) to branchpoint 1.13 (colored)

Sync with HEAD.

Revision 1.3.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:37:21 2007 UTC (15 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.2.3: +16 -14 lines
Diff to previous 1.3.2.3 (colored) to branchpoint 1.3 (colored)

sync with head.

Revision 1.13.10.2 / (download) - annotate - [select for diffs], Mon Sep 3 10:21:08 2007 UTC (15 years, 5 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.13.10.1: +7 -13 lines
Diff to previous 1.13.10.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

Sync with HEAD.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Aug 27 15:57:13 2007 UTC (15 years, 5 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5
Branch point for: matt-armv6, bouyer-xenamd64
Changes since 1.15: +7 -6 lines
Diff to previous 1.15 (colored)

Use rwlock(9) rather than lockmgr(9).

Revision 1.15 / (download) - annotate - [select for diffs], Sun Aug 26 17:17:06 2007 UTC (15 years, 5 months ago) by xtraeme
Branch: MAIN
Changes since 1.14: +1 -8 lines
Diff to previous 1.14 (colored)

There's no need to add timecounter code inside of __HAVE_TIMECOUNTER
ifdefs.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Mon Aug 20 18:37:27 2007 UTC (15 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.13: +9 -1 lines
Diff to previous 1.13 (colored)

Sync with HEAD.

Revision 1.13.10.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:48:37 2007 UTC (15 years, 5 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.13: +9 -1 lines
Diff to previous 1.13 (colored)

Sync with HEAD.

Revision 1.13.14.1 / (download) - annotate - [select for diffs], Thu Aug 9 02:37:13 2007 UTC (15 years, 6 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.13: +9 -1 lines
Diff to previous 1.13 (colored)

Sync with HEAD.

Revision 1.14.2.2 / (download) - annotate - [select for diffs], Mon Aug 6 22:41:23 2007 UTC (15 years, 6 months ago) by martin
Branch: matt-mips64
Changes since 1.14.2.1: +456 -0 lines
Diff to previous 1.14.2.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

Some serverworks mainboards use this power management too

Revision 1.14.2.1, Mon Aug 6 22:41:22 2007 UTC (15 years, 6 months ago) by martin
Branch: matt-mips64
Changes since 1.14: +0 -456 lines
FILE REMOVED

file piixpm.c was added on branch matt-mips64 on 2007-08-06 22:41:23 +0000

Revision 1.14 / (download) - annotate - [select for diffs], Mon Aug 6 22:41:22 2007 UTC (15 years, 6 months ago) by martin
Branch: MAIN
CVS Tags: matt-mips64-base
Branch point for: matt-mips64
Changes since 1.13: +9 -1 lines
Diff to previous 1.13 (colored)

Some serverworks mainboards use this power management too

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:55:27 2007 UTC (15 years, 11 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Sync with HEAD.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:25 2007 UTC (15 years, 11 months ago) by christos
Branch: 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
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Fri Jan 12 00:57:43 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.7.2.1: +6 -2 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

Sync with head.

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:48 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.2.2: +82 -33 lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored)

sync with head.

Revision 1.7.6.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:47 2006 UTC (16 years, 2 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.7.6.1: +10 -4 lines
Diff to previous 1.7.6.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

sync with head.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Dec 10 00:34:52 2006 UTC (16 years, 2 months ago) by uwe
Branch: 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
Changes since 1.11: +6 -2 lines
Diff to previous 1.11 (colored)

Print pci device info instead of "Power Management Controller".

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:33 2006 UTC (16 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.7: +7 -3 lines
Diff to previous 1.7 (colored)

Sync with head.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:10 2006 UTC (16 years, 2 months ago) by christos
Branch: 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
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

__unused removal on arguments; approved by core.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Oct 31 14:03:07 2006 UTC (16 years, 3 months ago) by toshii
Branch: MAIN
Changes since 1.9: +3 -1 lines
Diff to previous 1.9 (colored)

Match ATI SB[34]00 smbus controllers.

Revision 1.7.6.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:06:19 2006 UTC (16 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.7: +6 -4 lines
Diff to previous 1.7 (colored)

sync with head

Revision 1.9 / (download) - annotate - [select for diffs], Thu Oct 12 01:31:33 2006 UTC (16 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.8: +4 -3 lines
Diff to previous 1.8 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.8 / (download) - annotate - [select for diffs], Sun Sep 24 03:53:09 2006 UTC (16 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored)

Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@

Revision 1.7.4.2 / (download) - annotate - [select for diffs], Sat Sep 9 02:52:19 2006 UTC (16 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.7.4.1: +440 -0 lines
Diff to previous 1.7.4.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

sync with head

Revision 1.2.6.5 / (download) - annotate - [select for diffs], Sun Sep 3 15:24:23 2006 UTC (16 years, 5 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.2.6.4: +3 -5 lines
Diff to previous 1.2.6.4 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head.

Revision 1.7.4.1, Thu Aug 17 17:11:28 2006 UTC (16 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.7: +0 -440 lines
FILE REMOVED

file piixpm.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:52:19 +0000

Revision 1.7 / (download) - annotate - [select for diffs], Thu Aug 17 17:11:28 2006 UTC (16 years, 5 months ago) by christos
Branch: 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
Changes since 1.6: +3 -5 lines
Diff to previous 1.6 (colored)

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) - annotate - [select for diffs], Fri Aug 11 15:44:26 2006 UTC (16 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.2.6.3: +25 -41 lines
Diff to previous 1.2.6.3 (colored) to branchpoint 1.2 (colored)

sync with head

Revision 1.2.12.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:29 2006 UTC (16 years, 6 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.2: +121 -36 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Merge from HEAD.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jun 26 18:21:39 2006 UTC (16 years, 7 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.5: +2 -3 lines
Diff to previous 1.5 (colored)

use the "i2cbus" interface attribute rather than putting a string name
into the i2cbus attach args

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jun 26 17:17:20 2006 UTC (16 years, 7 months ago) by drochner
Branch: MAIN
Changes since 1.4: +24 -39 lines
Diff to previous 1.4 (colored)

-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) - annotate - [select for diffs], Mon Jun 26 12:51:23 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.2.6.2: +135 -34 lines
Diff to previous 1.2.6.2 (colored) to branchpoint 1.2 (colored)

sync with head.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Jun 22 16:49:01 2006 UTC (16 years, 7 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6
Changes since 1.3: +83 -24 lines
Diff to previous 1.3 (colored)

Add timecounter support for Intel PIIX Power Management Controllers.

Ok kardel@.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Wed Jun 21 15:05:06 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.2.1: +399 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored)

sync with head.

Revision 1.2.4.1 / (download) - annotate - [select for diffs], Mon Jun 19 04:01:37 2006 UTC (16 years, 7 months ago) by chap
Branch: chap-midi
Changes since 1.2: +54 -12 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Sync with head.

Revision 1.3.2.1, Sat Jun 17 17:04:44 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3: +0 -399 lines
FILE REMOVED

file piixpm.c was added on branch yamt-lazymbuf on 2006-06-21 15:05:06 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jun 17 17:04:44 2006 UTC (16 years, 7 months ago) by jmcneill
Branch: MAIN
CVS Tags: chap-midi-nbase, chap-midi-base
Branch point for: yamt-lazymbuf
Changes since 1.2: +54 -12 lines
Diff to previous 1.2 (colored)

Restore the device activity PCI configuration registers on resume.

Revision 1.2.10.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:36:49 2006 UTC (16 years, 8 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.2.10.1: +357 -0 lines
Diff to previous 1.2.10.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with head.

Revision 1.2.8.2 / (download) - annotate - [select for diffs], Wed May 24 15:50:28 2006 UTC (16 years, 8 months ago) by tron
Branch: peter-altq
Changes since 1.2.8.1: +357 -0 lines
Diff to previous 1.2.8.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

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

Revision 1.2.6.2 / (download) - annotate - [select for diffs], Wed May 24 10:58:01 2006 UTC (16 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.2.6.1: +357 -0 lines
Diff to previous 1.2.6.1 (colored) to branchpoint 1.2 (colored)

sync with head.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Thu May 11 23:28:48 2006 UTC (16 years, 9 months ago) by elad
Branch: elad-kernelauth
Changes since 1.2.2.1: +357 -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.10.1, Sun May 7 01:54:39 2006 UTC (16 years, 9 months ago) by kardel
Branch: simonb-timecounters
Changes since 1.2: +0 -357 lines
FILE REMOVED

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 (16 years, 9 months ago) by tron
Branch: peter-altq
Changes since 1.2: +0 -357 lines
FILE REMOVED

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 (16 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.2: +0 -357 lines
FILE REMOVED

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 (16 years, 9 months ago) by elad
Branch: elad-kernelauth
Changes since 1.2: +0 -357 lines
FILE REMOVED

file piixpm.c was added on branch elad-kernelauth on 2006-05-11 23:28:48 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Sun May 7 01:54:39 2006 UTC (16 years, 9 months ago) by jmcneill
Branch: 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
Changes since 1.1: +4 -1 lines
Diff to previous 1.1 (colored)

Add __KERNEL_RCSID.

Revision 1.1 / (download) - annotate - [select for diffs], Sun May 7 01:32:42 2006 UTC (16 years, 9 months ago) by jmcneill
Branch: MAIN

Add support for the Intel PIIX4 power management controller, from OpenBSD.

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>