The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.80.4.1 / (download) - annotate - [select for diffs], Fri Aug 11 14:35:24 2023 UTC (7 months, 2 weeks ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.80: +4 -4 lines
Diff to previous 1.80 (colored) next main 1.81 (colored) to selected 1.69 (colored)

Pull up following revision(s) (requested by riastradh in ticket #319):

	sys/dev/pci/ubsec.c: revision 1.64
	sys/dev/pci/hifn7751.c: revision 1.82
	lib/libc/gen/getentropy.3: revision 1.5
	lib/libc/gen/getentropy.3: revision 1.6
	share/man/man4/rnd.4: revision 1.41
	lib/libc/sys/getrandom.2: revision 1.2
	lib/libc/sys/getrandom.2: revision 1.3
	share/man/man5/rc.conf.5: revision 1.193
	share/man/man7/entropy.7: revision 1.5
	share/man/man7/entropy.7: revision 1.6
	share/man/man7/entropy.7: revision 1.7
	share/man/man7/entropy.7: revision 1.8
	etc/security: revision 1.130
	share/man/man7/entropy.7: revision 1.9
	etc/security: revision 1.131
	sys/crypto/cprng_fast/cprng_fast.c: revision 1.19
	sys/sys/rndio.h: revision 1.3
	tests/lib/libc/sys/t_getrandom.c: revision 1.5
	etc/defaults/rc.conf: revision 1.164
	etc/defaults/rc.conf: revision 1.165
	sys/sys/rndsource.h: revision 1.10
	sys/kern/kern_entropy.c: revision 1.62
	sys/kern/kern_entropy.c: revision 1.63
	sys/kern/kern_entropy.c: revision 1.64
	sys/kern/subr_cprng.c: revision 1.44
	sys/kern/kern_entropy.c: revision 1.65
	sys/kern/kern_clock.c: revision 1.149
	sys/dev/pci/viornd.c: revision 1.22
	share/man/man9/rnd.9: revision 1.32
	sys/kern/subr_prf.c: revision 1.202
	sys/sys/rndsource.h: revision 1.8
	sys/sys/rndsource.h: revision 1.9
	share/man/man7/entropy.7: revision 1.10

1. Reinstate netbsd<=9 entropy estimator to unblock /dev/random, in
   parallel with assessment of only confident entropy sources (seed,
   HWRNG) for security warnings like sshd keys in motd and daily
   insecurity report.

2. Make multiuser boot wait for first /dev/random output soon after
   loading a seed and configuring rndctl, so that getentropy(3) meets
   its contract starting early at boot without introducing blocking
   paths that could cause hangs in init(8) or single-user mode.
   Operators can choose to disable this wait in rc.conf.

3. Fix some bugs left over from reducing the global entropy lock from
   a spin lock at IPL_VM to an adaptive lock at IPL_SOFTSERIAL.

4. Update man pages.

Revision 1.82 / (download) - annotate - [select for diffs], Fri Aug 4 07:38:53 2023 UTC (7 months, 3 weeks ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.81: +4 -4 lines
Diff to previous 1.81 (colored) to selected 1.69 (colored)

entropy(9): Simplify stages.  Split interrupt vs non-interrupt paths.

- Nix the entropy stage (cold, warm, hot).  Just use the usual kernel
  `cold' (cold: single-core, single-thread; interrupts may happen),
  and don't make any three-way distinction about whether interrupts
  or threads or other CPUs can be running.

  Instead, while cold, use splhigh/splx or forbid paths to come from
  interrupt context, and while warm, use mutex or the per-CPU hard
  and soft interrupt paths for low latency.  This comes at a small
  cost to some interrupt latency, since we may stir the pool in
  interrupt context -- but only for a very short window early at boot
  between configure and configure2, so it's hard to imagine it
  matters much.

- Allow rnd_add_uint32 to run in hard interrupt context or with spin
  locks held, but defer processing to softint and drop samples on the
  floor if buffer is full.  This is mainly used for cheaply tossing
  samples from drivers for non-HWRNG devices into the entropy pool,
  so it is often used from interrupt context and/or under spin locks.

- New rnd_add_data_intr provides the interrupt-like data entry path
  for arbitrary buffers and driver-specified entropy estimates: defer
  processing to softint and drop samples on the floor if buffer is
  full.

- Document that rnd_add_data is forbidden under spin locks outside
  interrupt context (will crash in LOCKDEBUG), and inadvisable in
  interrupt context (but technically permitted just in case there are
  compatibility issues for now); later we can forbid it altogether in
  interrupt context or under spin locks.

- Audit all uses of rnd_add_data to use rnd_add_data_intr where it
  might be used in interrupt context or under a spin lock.

This fixes a regression from last year when the global entropy lock
was changed from IPL_VM (spin) to IPL_SOFTSERIAL (adaptive).  Thought
I'd caught all the problems from that, but another one bit three
different people this week, presumably because of recent changes that
led to more non-HWRNG drivers entering the entropy consolidation
path from rnd_add_uint32.

In my attempt to preserve the rnd(9) API for the (now long-since
abandoned) prospect of pullup to netbsd-9 in my rewrite of the
entropy subsystem in 2020, I didn't introduce a separate entry point
for entering entropy from interrupt context or equivalent, i.e., spin
locks held, and instead made rnd_add_data rely on cpu_intr_p() to
decide whether to process the whole sample under a lock or only take
as much as there's buffer space for before scheduling a softint.  In
retrospect, that was a mistake (though perhaps not as much of a
mistake as other entropy API decisions...), a mistake which is
finally getting rectified now by rnd_add_data_intr.

XXX pullup-10

Revision 1.81 / (download) - annotate - [select for diffs], Sat May 6 21:53:26 2023 UTC (10 months, 3 weeks ago) by andvar
Branch: MAIN
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored) to selected 1.69 (colored)

s/Regiser/Register/ and s/regester/register/ in comments.

Revision 1.80 / (download) - annotate - [select for diffs], Sun May 22 11:39:27 2022 UTC (22 months, 1 week ago) by riastradh
Branch: MAIN
CVS Tags: netbsd-10-base, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.79: +4 -5 lines
Diff to previous 1.79 (colored) to selected 1.69 (colored)

opencrypto: Make freesession callback return void.

No functional change intended: all drivers already return zero
unconditionally.

Revision 1.79 / (download) - annotate - [select for diffs], Sun May 22 11:38:34 2022 UTC (22 months, 1 week ago) by riastradh
Branch: MAIN
Changes since 1.78: +8 -18 lines
Diff to previous 1.78 (colored) to selected 1.69 (colored)

hifn(4): Prune dead branches.  Assert session id validity.

Revision 1.78 / (download) - annotate - [select for diffs], Sun May 22 11:34:57 2022 UTC (22 months, 1 week ago) by riastradh
Branch: MAIN
Changes since 1.77: +4 -4 lines
Diff to previous 1.77 (colored) to selected 1.69 (colored)

hifn(4): Make ERESTART return more obvious.

Revision 1.77 / (download) - annotate - [select for diffs], Sun May 22 11:34:48 2022 UTC (22 months, 1 week ago) by riastradh
Branch: MAIN
Changes since 1.76: +2 -7 lines
Diff to previous 1.76 (colored) to selected 1.69 (colored)

hifn(4): Nix dead code.  crp and callback are guaranteed nonnull.

Revision 1.76 / (download) - annotate - [select for diffs], Sun May 22 11:31:33 2022 UTC (22 months, 1 week ago) by riastradh
Branch: MAIN
Changes since 1.75: +9 -10 lines
Diff to previous 1.75 (colored) to selected 1.69 (colored)

hifn(4): hifn_compression always returns zero.  Prune dead branches.

Revision 1.75 / (download) - annotate - [select for diffs], Sun May 22 11:31:25 2022 UTC (22 months, 1 week ago) by riastradh
Branch: MAIN
Changes since 1.74: +5 -4 lines
Diff to previous 1.74 (colored) to selected 1.69 (colored)

hifn(4): Fix error branches to do crypto_done, not return error.

Revision 1.74 / (download) - annotate - [select for diffs], Sun May 17 16:01:06 2020 UTC (3 years, 10 months ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.73: +3 -3 lines
Diff to previous 1.73 (colored) to selected 1.69 (colored)

pool_cache_prime, not pool_cache_lowat, as suggested by nick.

Revision 1.73 / (download) - annotate - [select for diffs], Sun May 17 15:42:10 2020 UTC (3 years, 10 months ago) by riastradh
Branch: MAIN
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored) to selected 1.69 (colored)

Missed a spot.

Revision 1.72 / (download) - annotate - [select for diffs], Sun May 17 00:54:05 2020 UTC (3 years, 10 months ago) by riastradh
Branch: MAIN
Changes since 1.71: +63 -55 lines
Diff to previous 1.71 (colored) to selected 1.69 (colored)

Rework hifn(4) RNG logic.

Previously we would read 34 bits of entropy into the pool and stop,
never to try again.  This change finishes the conversion to an
on-demand source, although we still use a callout to (a) try again in
another second if the 7811 FIFO was emptied, and (b) wait at least
0.4 sec after we start the RNG to read anything from it as the
alleged documentation allegedly recommends.

Revision 1.71 / (download) - annotate - [select for diffs], Sun May 17 00:53:09 2020 UTC (3 years, 10 months ago) by riastradh
Branch: MAIN
Changes since 1.70: +91 -72 lines
Diff to previous 1.70 (colored) to selected 1.69 (colored)

Tweak locking and use a pool cache for commands and dmamaps.

This is enough to get the crypto decelerator working in LOCKDEBUG;
previously it would crash the moment you looked at it.

Revision 1.70 / (download) - annotate - [select for diffs], Sun May 17 00:52:31 2020 UTC (3 years, 10 months ago) by riastradh
Branch: MAIN
Changes since 1.69: +40 -89 lines
Diff to previous 1.69 (colored)

Merge updates from OpenBSD's hifn(4) crypto decelerator driver.

Highlights:

- Apply a ten-year-old fix to the driver's misuse of previously
  exposed ciphertext as IV for the next ciphertext with CBC.

  (Someone^TM should make sure there are no other drivers still doing
  this...)

- Various zeroing of buffers.

- Various minor cosmetic changes.

Revision 1.69 / (download) - annotate - [selected], Sun May 17 00:50:24 2020 UTC (3 years, 10 months ago) by riastradh
Branch: MAIN
Changes since 1.68: +2 -8 lines
Diff to previous 1.68 (colored)

Remove bogus comment.

Revision 1.68 / (download) - annotate - [select for diffs], Sun May 17 00:49:28 2020 UTC (3 years, 10 months ago) by riastradh
Branch: MAIN
Changes since 1.67: +33 -140 lines
Diff to previous 1.67 (colored) to selected 1.69 (colored)

De-#ifdef __OpenBSD__ify hifn7751.c.

Not really helpful; we can just use diff3 to merge updates.

Revision 1.67 / (download) - annotate - [select for diffs], Thu Apr 30 03:40:53 2020 UTC (3 years, 10 months ago) by riastradh
Branch: MAIN
Changes since 1.66: +2 -7 lines
Diff to previous 1.66 (colored) to selected 1.69 (colored)

rnd_attach_source calls the callback itself now.

No need for every driver to explicitly call it to prime the pool.

Eliminate now-unused <sys/rndpool.h>.

Revision 1.66 / (download) - annotate - [select for diffs], Thu Apr 30 03:24:15 2020 UTC (3 years, 10 months ago) by riastradh
Branch: MAIN
Changes since 1.65: +9 -9 lines
Diff to previous 1.65 (colored) to selected 1.69 (colored)

Don't attach rndsource until it's actually ready to run.

Revision 1.61.18.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:09 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.61.18.1: +77 -72 lines
Diff to previous 1.61.18.1 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored) to selected 1.69 (colored)

Merge changes from current as of 20200406

Revision 1.63.6.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:19:10 2020 UTC (4 years ago) by ad
Branch: ad-namecache
Changes since 1.63: +77 -72 lines
Diff to previous 1.63 (colored) next main 1.64 (colored) to selected 1.69 (colored)

Sync with head.

Revision 1.65 / (download) - annotate - [select for diffs], Sat Feb 29 16:36:25 2020 UTC (4 years ago) by mlelstv
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3
Changes since 1.64: +21 -13 lines
Diff to previous 1.64 (colored) to selected 1.69 (colored)

Fix signed/unsigned comparisons. Send data little endian.

Revision 1.64 / (download) - annotate - [select for diffs], Tue Feb 18 04:12:40 2020 UTC (4 years, 1 month ago) by msaitoh
Branch: MAIN
Changes since 1.63: +59 -62 lines
Diff to previous 1.63 (colored) to selected 1.69 (colored)

No functional change:

 - u_int*_t -> uint*_t
 - whitespace fixes.
 - KNF.

Revision 1.61.18.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:15 2019 UTC (4 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.61: +5 -4 lines
Diff to previous 1.61 (colored) to selected 1.69 (colored)

Sync with HEAD

Revision 1.61.16.2 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:27 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.61.16.1: +3 -3 lines
Diff to previous 1.61.16.1 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored) to selected 1.69 (colored)

Synch with HEAD

Revision 1.63 / (download) - annotate - [select for diffs], Thu Dec 27 14:03:54 2018 UTC (5 years, 3 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored) to selected 1.69 (colored)

Remove M_COPY_PKTHDR, M_MOVE_PKTHDR, M_ALIGN and MH_ALIGN.

Revision 1.61.16.1 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:31 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.61: +4 -3 lines
Diff to previous 1.61 (colored) to selected 1.69 (colored)

Sync with head

Revision 1.62 / (download) - annotate - [select for diffs], Fri Oct 5 05:37:49 2018 UTC (5 years, 5 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020
Changes since 1.61: +4 -3 lines
Diff to previous 1.61 (colored) to selected 1.69 (colored)

 Use pci_intr_establish_xname().

Revision 1.50.6.4 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:07 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.50.6.3: +10 -7 lines
Diff to previous 1.50.6.3 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored) to selected 1.69 (colored)

update from HEAD

Revision 1.56.4.1 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:09 2015 UTC (8 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.56: +12 -9 lines
Diff to previous 1.56 (colored) next main 1.57 (colored) to selected 1.69 (colored)

Sync with HEAD

Revision 1.56.2.3 / (download) - annotate - [select for diffs], Fri May 15 03:50:36 2015 UTC (8 years, 10 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.56.2.2: +7 -4 lines
Diff to previous 1.56.2.2 (colored) to branchpoint 1.56 (colored) next main 1.57 (colored) to selected 1.69 (colored)

Pull up following revision(s) (requested by maxv in ticket #763):
	sys/dev/pci/hifn7751.c: revisions 1.58, 1.61
fix mbuf leak on failure (Brainy)
--
Use-after-free. Found by Brainy.

Revision 1.61 / (download) - annotate - [select for diffs], Thu May 14 07:27:14 2015 UTC (8 years, 10 months ago) by maxv
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncqfixes-base, jdolecek-ncqfixes, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.60: +6 -4 lines
Diff to previous 1.60 (colored) to selected 1.69 (colored)

Use-after-free. Found by Brainy.

ok christos@

Revision 1.56.2.2 / (download) - annotate - [select for diffs], Mon May 11 06:15:46 2015 UTC (8 years, 10 months ago) by msaitoh
Branch: netbsd-7
Changes since 1.56.2.1: +4 -4 lines
Diff to previous 1.56.2.1 (colored) to branchpoint 1.56 (colored) to selected 1.69 (colored)

Pull up following revision(s) (requested by mrg in ticket #750):
	sys/dev/pci/hifn7751.c: revision 1.59
initialise sc_mtx slightly earlier, before it is used on systems with rng.
fixes problem reported by msaitoh@.

Revision 1.56.2.1 / (download) - annotate - [select for diffs], Mon May 11 03:14:29 2015 UTC (8 years, 10 months ago) by msaitoh
Branch: netbsd-7
Changes since 1.56: +3 -4 lines
Diff to previous 1.56 (colored) to selected 1.69 (colored)

Pull up following revision(s) (requested by riastradh in ticket #748):
	sys/dev/pci/hifn7751.c: revision 1.60
Defer to a callout in hifn_rng_get.  Fixes lock-against-self.
Still can't call rnd_add_data directly from an rndsource callback.
(Still plan to fix this with further rnd rototilling.)
XXX pullup netbsd-7

Revision 1.60 / (download) - annotate - [select for diffs], Sat May 9 21:57:56 2015 UTC (8 years, 10 months ago) by riastradh
Branch: MAIN
Changes since 1.59: +3 -4 lines
Diff to previous 1.59 (colored) to selected 1.69 (colored)

Defer to a callout in hifn_rng_get.  Fixes lock-against-self.

Still can't call rnd_add_data directly from an rndsource callback.

(Still plan to fix this with further rnd rototilling.)

XXX pullup netbsd-7

Revision 1.59 / (download) - annotate - [select for diffs], Sat May 9 08:08:50 2015 UTC (8 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.58: +4 -4 lines
Diff to previous 1.58 (colored) to selected 1.69 (colored)

initialise sc_mtx slightly earlier, before it is used on systems with rng.

fixes problem reported by msaitoh@.

Revision 1.58 / (download) - annotate - [select for diffs], Mon Apr 27 17:38:01 2015 UTC (8 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.57: +3 -2 lines
Diff to previous 1.57 (colored) to selected 1.69 (colored)

fix mbuf leak on failure (Brainy)

Revision 1.57 / (download) - annotate - [select for diffs], Mon Apr 13 16:33:25 2015 UTC (8 years, 11 months ago) by riastradh
Branch: MAIN
Changes since 1.56: +4 -3 lines
Diff to previous 1.56 (colored) to selected 1.69 (colored)

Convert sys/dev to use <sys/rndsource.h>.

Revision 1.50.6.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:42 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.50.6.2: +80 -13 lines
Diff to previous 1.50.6.2 (colored) to branchpoint 1.50 (colored) to selected 1.69 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.56 / (download) - annotate - [select for diffs], Sun Aug 10 16:44:35 2014 UTC (9 years, 7 months ago) by tls
Branch: MAIN
CVS Tags: tls-maxphys-base, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-base
Branch point for: nick-nhusb, netbsd-7
Changes since 1.55: +3 -14 lines
Diff to previous 1.55 (colored) to selected 1.69 (colored)

Merge tls-earlyentropy branch into HEAD.

Revision 1.54.2.2 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:54 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.54.2.1: +3 -2 lines
Diff to previous 1.54.2.1 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored) to selected 1.69 (colored)

Rebase.

Revision 1.55 / (download) - annotate - [select for diffs], Tue Jun 3 13:53:28 2014 UTC (9 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: tls-earlyentropy-base
Changes since 1.54: +3 -2 lines
Diff to previous 1.54 (colored) to selected 1.69 (colored)

 Avoid buffer overflow which was added in rev. 1.52.
This change fix a panic at boot time (PR#47950 Reported by Bert Kiers).

 OK'd by tls.

Revision 1.46.8.3 / (download) - annotate - [select for diffs], Thu May 22 11:40:24 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.46.8.2: +192 -69 lines
Diff to previous 1.46.8.2 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored) to selected 1.69 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.52.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:39 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.52: +80 -3 lines
Diff to previous 1.52 (colored) next main 1.53 (colored) to selected 1.69 (colored)

sync with head

Revision 1.54.2.1 / (download) - annotate - [select for diffs], Mon Apr 7 03:37:33 2014 UTC (9 years, 11 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.54: +3 -14 lines
Diff to previous 1.54 (colored) to selected 1.69 (colored)

Be a little more clear and consistent about harvesting entropy from devices:

1) deprecate RND_FLAG_NO_ESTIMATE

2) define RND_FLAG_COLLECT_TIME, RND_FLAG_COLLECT_VALUE

3) define RND_FLAG_ESTIMATE_TIME, RND_FLAG_ESTIMATE_VALUE

4) define RND_FLAG_DEFAULT: RND_FLAG_COLLECT_TIME|
   RND_FLAG_COLLECT_VALUE|RND_FLAG_ESTIMATE_TIME

5) Make entropy harvesting from environmental sensors a little more generic
   and remove it from individual sensor drivers.

6) Remove individual open-coded delta-estimators for values from a few
   places in the tree (uvm, environmental drivers).

7) 0 -> RND_FLAG_DEFAULT, actually gather entropy from various drivers
   that had stubbed out code, other minor cleanups.

Revision 1.54 / (download) - annotate - [select for diffs], Sat Mar 29 19:28:24 2014 UTC (10 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Changes since 1.53: +4 -3 lines
Diff to previous 1.53 (colored) to selected 1.69 (colored)

make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.

Revision 1.53 / (download) - annotate - [select for diffs], Fri Jan 3 16:09:22 2014 UTC (10 years, 2 months ago) by pgoyette
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.52: +78 -2 lines
Diff to previous 1.52 (colored) to selected 1.69 (colored)

Modularize

Revision 1.50.6.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:18 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.50.6.1: +114 -68 lines
Diff to previous 1.50.6.1 (colored) to branchpoint 1.50 (colored) to selected 1.69 (colored)

resync from head

Revision 1.52 / (download) - annotate - [select for diffs], Thu Jun 13 00:55:01 2013 UTC (10 years, 9 months ago) by tls
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: rmind-smpnet
Changes since 1.51: +114 -68 lines
Diff to previous 1.51 (colored) to selected 1.69 (colored)

Convert the entropy pool framework from pseudo-callout-driven to
soft interrupt driven operation.

Add a polling mode of operation -- now we can ask hardware random number
generators to top us up just when we need it (bcm2835_rng and amdpm
converted as examples).

Fix a stall noticed with repeated reads from /dev/random while testing.

Revision 1.50.6.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:15 2012 UTC (11 years, 4 months ago) by tls
Branch: tls-maxphys
Changes since 1.50: +34 -33 lines
Diff to previous 1.50 (colored) to selected 1.69 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.46.8.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:21:25 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.46.8.1: +34 -33 lines
Diff to previous 1.46.8.1 (colored) to branchpoint 1.46 (colored) to selected 1.69 (colored)

sync with head

Revision 1.51 / (download) - annotate - [select for diffs], Sat Oct 27 17:18:32 2012 UTC (11 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, khorben-n900, agc-symver-base, agc-symver
Changes since 1.50: +34 -33 lines
Diff to previous 1.50 (colored) to selected 1.69 (colored)

split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.

Revision 1.46.8.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:45 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.46: +9 -16 lines
Diff to previous 1.46 (colored) to selected 1.69 (colored)

sync with head

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:37 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.48: +6 -8 lines
Diff to previous 1.48 (colored) next main 1.49 (colored) to selected 1.69 (colored)

merge to -current.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Feb 2 19:43:04 2012 UTC (12 years, 1 month ago) by tls
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10
Branch point for: tls-maxphys
Changes since 1.49: +5 -5 lines
Diff to previous 1.49 (colored) to selected 1.69 (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.49 / (download) - annotate - [select for diffs], Mon Jan 30 19:41:19 2012 UTC (12 years, 2 months ago) by drochner
Branch: MAIN
Changes since 1.48: +3 -5 lines
Diff to previous 1.48 (colored) to selected 1.69 (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.48 / (download) - annotate - [select for diffs], Tue Nov 29 03:50:31 2011 UTC (12 years, 4 months ago) by tls
Branch: MAIN
CVS Tags: jmcneill-usbmp-pre-base2, jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Changes since 1.47: +5 -3 lines
Diff to previous 1.47 (colored) to selected 1.69 (colored)

Remove rnd_extract_data from the public kernel API (it is for use by the
stream generators only).  Clean up some related minor issues.

Revision 1.47 / (download) - annotate - [select for diffs], Sat Nov 19 22:51:23 2011 UTC (12 years, 4 months ago) by tls
Branch: MAIN
Changes since 1.46: +4 -11 lines
Diff to previous 1.46 (colored) to selected 1.69 (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.44.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:37 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.44.4.1: +2 -5 lines
Diff to previous 1.44.4.1 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored) to selected 1.69 (colored)

sync with head

Revision 1.46 / (download) - annotate - [select for diffs], Sat Nov 13 13:52:05 2010 UTC (13 years, 4 months ago) by uebayasi
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, 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.45: +2 -5 lines
Diff to previous 1.45 (colored) to selected 1.69 (colored)

Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
some other constants.  These are provided by sys/param.h now.

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:46:23 2010 UTC (13 years, 7 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored) next main 1.45 (colored) to selected 1.69 (colored)

Sync with HEAD.

Revision 1.37.4.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:45 2010 UTC (13 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.37.4.2: +3 -3 lines
Diff to previous 1.37.4.2 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored) to selected 1.69 (colored)

sync with head.

Revision 1.44.4.1 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:36 2010 UTC (13 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored) to selected 1.69 (colored)

sync with head

Revision 1.45 / (download) - annotate - [select for diffs], Wed Jun 16 20:15:53 2010 UTC (13 years, 9 months ago) by hubertf
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored) to selected 1.69 (colored)

Make debug message print more than the device name

OK mbalmer, jmcneill

Revision 1.37.4.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:44 2010 UTC (14 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.37.4.1: +6 -6 lines
Diff to previous 1.37.4.1 (colored) to branchpoint 1.37 (colored) to selected 1.69 (colored)

sync with head

Revision 1.44 / (download) - annotate - [select for diffs], Mon Feb 1 22:34:29 2010 UTC (14 years, 1 month ago) by hubertf
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.43: +4 -4 lines
Diff to previous 1.43 (colored) to selected 1.69 (colored)

Use uppercase for acronyms on output: DRAM, SRAM

Revision 1.43 / (download) - annotate - [select for diffs], Thu Nov 26 15:17:09 2009 UTC (14 years, 4 months ago) by njoly
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.42: +4 -4 lines
Diff to previous 1.42 (colored) to selected 1.69 (colored)

Cleanup interrupt establish error messages. Do not mix
aprint_error/aprint_normal/printf calls for a single line.

Revision 1.37.18.1 / (download) - annotate - [select for diffs], Wed May 13 17:20:24 2009 UTC (14 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.37: +36 -37 lines
Diff to previous 1.37 (colored) next main 1.38 (colored) to selected 1.69 (colored)

Sync with HEAD.

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

Revision 1.37.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:55 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.37: +36 -37 lines
Diff to previous 1.37 (colored) to selected 1.69 (colored)

sync with head.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Apr 28 22:43:50 2009 UTC (14 years, 11 months ago) by dyoung
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, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.41: +10 -11 lines
Diff to previous 1.41 (colored) to selected 1.69 (colored)

Use device_t, cfdata_t, and device_private().

Revision 1.37.12.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:56 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.37: +28 -28 lines
Diff to previous 1.37 (colored) next main 1.38 (colored) to selected 1.69 (colored)

Sync with HEAD.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Apr 18 14:58:03 2009 UTC (14 years, 11 months ago) by tsutsui
Branch: MAIN
CVS Tags: nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.40: +17 -17 lines
Diff to previous 1.40 (colored) to selected 1.69 (colored)

Remove extra whitespace added by a stupid tool.
XXX: more in src/sys/arch

Revision 1.40 / (download) - annotate - [select for diffs], Wed Mar 18 17:06:49 2009 UTC (15 years ago) by cegger
Branch: MAIN
Changes since 1.39: +17 -17 lines
Diff to previous 1.39 (colored) to selected 1.69 (colored)

bcopy -> memcpy

Revision 1.39 / (download) - annotate - [select for diffs], Wed Mar 18 16:00:19 2009 UTC (15 years ago) by cegger
Branch: MAIN
Changes since 1.38: +10 -10 lines
Diff to previous 1.38 (colored) to selected 1.69 (colored)

bzero -> memset

Revision 1.38 / (download) - annotate - [select for diffs], Wed Mar 18 15:14:30 2009 UTC (15 years ago) by cegger
Branch: MAIN
Changes since 1.37: +5 -5 lines
Diff to previous 1.37 (colored) to selected 1.69 (colored)

bcmp -> memcmp

Revision 1.36.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:38 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.36: +32 -43 lines
Diff to previous 1.36 (colored) next main 1.37 (colored) to selected 1.69 (colored)

Sync with HEAD.

Revision 1.37 / (download) - annotate - [select for diffs], Thu Apr 10 19:13:36 2008 UTC (15 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, 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-base2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, 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: yamt-nfs-mp, nick-hppapmap, jym-xensuspend
Changes since 1.36: +32 -43 lines
Diff to previous 1.36 (colored) to selected 1.69 (colored)

use aprint_*_dev and device_xname

Revision 1.35.8.1 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:46 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.35: +18 -18 lines
Diff to previous 1.35 (colored) next main 1.36 (colored) to selected 1.69 (colored)

sync with HEAD

Revision 1.35.14.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:56 2008 UTC (16 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.35: +18 -18 lines
Diff to previous 1.35 (colored) next main 1.36 (colored) to selected 1.69 (colored)

Sync with HEAD.

Revision 1.23.2.4 / (download) - annotate - [select for diffs], Mon Feb 4 09:23:28 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.23.2.3: +18 -18 lines
Diff to previous 1.23.2.3 (colored) next main 1.24 (colored) to selected 1.69 (colored)

sync with head.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Feb 2 02:39:01 2008 UTC (16 years, 1 month ago) by tls
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.35: +18 -18 lines
Diff to previous 1.35 (colored) to selected 1.69 (colored)

From Darran Hunt at Coyote Point: don't truncate HMAC to 96 bits unless
actually asked to.

Fixed in FreeBSD a while ago, discussed on tech-kern and tech-crypto.

Revision 1.23.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:36:51 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.23.2.2: +11 -11 lines
Diff to previous 1.23.2.2 (colored) to selected 1.69 (colored)

sync with head.

Revision 1.34.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:07:30 2007 UTC (16 years, 8 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.34: +4 -4 lines
Diff to previous 1.34 (colored) next main 1.35 (colored) to selected 1.69 (colored)

Sync with head.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Jul 9 21:00:52 2007 UTC (16 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, 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-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-base, jmcneill-pm-base, jmcneill-pm, jmcneill-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
Branch point for: mjf-devfs, matt-armv6
Changes since 1.34: +4 -4 lines
Diff to previous 1.34 (colored) to selected 1.69 (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.34.2.1 / (download) - annotate - [select for diffs], Sun Jul 1 21:48:07 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.34: +4 -4 lines
Diff to previous 1.34 (colored) next main 1.35 (colored) to selected 1.69 (colored)

Adapt to callout API change.

Revision 1.33.4.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:55:14 2007 UTC (17 years ago) by rmind
Branch: yamt-idlelwp
Changes since 1.33: +9 -9 lines
Diff to previous 1.33 (colored) next main 1.34 (colored) to selected 1.69 (colored)

Sync with HEAD.

Revision 1.34 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:18 2007 UTC (17 years ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.33: +9 -9 lines
Diff to previous 1.33 (colored) to selected 1.69 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.23.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:43 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.23.2.1: +6 -5 lines
Diff to previous 1.23.2.1 (colored) to selected 1.69 (colored)

sync with head.

Revision 1.31.4.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:42 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.31.4.1: +5 -5 lines
Diff to previous 1.31.4.1 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored) to selected 1.69 (colored)

sync with head.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:29 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.31: +4 -3 lines
Diff to previous 1.31 (colored) next main 1.32 (colored) to selected 1.69 (colored)

Sync with head.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:08 2006 UTC (17 years, 4 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, post-newlock2-merge, newlock2-nbase, newlock2-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, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.32: +5 -5 lines
Diff to previous 1.32 (colored) to selected 1.69 (colored)

__unused removal on arguments; approved by core.

Revision 1.31.4.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:06:16 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.31: +6 -5 lines
Diff to previous 1.31 (colored) to selected 1.69 (colored)

sync with head

Revision 1.32 / (download) - annotate - [select for diffs], Thu Oct 12 01:31:29 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.31: +6 -5 lines
Diff to previous 1.31 (colored) to selected 1.69 (colored)

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

Revision 1.29.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:52:16 2006 UTC (17 years, 6 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.29: +5 -5 lines
Diff to previous 1.29 (colored) next main 1.30 (colored) to selected 1.69 (colored)

sync with head

Revision 1.29.8.2 / (download) - annotate - [select for diffs], Sun Sep 3 15:24:22 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.29.8.1: +4 -4 lines
Diff to previous 1.29.8.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored) to selected 1.69 (colored)

sync with head.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Aug 30 02:13:20 2006 UTC (17 years, 7 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.30: +4 -4 lines
Diff to previous 1.30 (colored) to selected 1.69 (colored)

static goes first

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:05:03 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.23: +136 -52 lines
Diff to previous 1.23 (colored) to selected 1.69 (colored)

sync with head.

Revision 1.29.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:13 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored) next main 1.30 (colored) to selected 1.69 (colored)

Sync with head.

Revision 1.29.10.1 / (download) - annotate - [select for diffs], Wed Apr 19 03:25:34 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored) next main 1.30 (colored) to selected 1.69 (colored)

sync with head.

Revision 1.29.8.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:07:15 2006 UTC (18 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored) to selected 1.69 (colored)

sync with head.

Revision 1.29.12.1 / (download) - annotate - [select for diffs], Fri Mar 31 09:45:23 2006 UTC (18 years ago) by tron
Branch: peter-altq
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored) next main 1.30 (colored) to selected 1.69 (colored)

Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Mar 28 17:38:34 2006 UTC (18 years ago) by thorpej
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored) to selected 1.69 (colored)

Use device_unit().

Revision 1.14.2.6 / (download) - annotate - [select for diffs], Sun Dec 11 10:28:58 2005 UTC (18 years, 3 months ago) by christos
Branch: ktrace-lwp
Changes since 1.14.2.5: +4 -5 lines
Diff to previous 1.14.2.5 (colored) next main 1.15 (colored) to selected 1.69 (colored)

Sync with head.

Revision 1.28.6.1 / (download) - annotate - [select for diffs], Tue Nov 29 21:23:14 2005 UTC (18 years, 4 months ago) by yamt
Branch: yamt-readahead
Changes since 1.28: +4 -5 lines
Diff to previous 1.28 (colored) next main 1.29 (colored) to selected 1.69 (colored)

sync with head.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Nov 25 16:16:46 2005 UTC (18 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-readahead-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, ktrace-lwp-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.28: +4 -5 lines
Diff to previous 1.28 (colored) to selected 1.69 (colored)

- De-couple the software crypto implementation from the rest of the
  framework.  There is no need to waste the space if you are only using
  algoritms provided by hardware accelerators.  To get the software
  implementations, add "pseudo-device swcr" to your kernel config.
- Lazily initialize the opencrypto framework when crypto drivers
  (either hardware or swcr) register themselves with the framework.

Revision 1.14.2.5 / (download) - annotate - [select for diffs], Thu Nov 10 14:06:01 2005 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.14.2.4: +215 -135 lines
Diff to previous 1.14.2.4 (colored) to selected 1.69 (colored)

Sync with HEAD. Here we go again...

Revision 1.28 / (download) - annotate - [select for diffs], Sun Oct 16 20:26:47 2005 UTC (18 years, 5 months ago) by tls
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base2, yamt-readahead-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-readahead
Changes since 1.27: +4 -17 lines
Diff to previous 1.27 (colored) to selected 1.69 (colored)

From Gilles Roy <groy@qnx.com>: don't increment buffer pointer twice
(once before callback, once *in* callback) for MAC transforms.  How did
this driver ever work at all without this?

Revision 1.27 / (download) - annotate - [select for diffs], Sun Oct 16 00:14:22 2005 UTC (18 years, 5 months ago) by tls
Branch: MAIN
Changes since 1.26: +6 -6 lines
Diff to previous 1.26 (colored) to selected 1.69 (colored)

HAVE_CRYPTO_LZS, not HAVE_CRYPTO_LSZ (worse, it was inconsistently used)

Revision 1.26 / (download) - annotate - [select for diffs], Sun Oct 16 00:12:42 2005 UTC (18 years, 5 months ago) by tls
Branch: MAIN
Changes since 1.25: +10 -5 lines
Diff to previous 1.25 (colored) to selected 1.69 (colored)

Don't use rnd_extract_data to set up IVs for new sessions; it is very
expensive, and pointless.  As elsewhere in the kernel (and as approved
under FIPS-140-2 by multiple test labs, incidentally) we use arc4 to
generate IVs here; there is no benefit to their being cryptographically
strong so long as there is a sufficient Hamming distance between them.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Oct 15 08:58:15 2005 UTC (18 years, 5 months ago) by tls
Branch: MAIN
Changes since 1.24: +111 -26 lines
Diff to previous 1.24 (colored) to selected 1.69 (colored)

Add support for the hardware random number generator on the Hifn 7811
and 795x.  This was present in the driver before, but disabled due to
problems with the actual randomness of generated numbers on the
ubiquitious 7900-series parts.  The code here is far, far more
conservative than anyone else's driver for this RNG is -- but I
believe that conservatism is called for, because the 79xx RNG
design is missing a number of pieces from Hifn's "reference" 6500
RNG, and thus the numbers it generates must be treated with some
care.

Support for the 7811 RNG (which is a full-fledged 6500 type
generator) is pretty much the same here as in other variants of
this driver, except that it uses Hifn's "worst case" estimate of
actual entropy per output bit, so it will accumulate bits much
more slowly.  The 7811 support is untested.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Oct 15 04:31:20 2005 UTC (18 years, 5 months ago) by tls
Branch: MAIN
Changes since 1.23: +10 -2 lines
Diff to previous 1.23 (colored) to selected 1.69 (colored)

From OpenBSD hifn7751.c revision 1.149: enable the command-wait interrupt
even if there's only one request in the queue.  Sometimes we seem to miss
multiple interrupts, and command-wait saves us.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Jun 28 00:28:42 2005 UTC (18 years, 9 months ago) by thorpej
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.22: +85 -90 lines
Diff to previous 1.22 (colored) to selected 1.69 (colored)

Use ANSI function decls and static.

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:05 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.21: +12 -12 lines
Diff to previous 1.21 (colored) next main 1.22 (colored) to selected 1.69 (colored)

sync with -current

Revision 1.21.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:35:10 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.21: +12 -12 lines
Diff to previous 1.21 (colored) next main 1.22 (colored) to selected 1.69 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.14.2.4 / (download) - annotate - [select for diffs], Fri Mar 4 16:45:17 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.14.2.3: +12 -12 lines
Diff to previous 1.14.2.3 (colored) to selected 1.69 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.22 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:32 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, 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, 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-3, kent-audio2-base
Changes since 1.21: +12 -12 lines
Diff to previous 1.21 (colored) to selected 1.69 (colored)

nuke trailing whitespace

Revision 1.14.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:31:02 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.14.2.2: +2 -2 lines
Diff to previous 1.14.2.2 (colored) to selected 1.69 (colored)

Fix the sync with head I botched.

Revision 1.14.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:49:03 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.14.2.1: +0 -0 lines
Diff to previous 1.14.2.1 (colored) to selected 1.69 (colored)

Sync with HEAD.

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:49:07 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.14: +2197 -663 lines
Diff to previous 1.14 (colored) to selected 1.69 (colored)

Sync with HEAD

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Wed May 5 15:23:59 2004 UTC (19 years, 10 months ago) by tron
Branch: netbsd-2-0
CVS Tags: 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-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
Changes since 1.20: +6 -3 lines
Diff to previous 1.20 (colored) next main 1.21 (colored) to selected 1.69 (colored)

Pull up revision 1.21 (requested by jonathan in ticket #239):
Identify AES-capable chips (7955, 7956) in the driver attach message.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Apr 29 01:46:06 2004 UTC (19 years, 11 months ago) by jonathan
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.20: +6 -3 lines
Diff to previous 1.20 (colored) to selected 1.69 (colored)

Identify AES-capable chips (7955, 7956) in the driver attach message.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Nov 16 00:22:09 2003 UTC (20 years, 4 months ago) by jonathan
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.19: +137 -39 lines
Diff to previous 1.19 (colored) to selected 1.69 (colored)

Support symmetric crypto ops, including AES, on hifn 7955 and 7956.
Not tested on 795[56],  but compiles and matches FreeBSD-tested diffs.

Suggested by Sam Leffler <sam@errno.com>, as imported into FreeBSD by Sam.
Submitted to FreeBSD by Rajesh Vaidyanath <RVaidyanath@hifn.com>.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Aug 28 18:13:33 2003 UTC (20 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +2 -3 lines
Diff to previous 1.18 (colored) to selected 1.69 (colored)

Remove an unnececssary PCI config read.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Aug 28 15:15:43 2003 UTC (20 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.17: +6 -6 lines
Diff to previous 1.17 (colored) to selected 1.69 (colored)

Hi/Fn is now spelled Hifn.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Aug 28 15:05:10 2003 UTC (20 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.16: +32 -85 lines
Diff to previous 1.16 (colored) to selected 1.69 (colored)

ANSI'ify (matches change in openbsd v1.140 of this file).

Revision 1.16 / (download) - annotate - [select for diffs], Thu Aug 28 01:53:06 2003 UTC (20 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.15: +99 -57 lines
Diff to previous 1.15 (colored) to selected 1.69 (colored)

Print out a bit more information about which part is present at attach
time, generally tidy up autoconfiguration messages.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Jul 30 18:49:27 2003 UTC (20 years, 8 months ago) by jonathan
Branch: MAIN
Changes since 1.14: +2031 -586 lines
Diff to previous 1.14 (colored) to selected 1.69 (colored)

Discard previous driver; it didnt really do anything.

Replace with  a new from-scratch port of  recent OpenBSD hifn7751 source,
with changes to the crypto-framework calls to fit Sam Leffler's rework.
(Some of the attach-time changes from the previous driver were carried over).
Many thanks to Quentin Garnier (cube@cubidou.net) for testing an pre-release
of the driver and finding a couple of missing initializations.

Note that RNG support is temporarily disabled, until a potential issue
with RNG quality is investigated and resolved.

Revision 1.14 / (download) - annotate - [select for diffs], Sat May 3 18:11:34 2003 UTC (20 years, 11 months ago) by wiz
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.13: +6 -6 lines
Diff to previous 1.13 (colored) to selected 1.69 (colored)

DMA, not dma nor Dma.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jan 31 00:07:42 2003 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.12: +28 -24 lines
Diff to previous 1.12 (colored) to selected 1.69 (colored)

Use aprint_*().

Revision 1.12 / (download) - annotate - [select for diffs], Mon Jan 20 05:30:07 2003 UTC (21 years, 2 months ago) by simonb
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored) to selected 1.69 (colored)

The Double-Semi-Colon Police.

Revision 1.2.2.5 / (download) - annotate - [select for diffs], Tue Jan 7 21:34:38 2003 UTC (21 years, 2 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.2.2.4: +3 -3 lines
Diff to previous 1.2.2.4 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.69 (colored)

Sync with HEAD.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jan 6 13:05:15 2003 UTC (21 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) to selected 1.69 (colored)

interrupt with two rs.

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Fri Oct 18 02:43:02 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.2.3: +4 -5 lines
Diff to previous 1.2.2.3 (colored) to branchpoint 1.2 (colored) to selected 1.69 (colored)

Catch up to -current.

Revision 1.5.2.3 / (download) - annotate - [select for diffs], Thu Oct 10 18:40:37 2002 UTC (21 years, 5 months ago) by jdolecek
Branch: kqueue
Changes since 1.5.2.2: +4 -5 lines
Diff to previous 1.5.2.2 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored) to selected 1.69 (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.10 / (download) - annotate - [select for diffs], Wed Oct 2 16:51:16 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored) to selected 1.69 (colored)

Add trailing ; to CFATTACH_DECL.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Sep 30 20:37:24 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.8: +4 -5 lines
Diff to previous 1.8 (colored) to selected 1.69 (colored)

Use CFATTACH_DECL().

Revision 1.8 / (download) - annotate - [select for diffs], Fri Sep 27 20:40:00 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored) to selected 1.69 (colored)

Declare all cfattach structures const.

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Thu Feb 28 04:13:59 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.2.2: +3 -4 lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored) to selected 1.69 (colored)

Catch up to -current.

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Mon Feb 11 20:09:58 2002 UTC (22 years, 1 month ago) by jdolecek
Branch: kqueue
Changes since 1.5.2.1: +3 -4 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored) to selected 1.69 (colored)

Sync w/ -current.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jan 12 16:17:06 2002 UTC (22 years, 2 months ago) by tsutsui
Branch: MAIN
CVS Tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, ifpoll-base, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Changes since 1.6: +3 -4 lines
Diff to previous 1.6 (colored) to selected 1.69 (colored)

Call malloc(9) with M_ZERO flag instead of memset() after malloc().

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:56:36 2002 UTC (22 years, 2 months ago) by thorpej
Branch: kqueue
Changes since 1.5: +4 -1 lines
Diff to previous 1.5 (colored) to selected 1.69 (colored)

Sync kqueue branch with -current.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Wed Nov 14 19:15:13 2001 UTC (22 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.2.1: +4 -1 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) to selected 1.69 (colored)

Catch up to -current.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Nov 13 07:48:42 2001 UTC (22 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.5: +4 -1 lines
Diff to previous 1.5 (colored) to selected 1.69 (colored)

add RCSID

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Fri Aug 24 00:10:01 2001 UTC (22 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2: +21 -20 lines
Diff to previous 1.2 (colored) to selected 1.69 (colored)

Catch up with -current.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Jul 7 16:47:43 2001 UTC (22 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: kqueue
Changes since 1.4: +5 -5 lines
Diff to previous 1.4 (colored) to selected 1.69 (colored)

bcmp -> memcmp

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jul 7 16:46:34 2001 UTC (22 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +6 -6 lines
Diff to previous 1.3 (colored) to selected 1.69 (colored)

bzero -> memset

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jul 7 16:38:36 2001 UTC (22 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.2: +12 -11 lines
Diff to previous 1.2 (colored) to selected 1.69 (colored)

bcopy -> memcpy

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Fri Jan 5 17:36:04 2001 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.1.2.2: +2 -3 lines
Diff to previous 1.1.2.2 (colored) next main 1.2 (colored) to selected 1.69 (colored)

Sync with HEAD

Revision 1.2 / (download) - annotate - [select for diffs], Thu Dec 28 22:59:12 2000 UTC (23 years, 3 months ago) by sommerfeld
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.1: +2 -3 lines
Diff to previous 1.1 (colored) to selected 1.69 (colored)

Change pci_intr_map to get interrupt source information from a "struct
pci_attach_args *" instead of from four separate parameters which in
all cases were extracted from the same "struct pci_attach_args".

This both simplifies the driver api, and allows for alternate PCI
interrupt mapping schemes, such as one using the tables described in
the Intel Multiprocessor Spec which describe interrupt wirings for
devices behind pci-pci bridges based on the device's location rather
the bridge's location.

Tested on alpha and i386; welcome to 1.5Q

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Mon Nov 20 11:42:20 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.1.2.1: +1464 -0 lines
Diff to previous 1.1.2.1 (colored) to selected 1.69 (colored)

Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.1.2.1, Thu Oct 12 02:59:59 2000 UTC (23 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.1: +0 -1464 lines
FILE REMOVED

file hifn7751.c was added on branch thorpej_scsipi on 2000-11-20 11:42:20 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Thu Oct 12 02:59:59 2000 UTC (23 years, 5 months ago) by itojun
Branch: MAIN
Branch point for: thorpej_scsipi
Diff to selected 1.69 (colored)

hifn7751 crypto card driver.  from openbsd.
does nothing useful at this moment - initailize the chip, that's all.
TODO: crypto logic framework in kernel (see openbsd sys/crypto)
TODO: ipsec frontend (need major rework in ipsec tree - should start with busywait)
TODO: character device frontend

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>