History log of /src/sys/dev/pci/if_skvar.h |
Revision | | Date | Author | Comments |
1.20 |
| 13-Sep-2019 |
msaitoh | if_flags is neither int nor short. It's unsigned short.
|
1.19 |
| 03-Jul-2018 |
jdolecek | attach the rnd source only once even with dual-port adapters
|
1.18 |
| 13-Apr-2015 |
riastradh | branches: 1.18.16; 1.18.18; Convert sys/dev to use <sys/rndsource.h>.
|
1.17 |
| 02-Feb-2012 |
tls | branches: 1.17.6; 1.17.24; 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.
|
1.16 |
| 19-Nov-2011 |
tls | branches: 1.16.2; 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.
|
1.15 |
| 08-Sep-2008 |
christos | branches: 1.15.28; cf_attach_decl_new
|
1.14 |
| 20-Jun-2008 |
cube | branches: 1.14.2; 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.
|
1.13 |
| 28-Apr-2008 |
martin | branches: 1.13.2; 1.13.4; Remove clause 3 and 4 from TNF licenses
|
1.12 |
| 04-Mar-2007 |
christos | branches: 1.12.36; 1.12.38; 1.12.40; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.11 |
| 04-Sep-2006 |
riz | branches: 1.11.8; Remove unused members of sk_softc.
|
1.10 |
| 28-Mar-2006 |
riz | Add jumbo frames support, from OpenBSD (mcbride). As seen on tech-net for the last N months.
|
1.9 |
| 14-Feb-2006 |
riz | branches: 1.9.2; 1.9.4; 1.9.6; Not all chips supported by this driver use the same interrupt moderation timer frequency; Take this into account. Information gathered from the sk98lin driver for Linux, from Marvell.
Also add sysctl support for changing the interrupt moderation timer at runtime; each board is controlled independently.
Discussed on tech-net beginning in November 2005.
|
1.8 |
| 11-Feb-2006 |
rpaulo | PR 31304: Contribute to the random pool. From Rhialto.
|
1.7 |
| 11-Dec-2005 |
christos | branches: 1.7.2; 1.7.4; 1.7.6; merge ktrace-lwp.
|
1.6 |
| 30-May-2005 |
christos | branches: 1.6.2; - const poisoning - avoid variable shadowing.
|
1.5 |
| 27-Feb-2005 |
perry | branches: 1.5.2; nuke trailing whitespace
|
1.4 |
| 26-Sep-2004 |
skd | branches: 1.4.4; 1.4.6; Fix Yukon ram sizing. Fix tx queue (slist can be corrupted when tx interrupts hit within tx_encap. Lower interrupt moderation timer to (improves performance). Improve chip identification. (from linux sk98lin driver). Keep tx queue running by kicking the tx bmu repeatedly.
|
1.3 |
| 02-Nov-2003 |
wiz | branches: 1.3.2; 1.3.4; 1.3.6; boundary, not boundry. Inspired by Tom Cosgrove.
|
1.2 |
| 15-Oct-2003 |
briggs | Make sure descriptors get bus_dmamap_sync()ed. Restructure a little to make this a little easier. Also try to avoid allocating things at reset time.
|
1.1 |
| 26-Aug-2003 |
jdolecek | Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler
Changes relative to submitted version: * yukonreg.h and xmaciireg.h merged into if_skreg.h * bhack[] constified + other small editing changes * use 'Ethernet address' rather than 'address' in attach message
XXX completely untested by me, needs further cleanup
Driver provided in PR kern/22511 by Stephen Degler
|
1.3.6.4 |
| 07-Sep-2006 |
rpaulo | Pull up following revision(s) (requested by riz in ticket #10680): sys/dev/pci/if_skvar.h: revision 1.10 share/man/man4/sk.4: revision 1.9 sys/dev/pci/if_sk.c: revision 1.22 Add jumbo frames support, from OpenBSD (mcbride). As seen on tech-net for the last N months. Jumbo frames now work under NetBSD, so note it.
|
1.3.6.3 |
| 29-Mar-2006 |
tron | Pull up following revision(s) (requested by riz in ticket #10403): sys/dev/pci/if_skreg.h: revision 1.6 sys/dev/pci/if_skvar.h: revision 1.9 sys/dev/pci/if_sk.c: revision 1.20 via patch Not all chips supported by this driver use the same interrupt moderation timer frequency; Take this into account. Information gathered from the sk98lin driver for Linux, from Marvell. Also add sysctl support for changing the interrupt moderation timer at runtime; each board is controlled independently. Discussed on tech-net beginning in November 2005.
|
1.3.6.2 |
| 29-Mar-2006 |
tron | Pull up following revision(s) (requested by riz in ticket #10402): sys/dev/pci/if_sk.c: revision 1.19 sys/dev/pci/if_skvar.h: revision 1.8 PR 31304: Contribute to the random pool. From Rhialto.
|
1.3.6.1 |
| 07-Jan-2005 |
jdc | Pull up revision 1.4 (requested by abs in ticket #973).
Fix Yukon ram sizing. Fix tx queue (slist can be corrupted when tx interrupts hit within tx_encap. Lower interrupt moderation timer to (improves performance). Improve chip identification. (from linux sk98lin driver). Keep tx queue running by kicking the tx bmu repeatedly.
|
1.3.4.7 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.3.4.6 |
| 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.3.4.5 |
| 19-Oct-2004 |
skrll | Sync with HEAD
|
1.3.4.4 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.3.4.3 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.3.4.2 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.3.4.1 |
| 02-Nov-2003 |
skrll | file if_skvar.h was added on branch ktrace-lwp on 2004-08-03 10:49:09 +0000
|
1.3.2.1 |
| 07-Jan-2005 |
jdc | Pull up revision 1.4 (requested by abs in ticket #973).
Fix Yukon ram sizing. Fix tx queue (slist can be corrupted when tx interrupts hit within tx_encap. Lower interrupt moderation timer to (improves performance). Improve chip identification. (from linux sk98lin driver). Keep tx queue running by kicking the tx bmu repeatedly.
|
1.4.6.1 |
| 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.4.4.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.5.2.3 |
| 03-Nov-2006 |
tron | Pull up following revision(s) (requested by riz in ticket #1480): sys/dev/pci/if_skvar.h: revision 1.10 sys/dev/pci/if_sk.c: revision 1.22 Add jumbo frames support, from OpenBSD (mcbride). As seen on tech-net for the last N months.
|
1.5.2.2 |
| 29-Mar-2006 |
tron | Pull up following revision(s) (requested by riz in ticket #1230): sys/dev/pci/if_skreg.h: revision 1.6 sys/dev/pci/if_skvar.h: revision 1.9 sys/dev/pci/if_sk.c: revision 1.20 via patch Not all chips supported by this driver use the same interrupt moderation timer frequency; Take this into account. Information gathered from the sk98lin driver for Linux, from Marvell. Also add sysctl support for changing the interrupt moderation timer at runtime; each board is controlled independently. Discussed on tech-net beginning in November 2005.
|
1.5.2.1 |
| 29-Mar-2006 |
tron | Pull up following revision(s) (requested by riz in ticket #1229): sys/dev/pci/if_sk.c: revision 1.19 sys/dev/pci/if_skvar.h: revision 1.8 PR 31304: Contribute to the random pool. From Rhialto.
|
1.6.2.3 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.6.2.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.6.2.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.7.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.7.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.7.2.1 |
| 18-Feb-2006 |
yamt | sync with head.
|
1.9.6.1 |
| 31-Mar-2006 |
tron | Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
|
1.9.4.1 |
| 19-Apr-2006 |
elad | sync with head.
|
1.9.2.2 |
| 14-Sep-2006 |
yamt | sync with head.
|
1.9.2.1 |
| 01-Apr-2006 |
yamt | sync with head.
|
1.11.8.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.12.40.2 |
| 04-May-2009 |
yamt | sync with head.
|
1.12.40.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.12.38.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.12.36.3 |
| 28-Sep-2008 |
mjf | Sync with HEAD.
|
1.12.36.2 |
| 29-Jun-2008 |
mjf | Sync with HEAD.
|
1.12.36.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.13.4.1 |
| 27-Jun-2008 |
simonb | Sync with head.
|
1.13.2.2 |
| 24-Sep-2008 |
wrstuden | Merge in changes between wrstuden-revivesa-base-2 and wrstuden-revivesa-base-3.
|
1.13.2.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.14.2.1 |
| 19-Oct-2008 |
haad | Sync with HEAD.
|
1.15.28.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.16.2.1 |
| 18-Feb-2012 |
mrg | merge to -current.
|
1.17.24.1 |
| 06-Jun-2015 |
skrll | Sync with HEAD
|
1.17.6.1 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.18.18.2 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
1.18.18.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.18.16.1 |
| 28-Jul-2018 |
pgoyette | Sync with HEAD
|