The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.34.12.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.34: +3 -7 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

sync with head

Revision 1.34.16.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.34: +3 -7 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

merge to -current.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Jan 30 19:41:18 2012 UTC (3 months, 3 weeks ago) by drochner
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.34: +3 -7 lines
Diff to previous 1.34 (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.29.4.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:42 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.29.4.2: +3 -2 lines
Diff to previous 1.29.4.2 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

sync with head

Revision 1.34 / (download) - annotate - [select for diffs], Sun Feb 7 20:55:46 2010 UTC (2 years, 3 months ago) by pgoyette
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.33: +3 -2 lines
Diff to previous 1.33 (colored)

Recognize the i2c bus on the AMD768 PCI-ISA/LPC Bridge

Resolves PR/42759 - thanks Michael Stapelberg

Revision 1.29.4.2 / (download) - annotate - [select for diffs], Sat May 16 10:41:32 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.29.4.1: +5 -6 lines
Diff to previous 1.29.4.1 (colored) to branchpoint 1.29 (colored)

sync with head

Revision 1.30.14.1 / (download) - annotate - [select for diffs], Wed May 13 17:20:23 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.30: +5 -6 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Sync with HEAD.

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

Revision 1.33 / (download) - annotate - [select for diffs], Tue May 12 08:22:59 2009 UTC (3 years 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, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

use device_private().
"looks good" ad@
XXX for the device_t/softc split, please check the driver that no cases have been missed.

Revision 1.32 / (download) - annotate - [select for diffs], Wed May 6 10:34:32 2009 UTC (3 years ago) by cegger
Branch: MAIN
Changes since 1.31: +4 -5 lines
Diff to previous 1.31 (colored)

struct device * -> device_t, no functional changes intended.

Revision 1.31 / (download) - annotate - [select for diffs], Wed May 6 09:25:14 2009 UTC (3 years ago) by cegger
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

struct cfdata * -> cfdata_t, no functional changes intended.

Revision 1.28.16.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.28: +14 -24 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync with HEAD.

Revision 1.29.2.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.29: +2 -9 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

sync with head.

Revision 1.29.4.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.29: +2 -9 lines
Diff to previous 1.29 (colored)

sync with head.

Revision 1.30 / (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-nfs-mp-base3, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, 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-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-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.29: +2 -9 lines
Diff to previous 1.29 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.29 / (download) - annotate - [select for diffs], Thu Apr 10 19:13:36 2008 UTC (4 years, 1 month ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.28: +14 -17 lines
Diff to previous 1.28 (colored)

use aprint_*_dev and device_xname

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:28:37 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

sync with HEAD

Revision 1.8.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:32:33 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.8.2.4: +3 -3 lines
Diff to previous 1.8.2.4 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

sync with head.

Revision 1.26.6.2 / (download) - annotate - [select for diffs], Fri Oct 26 15:45:52 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.26.6.1: +3 -3 lines
Diff to previous 1.26.6.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (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.27.6.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:38:48 2007 UTC (4 years, 7 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Sync with HEAD.

Revision 1.25.6.3 / (download) - annotate - [select for diffs], Tue Oct 23 20:08:44 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.25.6.2: +3 -3 lines
Diff to previous 1.25.6.2 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

Sync with head.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Oct 19 12:00:39 2007 UTC (4 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: 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, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, 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, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

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

Revision 1.25.6.2 / (download) - annotate - [select for diffs], Tue Oct 9 13:41:40 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.25.6.1: +2 -6 lines
Diff to previous 1.25.6.1 (colored) to branchpoint 1.25 (colored)

Sync with head.

Revision 1.26.6.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.26: +2 -6 lines
Diff to previous 1.26 (colored)

Sync with HEAD.

Revision 1.8.2.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.8.2.3: +3 -7 lines
Diff to previous 1.8.2.3 (colored) to branchpoint 1.8 (colored)

sync with head.

Revision 1.26.2.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.26: +2 -6 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Sync with HEAD.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Aug 26 17:17:06 2007 UTC (4 years, 9 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.26: +2 -6 lines
Diff to previous 1.26 (colored)

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

Revision 1.25.8.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:06:59 2007 UTC (4 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Sync with head.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Jul 9 21:00:52 2007 UTC (4 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: nick-csl-alignment, jmcneill-pm
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.25.6.1 / (download) - annotate - [select for diffs], Sun Jul 1 21:48:06 2007 UTC (4 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

Adapt to callout API change.

Revision 1.8.2.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.8.2.2: +46 -19 lines
Diff to previous 1.8.2.2 (colored) to branchpoint 1.8 (colored)

sync with head.

Revision 1.19.2.3 / (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.19.2.2: +5 -3 lines
Diff to previous 1.19.2.2 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

Sync with HEAD.

Revision 1.25 / (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, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.24: +5 -3 lines
Diff to previous 1.24 (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.19.2.2 / (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.19.2.1: +45 -20 lines
Diff to previous 1.19.2.1 (colored) to branchpoint 1.19 (colored)

Sync with head.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Jan 6 20:25:01 2007 UTC (5 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.23: +5 -3 lines
Diff to previous 1.23 (colored)

Make sure that we don't use the amdpm timecounter on Xbox.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Jan 6 01:20:39 2007 UTC (5 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.22: +4 -2 lines
Diff to previous 1.22 (colored)

nForce uses a slightly different register offset for the smbus controls;
compensate for this.

Revision 1.22 / (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.21: +40 -19 lines
Diff to previous 1.21 (colored)

Add nVidia nForce support, tested on Xbox.

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:41 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.8.2.1: +34 -64 lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored)

sync with head.

Revision 1.19.4.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:41 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.19.4.1: +4 -4 lines
Diff to previous 1.19.4.1 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

sync with head.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:28 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.19: +4 -3 lines
Diff to previous 1.19 (colored)

Sync with head.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:08 2006 UTC (5 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, 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.20: +4 -4 lines
Diff to previous 1.20 (colored)

__unused removal on arguments; approved by core.

Revision 1.19.4.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:06:15 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.19: +5 -4 lines
Diff to previous 1.19 (colored)

sync with head

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

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

Revision 1.10.2.1 / (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.10: +50 -38 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

sync with head

Revision 1.11.2.3 / (download) - annotate - [select for diffs], Sun Sep 3 15:24:21 2006 UTC (5 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.11.2.2: +6 -5 lines
Diff to previous 1.11.2.2 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

sync with head.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Aug 27 23:27:44 2006 UTC (5 years, 8 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, newlock2
Changes since 1.18: +6 -5 lines
Diff to previous 1.18 (colored)

restructure ifdefs

Revision 1.11.2.2 / (download) - annotate - [select for diffs], Fri Aug 11 15:44:25 2006 UTC (5 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.11.2.1: +28 -62 lines
Diff to previous 1.11.2.1 (colored) to branchpoint 1.11 (colored)

sync with head

Revision 1.11.10.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:26 2006 UTC (5 years, 10 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.11: +36 -23 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Merge from HEAD.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jul 11 17:37:14 2006 UTC (5 years, 10 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.17: +4 -3 lines
Diff to previous 1.17 (colored)

include machine/bus.h explicitely, fixes build problem

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jul 11 14:47:49 2006 UTC (5 years, 10 months ago) by drochner
Branch: MAIN
Changes since 1.16: +5 -40 lines
Diff to previous 1.16 (colored)

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration

Revision 1.16 / (download) - annotate - [select for diffs], Mon Jul 10 20:11:29 2006 UTC (5 years, 10 months ago) by xtraeme
Branch: MAIN
Changes since 1.15: +3 -4 lines
Diff to previous 1.15 (colored)

Attach amdpm timer on AMD8111 too, as was suggested by Nicolas Joly.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jul 10 20:03:42 2006 UTC (5 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.14: +27 -26 lines
Diff to previous 1.14 (colored)

PR/33968: Nicolas Joly: amdpm(4) timer, fix and AMD8111 support
Refactor the code to use different variable names to hold each conf register
and avoid reading/witing the conf space multiple times.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Mon Jun 26 12:51:21 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.11: +49 -2 lines
Diff to previous 1.11 (colored)

sync with head.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Jun 21 21:09:36 2006 UTC (5 years, 11 months ago) by explorer
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6
Changes since 1.13: +6 -5 lines
Diff to previous 1.13 (colored)

formatting nit, newline, print device name

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jun 21 20:16:35 2006 UTC (5 years, 11 months ago) by explorer
Branch: MAIN
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)

Actually set amdpm_timecounter.tc_priv before using it later.

Revision 1.8.2.1 / (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.8: +74 -20 lines
Diff to previous 1.8 (colored)

sync with head.

Revision 1.11.8.1 / (download) - annotate - [select for diffs], Mon Jun 19 04:01:35 2006 UTC (5 years, 11 months ago) by chap
Branch: chap-midi
Changes since 1.11: +47 -2 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Sync with head.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Jun 17 15:05:15 2006 UTC (5 years, 11 months ago) by xtraeme
Branch: MAIN
CVS Tags: chap-midi-nbase, chap-midi-base
Changes since 1.11: +47 -2 lines
Diff to previous 1.11 (colored)

Support for the 24/32bit timer in the AMD 768 Power Management
Controller, to try it use `sysctl -w kern.timecounter.hardware=amdpm`.

From OpenBSD.

Revision 1.10.4.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:13 2006 UTC (6 years, 1 month ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.10: +18 -20 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync with head.

Revision 1.9.2.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.9.2.1: +18 -20 lines
Diff to previous 1.9.2.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

sync with head.

Revision 1.7.14.3 / (download) - annotate - [select for diffs], Mon Feb 20 23:00:26 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.7.14.2: +18 -20 lines
Diff to previous 1.7.14.2 (colored) to branchpoint 1.7 (colored) next main 1.8 (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.11 / (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-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, peter-altq-base, peter-altq, gdamore-uart-base, elad-kernelauth-base, elad-kernelauth
Branch point for: yamt-pdpolicy, gdamore-uart, chap-midi
Changes since 1.10: +18 -20 lines
Diff to previous 1.10 (colored)

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.7.14.2 / (download) - annotate - [select for diffs], Sun Feb 5 17:28:54 2006 UTC (6 years, 3 months ago) by riz
Branch: netbsd-3
Changes since 1.7.14.1: +14 -5 lines
Diff to previous 1.7.14.1 (colored) to branchpoint 1.7 (colored)

Pull up following revision(s) (requested by tls in ticket #1159):
	sys/dev/pci/amdpm.c: revision 1.10
	share/man/man4/amdpm.4: revision 1.4
Add support for the AMD8111 RNG; from Nicolas Joly in PR kern/32284.

Revision 1.7.14.1 / (download) - annotate - [select for diffs], Sun Feb 5 17:26:10 2006 UTC (6 years, 3 months ago) by riz
Branch: netbsd-3
Changes since 1.7: +4 -2 lines
Diff to previous 1.7 (colored)

Pull up following revision(s) (requested by tls in ticket #1158):
	sys/dev/pci/amdpm.c: revision 1.9
PR/32220: Murray Armfield: Enable AMD768 random no generator.

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Wed Feb 1 14:52:08 2006 UTC (6 years, 3 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.9: +14 -5 lines
Diff to previous 1.9 (colored)

sync with head.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Jan 28 23:31:24 2006 UTC (6 years, 3 months ago) by kleink
Branch: MAIN
Branch point for: simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.9: +14 -5 lines
Diff to previous 1.9 (colored)

Add support for the AMD8111 RNG; from Nicolas Joly in PR kern/32284.

Revision 1.5.2.5 / (download) - annotate - [select for diffs], Sun Dec 11 10:28:57 2005 UTC (6 years, 5 months ago) by christos
Branch: ktrace-lwp
Changes since 1.5.2.4: +4 -2 lines
Diff to previous 1.5.2.4 (colored) next main 1.6 (colored)

Sync with head.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Dec 4 17:47:33 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: ktrace-lwp-base
Branch point for: yamt-uio_vmspace
Changes since 1.8: +4 -2 lines
Diff to previous 1.8 (colored)

PR/32220: Murray Armfield: Enable AMD768 random no generator.

Revision 1.5.2.4 / (download) - annotate - [select for diffs], Thu Nov 10 14:06:00 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.3: +9 -11 lines
Diff to previous 1.5.2.3 (colored)

Sync with HEAD. Here we go again...

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jun 28 00:28:41 2005 UTC (6 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-lazymbuf
Changes since 1.7: +9 -11 lines
Diff to previous 1.7 (colored)

Use ANSI function decls and static.

Revision 1.5.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:31:00 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.2: +2 -2 lines
Diff to previous 1.5.2.2 (colored)

Fix the sync with head I botched.

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:49:02 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.1: +0 -0 lines
Diff to previous 1.5.2.1 (colored)

Sync with HEAD.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:49:06 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5: +11 -4 lines
Diff to previous 1.5 (colored)

Sync with HEAD

Revision 1.7 / (download) - annotate - [select for diffs], Mon Sep 1 06:30:24 2003 UTC (8 years, 8 months ago) by tls
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, matt-timespec, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: netbsd-3
Changes since 1.6: +13 -1 lines
Diff to previous 1.6 (colored)

Revert previous change, which was wrong.  As Enami points out, we really do
want the NO_ESTIMATE flag here, because if the source doesn't have it,
rnd_add_data will *use the time the data was added directly as entropy*,
which is not a good idea either for a hardware RNG that works like this
one (periodically polled by the driver) or, really, like any other that I've
seen, because even for "interrupt when ready" RNGs the data rate (and thus
interrupt time) will vary only slightly for a given RNG configuration over
time, if at all.

The data we add _is_ counted into the pool estimage because we directly
pass in an entropy estimate.

The overloading of the NO_ESTIMATE flag with this meaning seems, to me, like
a design bug (albeit easily fixed) in the rng interface; but until that's
changed, we need to use it here.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Aug 12 09:46:46 2003 UTC (8 years, 9 months ago) by tls
Branch: MAIN
Changes since 1.5: +3 -8 lines
Diff to previous 1.5 (colored)

Remove RND_FLAG_NO_ESTIMATE and comment claiming we can't estimate (which
means "count", in this context) the entropy we're adding because we poll the
device periodically.  Sure, we poll it periodically, but it's a hardware
RNG -- the data returned should be random no matter when we read the
register!

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jan 31 00:07:40 2003 UTC (9 years, 3 months ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.4: +10 -7 lines
Diff to previous 1.4 (colored)

Use aprint_*().

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Fri Oct 18 02:42:54 2002 UTC (9 years, 7 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.1.2.2: +4 -5 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Catch up to -current.

Revision 1.1.6.3 / (download) - annotate - [select for diffs], Thu Oct 10 18:40:25 2002 UTC (9 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.1.6.2: +4 -5 lines
Diff to previous 1.1.6.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.4 / (download) - annotate - [select for diffs], Wed Oct 2 16:51:01 2002 UTC (9 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

Add trailing ; to CFATTACH_DECL.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Sep 30 20:37:07 2002 UTC (9 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.2: +4 -5 lines
Diff to previous 1.2 (colored)

Use CFATTACH_DECL().

Revision 1.2 / (download) - annotate - [select for diffs], Fri Sep 27 20:39:43 2002 UTC (9 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

Declare all cfattach structures const.

Revision 1.1.6.2 / (download) - annotate - [select for diffs], Sun Jun 23 17:47:32 2002 UTC (9 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.1.6.1: +194 -0 lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored)

catch up with -current on kqueue branch

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Thu Jun 20 16:33:29 2002 UTC (9 years, 11 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.1.4.1: +194 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

catch up with -current.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Thu Jun 20 03:45:19 2002 UTC (9 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.2.1: +194 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

Catch up to -current.

Revision 1.1.6.1, Sun Jun 2 02:44:28 2002 UTC (9 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.1: +0 -194 lines
FILE REMOVED

file amdpm.c was added on branch kqueue on 2002-06-23 17:47:32 +0000

Revision 1.1.4.1, Sun Jun 2 02:44:28 2002 UTC (9 years, 11 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.1: +0 -194 lines
FILE REMOVED

file amdpm.c was added on branch gehenna-devsw on 2002-06-20 16:33:29 +0000

Revision 1.1.2.1, Sun Jun 2 02:44:28 2002 UTC (9 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1: +0 -194 lines
FILE REMOVED

file amdpm.c was added on branch nathanw_sa on 2002-06-20 03:45:19 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Sun Jun 2 02:44:28 2002 UTC (9 years, 11 months ago) by enami
Branch: MAIN
CVS Tags: gehenna-devsw-base
Branch point for: nathanw_sa, kqueue, gehenna-devsw

Collect random number from AMD 768MPX power management controller.

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>