Up to [cvs.netbsd.org] / src / sys / dev / pci
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.7.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:46 2012 UTC (5 weeks, 4 days ago) by yamt
Branch: yamt-pagecache
Changes since 1.7: +2 -4
lines
Diff to previous 1.7 (colored) next main 1.8 (colored)
sync with head
Revision 1.8.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:38 2012 UTC (3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.8: +1 -3
lines
Diff to previous 1.8 (colored) next main 1.9 (colored)
merge to -current.
Revision 1.9 / (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.8: +1 -3
lines
Diff to previous 1.8 (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.8 / (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.7: +2 -2
lines
Diff to previous 1.7 (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.6.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:08:11 2011 UTC (11 months, 2 weeks ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.6: +2 -2
lines
Diff to previous 1.6 (colored) next main 1.7 (colored)
Sync with HEAD.
Revision 1.5.4.2 / (download) - annotate - [select for diffs], Tue May 31 03:04:39 2011 UTC (11 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.5.4.1: +1 -1
lines
Diff to previous 1.5.4.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)
sync with head
Revision 1.7 / (download) - annotate - [select for diffs], Wed May 18 01:02:43 2011 UTC (12 months, 1 week ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
cherry-xenmp-base,
cherry-xenmp
Branch point for: yamt-pagecache
Changes since 1.6: +2 -2
lines
Diff to previous 1.6 (colored)
#include <sys/bus.h>, not <machine/bus.h>.
Revision 1.5.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:39 2011 UTC (14 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.5: +3 -1
lines
Diff to previous 1.5 (colored)
sync with head
Revision 1.6 / (download) - annotate - [select for diffs], Sun Jan 9 13:01:03 2011 UTC (16 months, 2 weeks ago) by jruoho
Branch: MAIN
CVS Tags: jruoho-x86intr-base,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.5: +3 -1
lines
Diff to previous 1.5 (colored)
Don't use SYSCTL_SETUP in a driver.
Revision 1.1.8.3 / (download) - annotate - [select for diffs], Fri Nov 19 23:58:40 2010 UTC (18 months ago) by riz
Branch: netbsd-5
CVS Tags: matt-nb5-pq3-base,
matt-nb5-pq3
Changes since 1.1.8.2: +38 -32
lines
Diff to previous 1.1.8.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)
Pull up revisions (requested by msaitoh in ticket #1359): sys/dev/pci/if_bge.c 1.170-1.181 sys/dev/pci/if_bgereg.h 1.53-1.56 sys/dev/pci/if_bgevar.h 1.2-1.5 sys/dev/pci/pcidevs 1.1017, 1.1021 sys/dev/pci/pcidevs.h regen sys/dev/pci/pcidevs_data.h regen sys/dev/mii/miidevs 1.89, 1.93 sys/dev/mii/miidevs.h regen sys/dev/mii/miidevs_data.h regen sys/dev/mii/brgphy.c 1.49, 1.52 - Fix a bug of BGE_RDMA_MODE_FIFO_LONG_BURST definition. - Fix the bug that both BGE_PCIE and BGE_PCIX are set on PCI-Express devices. - Add support for BCM5705F,BCM5714,SBCM5715S,BCM5717,BCM5718,BCM5720,BCM5723, BCM5724,BCM5751F,BCM5753F,BCM5756,BCM5761,BCM5761E,BCM5761S,BCM5761SE, BCM5764,BCM5781,BCM5784M,BCM5903M,BCM57760,BCM57761,BCM57765,BCM57780, BCM57781,BCM57785,BCM57788,BCM57790,BCM57791 and BCM57795. Fixes PR#41694. - Fix misunderstanding the capability for TSO4 on some chips. - Use proplib for no EEPROM systems (e.g. sparc64 with onboard bge). - Add debug function to show some flags. - (brgphy(4)) Add support for BCM5461, BCM5464, BCM5784 and BCM5761. - (brgphy(4)) Enable brgphy_jumbo_settings(). - (brgphy(4)) Enable the Ethernet@Wirespeed function. - Add support for device properties to override the mac address and set the BGE_NO_EEPROM flag if we have an onboard device w/o SEEPROM. - Introduce IPMI and ASF related code from FreeBSD. It fixes some problems which occured in netboot on sparc64 and PR#32767 - move the code of disabling host interrput in bge_stop() like linux tg3 driver. - fix the return value of bge_eeprom_getbyte(). - Fixes the bug that error bits arent cleard because these bit are W2C (in other words W1C). - Many other bugfixes from FreeBSD and OpenBSD. - remove an unused structure. - ANSI C, KNF and tabify - fix typo in comment.
Revision 1.5.6.2 / (download) - annotate - [select for diffs], Wed Apr 21 00:27:41 2010 UTC (2 years, 1 month ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Changes since 1.5.6.1: +289 -0
lines
Diff to previous 1.5.6.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)
sync to netbsd-5
Revision 1.1.4.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:44 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1.4.2: +38 -32
lines
Diff to previous 1.1.4.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)
sync with head
Revision 1.5.6.1, Wed Feb 3 15:37:51 2010 UTC (2 years, 3 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.5: +0 -295
lines
FILE REMOVED
file if_bgevar.h was added on branch matt-nb5-mips64 on 2010-04-21 00:27:41 +0000
Revision 1.5 / (download) - annotate - [select for diffs], Wed Feb 3 15:37:51 2010 UTC (2 years, 3 months ago) by msaitoh
Branch: MAIN
CVS Tags: 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,
matt-mips64-premerge-20101231
Branch point for: rmind-uvmplock,
matt-nb5-mips64
Changes since 1.4: +22 -22
lines
Diff to previous 1.4 (colored)
s/u_int/uint/
Revision 1.4 / (download) - annotate - [select for diffs], Wed Feb 3 15:36:36 2010 UTC (2 years, 3 months ago) by msaitoh
Branch: MAIN
Changes since 1.3: +3 -2
lines
Diff to previous 1.3 (colored)
- Make the initialize sequence close to the document. - Fix ASF heartbeat sending bug (FreeBSD rev. 1.271 (r202821)) - Use new handshake command for BCM5750 or new controllers (FreeBSD rev. 1.272 (r202822))
Revision 1.3 / (download) - annotate - [select for diffs], Thu Jan 28 03:09:13 2010 UTC (2 years, 3 months ago) by msaitoh
Branch: MAIN
Changes since 1.2: +8 -1
lines
Diff to previous 1.2 (colored)
- Introduce IPMI and ASF related code from FreeBSD. It fixes some problems which occured in netboot on sparc64 and PR#32767 - move the code of disabling host interrput in bge_stop() like linux tg3 driver. - fix the return value of bge_eeprom_getbyte(). - remove an unused structure. - KNF
Revision 1.2 / (download) - annotate - [select for diffs], Sun Jan 24 16:21:09 2010 UTC (2 years, 4 months ago) by msaitoh
Branch: MAIN
Changes since 1.1: +10 -12
lines
Diff to previous 1.1 (colored)
Many changes from FreeBSD and OpenBSD: - Add support for BCM5705F,BCM5714,SBCM5715S,BCM5717,BCM5718,BCM5720,BCM5723, BCM5724,BCM5751F,BCM5753F,BCM5756,BCM5761,BCM5761E,BCM5761S,BCM5761SE, BCM5764,BCM5781,BCM5784M,BCM5903M,BCM57760,BCM57761,BCM57765,BCM57780, BCM57781,BCM57785,BCM57788,BCM57790,BCM57791 and BCM57795. Fixes PR#41694. - Fix misunderstanding the capability for TSO4 on some chips. - Many other bugfixes. - Use proplib for no EEPROM systems (e.g. sparc64 with onboard bge). - Add debug function to show some flags.
Revision 1.1.10.3 / (download) - annotate - [select for diffs], Fri Aug 21 09:41:19 2009 UTC (2 years, 9 months ago) by bouyer
Branch: netbsd-4
Changes since 1.1.10.2: +8 -12
lines
Diff to previous 1.1.10.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)
The wrong version of this file was added to the branch when processing ticket #1342: use the file provided via patch in #1342 instead of version from HEAD.
Revision 1.1.10.2 / (download) - annotate - [select for diffs], Tue Aug 18 10:10:19 2009 UTC (2 years, 9 months ago) by bouyer
Branch: netbsd-4
Changes since 1.1.10.1: +289 -0
lines
Diff to previous 1.1.10.1 (colored) to branchpoint 1.1 (colored)
Pull up following revision(s) (requested by msaitoh in ticket #1342):
sys/dev/pci/if_bge.c: revisions 1.135, 1.146, 1.151-1.152,
1.155-1.167 via patch
sys/dev/pci/if_bgereg.h: revisions 1.43, 1.48-1.52
sys/dev/pci/if_bgevar.h: revision 1.1
sys/dev/mii/brgphy.c: revisions 1.36, 1.40, 1.43-1.44 and
1.47-1.48 via patch
sys/dev/mii/brgphyreg.h: revisions 1.3-1.4
sys/dev/mii/miidevs: revisions 1.75, 1.77, 1.85
sys/dev/mii/miidevs.h: regen
sys/dev/mii/miidevs_data.h: regen
sys/dev/mii/miivar.h: revision 1.54
For bge:
- Really set Tx threshold.
- Fix the case of setting a flag in BGE_PCI_DMA_RW_CTL on
conventional PCI.
- Fix some bugs that the driver unable to detect link loss
(OpenBSD 1.135, FreeBSD 1.102)
- bge_tick(): fix some extra input error (OpenBSD 1.221 FreeBSD 1.212)
- Acknowledge link change interrupts by setting the "link changed" bit
in the status register (used to have no effect). FreeBSD 1.44
(OpenBSD 1.21)
- Add some fiber support (OpenBSD 1.220)
- Set BGE_MISCCFG_KEEP_GPHY_POWER as {Open,Free}BSD and linux.
- Add special case code to fix a problem with the BCM5704 in TBI
mode (FreeBSD rev. 1.71, OpenBSD rev. 1.35)
- Force an interrupt in bge_ifmedia_upd (FreeBSD rev. 1.205, OpenBSD
rev. 1.242)
- Add missing workaround for 5705 (FreeBSD rev. 1.44, OpenBSD rev.
1.21)
- Don't print error message only when the register is BGE_SRS_MODE.
It occurs on some environment (and once after boot?). Other *BSDs
and Linux don't print the error message for all registers.
- Fix comments.
- Remove obsolete codes.
- Add BCM5786 support.
for brgphy:
- Add some quirk codes.
- Add support for BCM5462, BCM54K2, BCM5708C, BCM5722, and BCM5906.
Revision 1.1.8.2 / (download) - annotate - [select for diffs], Tue Aug 4 19:46:20 2009 UTC (2 years, 9 months ago) by snj
Branch: netbsd-5
CVS Tags: 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
Changes since 1.1.8.1: +289 -0
lines
Diff to previous 1.1.8.1 (colored) to branchpoint 1.1 (colored)
Apply patch (requested by msaitoh in ticket #866):
For bge:
- Fix the case of setting a flag in BGE_PCI_DMA_RW_CTL on
conventional PCI.
- Fix some bugs that the driver unable to detect link loss
(OpenBSD 1.135, FreeBSD 1.102)
- bge_tick(): fix some extra input error (OpenBSD 1.221 FreeBSD 1.212)
- Acknowledge link change interrupts by setting the 'link changed' bit
in the status register (used to have no effect). FreeBSD 1.44
(OpenBSD 1.21)
- Add some fiber support (OpenBSD 1.220)
- Set BGE_MISCCFG_KEEP_GPHY_POWER as {Open,Free}BSD and linux.
- Add special case code to fix a problem with the BCM5704 in TBI
mode (FreeBSD rev. 1.71, OpenBSD rev. 1.35)
- Force an interrupt in bge_ifmedia_upd (FreeBSD rev. 1.205, OpenBSD
rev. 1.242)
- Add missing workaround for 5705 (FreeBSD rev. 1.44, OpenBSD rev.
1.21)
- Don't print error message only when the register is BGE_SRS_MODE.
It occurs on some environment (and once after boot?). Other *BSDs
and Linux don't print the error message for all registers.
- Fix comments.
- Remove obsolete codes.
For brgphy:
- Add some quirk codes.
- Add support for BCM5462, BCM54K2 and BCM5722.
Revision 1.1.6.2 / (download) - annotate - [select for diffs], Wed May 13 17:20:25 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.1.6.1: +289 -0
lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)
Sync with HEAD. Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.1.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:56 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1.4.1: +289 -0
lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored)
sync with head.
Revision 1.1.2.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:56 2009 UTC (3 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.1.2.1: +289 -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.10.1, Thu Apr 23 10:47:44 2009 UTC (3 years, 1 month ago) by bouyer
Branch: netbsd-4
Changes since 1.1: +0 -289
lines
FILE REMOVED
file if_bgevar.h was added on branch netbsd-4 on 2009-08-18 10:10:19 +0000
Revision 1.1.8.1, Thu Apr 23 10:47:44 2009 UTC (3 years, 1 month ago) by snj
Branch: netbsd-5
Changes since 1.1: +0 -289
lines
FILE REMOVED
file if_bgevar.h was added on branch netbsd-5 on 2009-08-04 19:46:20 +0000
Revision 1.1.6.1, Thu Apr 23 10:47:44 2009 UTC (3 years, 1 month ago) by jym
Branch: jym-xensuspend
Changes since 1.1: +0 -289
lines
FILE REMOVED
file if_bgevar.h was added on branch jym-xensuspend on 2009-05-13 17:20:24 +0000
Revision 1.1.4.1, Thu Apr 23 10:47:44 2009 UTC (3 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1: +0 -289
lines
FILE REMOVED
file if_bgevar.h was added on branch yamt-nfs-mp on 2009-05-04 08:12:56 +0000
Revision 1.1.2.1, Thu Apr 23 10:47:44 2009 UTC (3 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.1: +0 -289
lines
FILE REMOVED
file if_bgevar.h was added on branch nick-hppapmap on 2009-04-28 07:35:56 +0000
Revision 1.1 / (download) - annotate - [select for diffs], Thu Apr 23 10:47:44 2009 UTC (3 years, 1 month ago) by msaitoh
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,
matt-premerge-20091211,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base
Branch point for: yamt-nfs-mp,
nick-hppapmap,
netbsd-5,
netbsd-4,
jym-xensuspend
use proplib