The NetBSD Project

CVS log for src/sys/dev/pci/amdpmvar.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.6.34.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:42 2012 UTC (5 weeks, 4 days ago) by yamt
Branch: yamt-pagecache
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

sync with head

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:35 2012 UTC (3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

merge to -current.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Feb 14 15:08:07 2012 UTC (3 months, 1 week ago) by pgoyette
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, HEAD
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (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.7 / (download) - annotate - [select for diffs], Sat Nov 19 22:51:23 2011 UTC (6 months ago) by tls
Branch: MAIN
CVS Tags: jmcneill-usbmp-pre-base2, jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

First step of random number subsystem rework described in
<20111022023242.BA26F14A158@mail.netbsd.org>.  This change includes
the following:

	An initial cleanup and minor reorganization of the entropy pool
	code in sys/dev/rnd.c and sys/dev/rndpool.c.  Several bugs are
	fixed.  Some effort is made to accumulate entropy more quickly at
	boot time.

	A generic interface, "rndsink", is added, for stream generators to
	request that they be re-keyed with good quality entropy from the pool
	as soon as it is available.

	The arc4random()/arc4randbytes() implementation in libkern is
	adjusted to use the rndsink interface for rekeying, which helps
	address the problem of low-quality keys at boot time.

	An implementation of the FIPS 140-2 statistical tests for random
	number generator quality is provided (libkern/rngtest.c).  This
	is based on Greg Rose's implementation from Qualcomm.

	A new random stream generator, nist_ctr_drbg, is provided.  It is
	based on an implementation of the NIST SP800-90 CTR_DRBG by
	Henric Jungheim.  This generator users AES in a modified counter
	mode to generate a backtracking-resistant random stream.

	An abstraction layer, "cprng", is provided for in-kernel consumers
	of randomness.  The arc4random/arc4randbytes API is deprecated for
	in-kernel use.  It is replaced by "cprng_strong".  The current
	cprng_fast implementation wraps the existing arc4random
	implementation.  The current cprng_strong implementation wraps the
	new CTR_DRBG implementation.  Both interfaces are rekeyed from
	the entropy pool automatically at intervals justifiable from best
	current cryptographic practice.

	In some quick tests, cprng_fast() is about the same speed as
	the old arc4randbytes(), and cprng_strong() is about 20% faster
	than rnd_extract_data().  Performance is expected to improve.

	The AES code in src/crypto/rijndael is no longer an optional
	kernel component, as it is required by cprng_strong, which is
	not an optional kernel component.

	The entropy pool output is subjected to the rngtest tests at
	startup time; if it fails, the system will reboot.  There is
	approximately a 3/10000 chance of a false positive from these
	tests.  Entropy pool _input_ from hardware random numbers is
	subjected to the rngtest tests at attach time, as well as the
	FIPS continuous-output test, to detect bad or stuck hardware
	RNGs; if any are detected, they are detached, but the system
	continues to run.

	A problem with rndctl(8) is fixed -- datastructures with
	pointers in arrays are no longer passed to userspace (this
	was not a security problem, but rather a major issue for
	compat32).  A new kernel will require a new rndctl.

	The sysctl kern.arandom() and kern.urandom() nodes are hooked
	up to the new generators, but the /dev/*random pseudodevices
	are not, yet.

	Manual pages for the new kernel interfaces are forthcoming.

Revision 1.5.22.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:36 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.5: +1 -8 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Sync with HEAD.

Revision 1.5.24.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:18 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.5: +1 -8 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

sync with head.

Revision 1.5.26.1 / (download) - annotate - [select for diffs], Fri May 16 02:24:42 2008 UTC (4 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.5: +1 -8 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

sync with head.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:54 2008 UTC (4 years ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base11, yamt-nfs-mp-base10, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, 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-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-premerge-20101231, matt-mips64-base2, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, jruoho-x86intr, jmcneill-audiomp3-base, jmcneill-audiomp3, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-pagecache
Changes since 1.5: +1 -8 lines
Diff to previous 1.5 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.4.6.1 / (download) - annotate - [select for diffs], Tue Oct 9 13:41:41 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Sync with head.

Revision 1.4.18.1 / (download) - annotate - [select for diffs], Mon Sep 3 16:48:13 2007 UTC (4 years, 8 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Sync with HEAD.

Revision 1.2.6.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:36:21 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.6.3: +3 -3 lines
Diff to previous 1.2.6.3 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head.

Revision 1.4.14.1 / (download) - annotate - [select for diffs], Mon Sep 3 10:20:57 2007 UTC (4 years, 8 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Sync with HEAD.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Aug 27 15:57:13 2007 UTC (4 years, 8 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, nick-csl-alignment-base5, mjf-devfs-base, mjf-devfs, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

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

Revision 1.2.6.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:10:20 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.6.2: +7 -1 lines
Diff to previous 1.2.6.2 (colored) to branchpoint 1.2 (colored)

sync with head.

Revision 1.2.10.2 / (download) - annotate - [select for diffs], Fri Feb 9 21:03:51 2007 UTC (5 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.2.10.1: +5 -1 lines
Diff to previous 1.2.10.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Feb 5 23:38:15 2007 UTC (5 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, yamt-idlelwp, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base, newlock2-nbase, newlock2-base, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, nick-csl-alignment, jmcneill-pm
Changes since 1.3: +5 -1 lines
Diff to previous 1.3 (colored)

Disgusting Xbox hack;

The "pci0 dev 1 function 2" aka "System Management" on the nForce chipset
isn't detected on the Xbox. If XBOX is defined and arch_i386_is_xbox is
true, force intrline to 12 and map the system management IO space at
0x8000. We can now call iic_smbus_intr when a system management interrupt
takes place.

While we're here, make amdpm_smbus honour the I2C_F_POLL flag.

The Xbox no longer resets when you press the eject button.

Revision 1.2.10.1 / (download) - annotate - [select for diffs], Fri Jan 12 00:57:40 2007 UTC (5 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored)

Sync with head.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jan 6 00:14:21 2007 UTC (5 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored)

Add nVidia nForce support, tested on Xbox.

Revision 1.2.12.2 / (download) - annotate - [select for diffs], Sat Sep 9 02:52:16 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.2.12.1: +66 -0 lines
Diff to previous 1.2.12.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head

Revision 1.2.6.2 / (download) - annotate - [select for diffs], Wed Jun 21 15:05:03 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.6.1: +66 -0 lines
Diff to previous 1.2.6.1 (colored) to branchpoint 1.2 (colored)

sync with head.

Revision 1.1.12.3 / (download) - annotate - [select for diffs], Thu Jun 1 22:36:43 2006 UTC (5 years, 11 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.1.12.2: +10 -1 lines
Diff to previous 1.1.12.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with head.

Revision 1.1.10.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:27 2006 UTC (6 years ago) by tron
Branch: peter-altq
Changes since 1.1: +10 -1 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

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

Revision 1.1.6.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:00 2006 UTC (6 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.1: +10 -1 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

sync with head.

Revision 1.1.8.1 / (download) - annotate - [select for diffs], Thu May 11 23:28:47 2006 UTC (6 years ago) by elad
Branch: elad-kernelauth
Changes since 1.1: +10 -1 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

sync with head

Revision 1.2.12.1, Sun Apr 30 18:46:18 2006 UTC (6 years ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.2: +0 -66 lines
FILE REMOVED

file amdpmvar.h was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:52:16 +0000

Revision 1.2.6.1, Sun Apr 30 18:46:18 2006 UTC (6 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2: +0 -66 lines
FILE REMOVED

file amdpmvar.h was added on branch yamt-lazymbuf on 2006-06-21 15:05:03 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Sun Apr 30 18:46:18 2006 UTC (6 years ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, 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, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-lazymbuf, rpaulo-netinet-merge-pcb, newlock2
Changes since 1.1: +10 -1 lines
Diff to previous 1.1 (colored)

PR kern/32913: amdpm(4) smbus/i2cbus needs locking. Apply patch
from Nicolas Joly.

Revision 1.1.12.2 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:13 2006 UTC (6 years, 1 month ago) by simonb
Branch: simonb-timecounters
Changes since 1.1.12.1: +57 -0 lines
Diff to previous 1.1.12.1 (colored) to branchpoint 1.1 (colored)

Sync with head.

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Wed Mar 1 09:28:21 2006 UTC (6 years, 2 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.1.4.1: +57 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Mon Feb 20 23:00:27 2006 UTC (6 years, 3 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1
Changes since 1.1.2.1: +57 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Pull up following revision(s) (requested by tls in ticket #1179):
	sys/dev/pci/amdpm.c: revision 1.11
	sys/dev/i2c/files.i2c: revision 1.7
	sys/dev/i2c/adt7463.c: revision 1.1
	sys/dev/pci/files.pci: revision 1.242 via patch
	sys/dev/pci/amdpmvar.h: revision 1.1
	sys/dev/i2c/adt7463reg.h: revision 1.1
	sys/dev/DEVNAMES: revision 1.192 via patch
	sys/dev/pci/amdpm_smbus.c: revision 1.1
	sys/dev/pci/amdpm_smbusreg.h: revision 1.1
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well).  We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).
From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.

Revision 1.1.12.1, Sun Feb 19 02:24:20 2006 UTC (6 years, 3 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.1: +0 -57 lines
FILE REMOVED

file amdpmvar.h was added on branch simonb-timecounters on 2006-04-22 11:39:13 +0000

Revision 1.1.4.1, Sun Feb 19 02:24:20 2006 UTC (6 years, 3 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.1: +0 -57 lines
FILE REMOVED

file amdpmvar.h was added on branch yamt-uio_vmspace on 2006-03-01 09:28:21 +0000

Revision 1.1.2.1, Sun Feb 19 02:24:20 2006 UTC (6 years, 3 months ago) by tron
Branch: netbsd-3
Changes since 1.1: +0 -57 lines
FILE REMOVED

file amdpmvar.h was added on branch netbsd-3 on 2006-02-20 23:00:27 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Sun Feb 19 02:24:20 2006 UTC (6 years, 3 months ago) by tls
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-uio_vmspace, yamt-pdpolicy, simonb-timecounters, peter-altq, netbsd-3, elad-kernelauth

Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well).  We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.

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>