Up to [cvs.netbsd.org] / src / sys / dev / pci
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.8.12.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:47 2012 UTC (5 weeks, 4 days ago) by yamt
Branch: yamt-pagecache
Changes since 1.8: +2 -8
lines
Diff to previous 1.8 (colored) next main 1.9 (colored)
sync with head
Revision 1.9.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:40 2012 UTC (3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.9: +1 -7
lines
Diff to previous 1.9 (colored) next main 1.10 (colored)
merge to -current.
Revision 1.10 / (download) - annotate - [select for diffs], Thu Feb 2 19:43:05 2012 UTC (3 months, 3 weeks ago) by tls
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.9: +1 -7
lines
Diff to previous 1.9 (colored)
Entropy-pool implementation move and cleanup. 1) Move core entropy-pool code and source/sink/sample management code to sys/kern from sys/dev. 2) Remove use of NRND as test for presence of entropy-pool code throughout source tree. 3) Remove use of RND_ENABLED in device drivers as microoptimization to avoid expensive operations on disabled entropy sources; make the rnd_add calls do this directly so all callers benefit. 4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might have lead to slight entropy overestimation for some sources. 5) Add new source types for environmental sensors, power sensors, VM system events, and skew between clocks, with a sample implementation for each. ok releng to go in before the branch due to the difficulty of later pullup (widespread #ifdef removal and moved files). Tested with release builds on amd64 and evbarm and live testing on amd64.
Revision 1.9 / (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.8: +2 -2
lines
Diff to previous 1.8 (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.4.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:47 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.5.4.2: +3 -3
lines
Diff to previous 1.5.4.2 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)
sync with head
Revision 1.8 / (download) - annotate - [select for diffs], Thu Dec 24 18:27:32 2009 UTC (2 years, 5 months ago) by christos
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-audiomp3-base,
jmcneill-audiomp3,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: yamt-pagecache
Changes since 1.7: +3 -3
lines
Diff to previous 1.7 (colored)
- split the sk_dev - don't program the interrupt mitigation to 0, only to set it to 1000 later. - don't be verbose when setting the interrupt mitigation during reset, it messes up the attach line and does not convey useful information.
Revision 1.5.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:57 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.5.4.1: +2 -1
lines
Diff to previous 1.5.4.1 (colored) to branchpoint 1.5 (colored)
sync with head.
Revision 1.4.36.3 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:09 2008 UTC (3 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.4.36.2: +1 -0
lines
Diff to previous 1.4.36.2 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)
Sync with HEAD.
Revision 1.6.4.1 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:22 2008 UTC (3 years, 10 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.6: +2 -1
lines
Diff to previous 1.6 (colored) next main 1.7 (colored)
Sync with head.
Revision 1.6.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:11 2008 UTC (3 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.6: +2 -1
lines
Diff to previous 1.6 (colored) next main 1.7 (colored)
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.7 / (download) - annotate - [select for diffs], Fri Jun 20 16:45:13 2008 UTC (3 years, 11 months ago) by cube
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,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
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-base2,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
ad-audiomp2-base,
ad-audiomp2
Changes since 1.6: +2 -1
lines
Diff to previous 1.6 (colored)
Apply a similar patch as what was just applied to sk(4): > Use a mutex instead of splvm() to protect the list of jubo-ready mbufs, as > done with nfe(4) a while ago. > > Issue reported by Gary Duzan, who kindly fixed the patch I had sent him. Lars Nordlund noted that such a change made things a lot better with his msk(4).
Revision 1.4.36.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:39 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.4.36.1: +0 -7
lines
Diff to previous 1.4.36.1 (colored) to branchpoint 1.4 (colored)
Sync with HEAD.
Revision 1.5.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:19 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.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:24:43 2008 UTC (4 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.5: +1 -8
lines
Diff to previous 1.5 (colored)
sync with head.
Revision 1.6 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:55 2008 UTC (4 years ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa,
simonb-wapbl
Changes since 1.5: +1 -8
lines
Diff to previous 1.5 (colored)
Remove clause 3 and 4 from TNF licenses
Revision 1.4.36.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:50 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.4: +2 -1
lines
Diff to previous 1.4 (colored)
Sync with HEAD.
Revision 1.5 / (download) - annotate - [select for diffs], Fri Mar 28 08:46:01 2008 UTC (4 years, 1 month ago) by kiyohara
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.4: +2 -1
lines
Diff to previous 1.4 (colored)
The status buffer must synchronize. If your CPU is cache writeback, synchronous processing is necessary. However, the size of a status buffer will overwrite the memory while synchronously processing it because it is very small. We clear the flag SK_Y2_STOPC_OWN at more late.
Revision 1.1.12.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:36:59 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1.12.3: +2 -2
lines
Diff to previous 1.1.12.3 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)
sync with head.
Revision 1.1.14.1 / (download) - annotate - [select for diffs], Mon Sep 3 07:04:31 2007 UTC (4 years, 8 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.1: +3 -6
lines
Diff to previous 1.1 (colored) next main 1.2 (colored)
Sync w/ NetBSD-4-RC_1
Revision 1.1.10.1 / (download) - annotate - [select for diffs], Sun Aug 26 12:01:21 2007 UTC (4 years, 9 months ago) by liamjfoy
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-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,
matt-nb4-arm-base,
matt-nb4-arm
Changes since 1.1: +3 -6
lines
Diff to previous 1.1 (colored) next main 1.2 (colored)
Pull up following revision(s) (requested by riz in ticket #816): sys/dev/pci/if_skreg.h: revision 1.10 sys/dev/pci/if_skreg.h: revision 1.11 sys/dev/pci/pcidevs: revision 1.866 sys/dev/pci/if_skreg.h: revision 1.9 sys/dev/pci/if_sk.c: revision 1.36 sys/dev/pci/if_msk.c: revision 1.4 sys/dev/pci/if_msk.c: revision 1.5 sys/dev/pci/if_msk.c: revision 1.6 sys/dev/pci/if_msk.c: revision 1.7 sys/dev/pci/if_mskvar.h: revision 1.2 sys/dev/pci/if_mskvar.h: revision 1.3 Apply OpenBSD's rev. 1.33 to shut up "msk0: phy write timed out" Original commit message: > In msk_marv_miibus_writereg, wait for busy flag to clear instead of > continuing when busy flag set. add some msk devices sync with OpenBSD-current (many bugfixes, add some devices) if_msk.c: rev. 1.42 if_mskvar.h rev. 1.3 if_skreg.h rev. 1.41 sync with if_skreg.h rev. 1.41 need more work? apply some patches from FreeBSD o fix device timeout o add some workaround o TX underrun bug (grr...) o and some bugs fix bit definitions for the RX FIFO Flush mode Apply OpenBSD's rev. 1.14 via patch: > remove another Yukon Lite workaround.
Revision 1.3.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:55:19 2007 UTC (5 years, 2 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.3: +2 -2
lines
Diff to previous 1.3 (colored) next main 1.4 (colored)
Sync with HEAD.
Revision 1.4 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:22 2007 UTC (5 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
yamt-idlelwp-base8,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
vmlocking-base,
vmlocking,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
reinoud-bufcleanup,
nick-net80211-sync-base,
nick-net80211-sync,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
mjf-ufs-trans,
mjf-devfs-base,
mjf-devfs,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-nbase,
matt-armv6-base,
matt-armv6,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
jmcneill-pm-base,
jmcneill-pm,
jmcneill-base,
hpcarm-cleanup-base,
hpcarm-cleanup,
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: mjf-devfs2
Changes since 1.3: +2 -2
lines
Diff to previous 1.3 (colored)
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.1.12.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:10:27 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1.12.2: +3 -6
lines
Diff to previous 1.1.12.2 (colored) to branchpoint 1.1 (colored)
sync with head.
Revision 1.1.8.2 / (download) - annotate - [select for diffs], Thu Feb 1 08:48:22 2007 UTC (5 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.1.8.1: +3 -6
lines
Diff to previous 1.1.8.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)
Sync with head.
Revision 1.3 / (download) - annotate - [select for diffs], Tue Jan 30 11:58:10 2007 UTC (5 years, 3 months ago) by msaitoh
Branch: MAIN
CVS Tags: post-newlock2-merge,
newlock2-nbase,
newlock2-base,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.2: +2 -1
lines
Diff to previous 1.2 (colored)
apply some patches from FreeBSD o fix device timeout o add some workaround o TX underrun bug (grr...) o and some bugs
Revision 1.2 / (download) - annotate - [select for diffs], Tue Jan 30 11:34:39 2007 UTC (5 years, 3 months ago) by msaitoh
Branch: MAIN
Changes since 1.1: +2 -6
lines
Diff to previous 1.1 (colored)
sync with OpenBSD-current (many bugfixes, add some devices) if_msk.c: rev. 1.42 if_mskvar.h rev. 1.3 if_skreg.h rev. 1.41
Revision 1.1.12.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:45 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1.12.1: +257 -0
lines
Diff to previous 1.1.12.1 (colored) to branchpoint 1.1 (colored)
sync with head.
Revision 1.1.8.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:30 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.1: +1 -1
lines
Diff to previous 1.1 (colored)
Sync with head.
Revision 1.1.4.1 / (download) - annotate - [select for diffs], Fri Sep 15 11:55:40 2006 UTC (5 years, 8 months ago) by tron
Changes since 1.1: +1 -1
lines
Diff to previous 1.1 (colored) next main 1.2 (colored)
Pull up following revision(s) (requested by riz in ticket #153): sys/dev/pci/if_skreg.h: revision 1.8 sys/dev/pci/if_msk.c: revision 1.1 sys/dev/pci/files.pci: revision 1.268 sys/dev/pci/if_mskvar.h: revision 1.1 Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips, from Mark Kettenis of OpenBSD. There are still some outstanding issues with this driver, namely: - Checksum offload is unsupported - There is a significant amount of code duplication from sk(4) - There remain some 'magic numbers' - Performance is not heavily tested, and likely to be lower than the chip is capable of in some cases. Syncing some of the aforementioned 'magic numbers' with the Marvell FreeBSD driver should help here. Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386 and NetBSD/amd64.
Revision 1.1.2.2 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:33 2006 UTC (5 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.1.2.1: +257 -0
lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)
sync with head.
Revision 1.1.12.1, Sat Sep 9 16:17:50 2006 UTC (5 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1: +0 -257
lines
FILE REMOVED
file if_mskvar.h was added on branch yamt-lazymbuf on 2006-12-30 20:48:45 +0000
Revision 1.1.2.1, Sat Sep 9 16:17:50 2006 UTC (5 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.1: +0 -257
lines
FILE REMOVED
file if_mskvar.h was added on branch yamt-pdpolicy on 2006-09-14 12:31:33 +0000
Revision 1.1 / (download) - annotate - [select for diffs], Sat Sep 9 16:17:50 2006 UTC (5 years, 8 months ago) by riz
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-splraiseipl,
yamt-pdpolicy-base9,
netbsd-4-base
Branch point for: yamt-pdpolicy,
yamt-lazymbuf,
wrstuden-fixsa,
newlock2,
netbsd-4
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips, from Mark Kettenis of OpenBSD. There are still some outstanding issues with this driver, namely: - Checksum offload is unsupported - There is a significant amount of code duplication from sk(4) - There remain some 'magic numbers' - Performance is not heavily tested, and likely to be lower than the chip is capable of in some cases. Syncing some of the aforementioned 'magic numbers' with the Marvell FreeBSD driver should help here. Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386 and NetBSD/amd64.