The NetBSD Project

CVS log for src/sys/arch/emips/ebus/flash_ebus.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / emips / ebus

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.25 / (download) - annotate - [select for diffs], Wed Dec 20 06:36:03 2023 UTC (3 months, 3 weeks ago) by thorpej
Branch: MAIN
CVS Tags: HEAD
Changes since 1.24: +2 -3 lines
Diff to previous 1.24 (colored)

Remove unnecessary <sys/malloc.h>.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Nov 27 06:47:43 2021 UTC (2 years, 4 months ago) by skrll
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, 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, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.23: +31 -31 lines
Diff to previous 1.23 (colored)

Drive-by trailing whitespace removal.

Revision 1.22.12.1 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:06 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Sync with HEAD.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Jul 24 21:31:32 2021 UTC (2 years, 8 months ago) by andvar
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

Fix all remaining typos, mainly in comments but also in few definitions and log messages, reported by me in PR kern/54889.
Also fixed some additional typos in comments, found on review of same files or typos.

Revision 1.20.4.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:33 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.20: +2 -14 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Merge changes from current as of 20200406

Revision 1.20.8.2 / (download) - annotate - [select for diffs], Wed Dec 18 20:04:33 2019 UTC (4 years, 3 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2
Changes since 1.20.8.1: +2 -9 lines
Diff to previous 1.20.8.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #570):

	sys/compat/netbsd32/netbsd32_compat_50_sysv.c: revision 1.3
	sys/dev/raidframe/rf_compat50.h: revision 1.6
	sys/arch/emips/emips/bus_space.c: revision 1.3
	sys/compat/net/if.h: revision 1.5
	sys/arch/emips/stand/common/bootinfo.c: revision 1.2
	sys/compat/common/sysv_msg_50.c: revision 1.5
	sys/compat/common/kern_time_30.c: revision 1.8
	sys/arch/emips/stand/common/bootinfo.h: revision 1.2
	sys/arch/ia64/include/bus.h: revision 1.4
	sys/arch/ia64/ia64/bus_space.c: revision 1.2
	sys/compat/common/sysv_shm_50.c: revision 1.5
	sys/dev/ic/adw.h: revision 1.15
	sys/compat/common/uipc_syscalls_50.c: revision 1.10
	sys/arch/emips/ebus/flash_ebus.c: revision 1.22
	sys/dev/ic/adv.h: revision 1.15
	sys/dev/ic/adwmcode.c: revision 1.18
	sys/dev/ic/advlib.c: revision 1.29
	sys/arch/hpcarm/include/kloader.h: revision 1.3
	sys/dev/usb/uberry.c: revision 1.16
	sys/compat/common/sysv_sem_50.c: revision 1.5
	sys/compat/netbsd32/netbsd32_compat_50.c: revision 1.43
	sys/dev/ic/advlib.h: revision 1.21
	sys/dev/ic/adv.c: revision 1.50
	sys/compat/netinet6/in6_var.h: revision 1.5
	sys/arch/hpc/stand/hpcboot/arm/arm_sa1100_asm.asm: revision 1.2
	sys/arch/emips/include/loadfile_machdep.h: revision 1.3
	sys/arch/emips/stand/common/prom_iface.c: revision 1.7
	sys/dev/ic/adw.c: revision 1.56
	sys/dev/ic/adwmcode.h: revision 1.12
	sys/dev/ic/advmcode.c: revision 1.10
	sys/arch/emips/ebus/ace_ebus.c: revision 1.22
	sys/compat/netbsd32/netbsd32_compat_60.c: revision 1.5
	sys/dev/raidframe/rf_compat50.c: revision 1.13
	sys/arch/x68k/dev/intiovar.h: revision 1.15
	sys/dev/usb/uipad.c: revision 1.8
	sys/arch/zaurus/include/kloader.h: revision 1.3
	sys/arch/emips/stand/common/bootxx.c: revision 1.2
	sys/dev/ic/adwlib.h: revision 1.23
	sys/dev/ic/adwlib.c: revision 1.44
	sys/compat/netbsd32/netbsd32_compat_16.c: revision 1.3
	sys/arch/amigappc/include/intr.h: revision 1.27
	sys/arch/x68k/dev/mfp.c: revision 1.27
	sys/arch/arm/at91/at91dbgu.c: revision 1.17
	sys/dev/ic/advmcode.h: revision 1.7
	sys/compat/ultrix/ultrix_exec.h: revision 1.7
	sys/compat/common/vfs_syscalls_50.c: revision 1.24
	sys/arch/mips/cavium/octeon_dma.c: revision 1.3
	sys/arch/hpc/stand/hpcboot/arm/arm_pxa2x0_asm.asm: revision 1.2

Remove clause 3 and 4 from TNF licenses.
Ok'ed by martin@ in PR/54760.

Remove clause 3 and 4 leftovers from TNF licenses in more sources.
Confirmed by martin@ in PR/54760.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Dec 14 02:58:19 2019 UTC (4 years, 4 months ago) by tsutsui
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-i2c-spi-conf
Changes since 1.21: +2 -9 lines
Diff to previous 1.21 (colored)

Remove clause 3 and 4 from TNF licenses.

Ok'ed by martin@ in PR/54760.

Revision 1.20.8.1 / (download) - annotate - [select for diffs], Sun Dec 8 14:43:16 2019 UTC (4 years, 4 months ago) by martin
Branch: netbsd-9
Changes since 1.20: +2 -7 lines
Diff to previous 1.20 (colored)

Pull up following revision(s) (requested by bouyer in ticket #517):

	sys/arch/emips/ebus/flash_ebus.c: revision 1.21
	sys/arch/emips/ebus/ace_ebus.c: revision 1.21

Drop advertisement clause from my licenses

Revision 1.21 / (download) - annotate - [select for diffs], Mon Dec 2 19:40:19 2019 UTC (4 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.20: +2 -7 lines
Diff to previous 1.20 (colored)

Drop advertisement clause from my licenses

Revision 1.20 / (download) - annotate - [select for diffs], Sun Mar 4 21:41:48 2018 UTC (6 years, 1 month ago) by mrg
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, 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, pgoyette-compat, netbsd-9-base, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi, netbsd-9
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored)

avoid indentation issues.  re-do previous in obio.c to avoid the
does-nothing change, by fixing the intended indentation.

Revision 1.4.6.4 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:01 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.4.6.3: +9 -46 lines
Diff to previous 1.4.6.3 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

update from HEAD

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:13 2017 UTC (7 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.12.2.4 / (download) - annotate - [select for diffs], Mon Dec 5 10:54:51 2016 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.12.2.3: +3 -3 lines
Diff to previous 1.12.2.3 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

Sync with HEAD

Revision 1.19 / (download) - annotate - [select for diffs], Sun Nov 20 02:34:27 2016 UTC (7 years, 4 months ago) by pgoyette
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, 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, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Avoid calling bufq_free() from critical section.

Revision 1.12.2.3 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:33 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.12.2.2: +3 -3 lines
Diff to previous 1.12.2.2 (colored) to branchpoint 1.12 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.18 / (download) - annotate - [select for diffs], Sun Dec 13 19:36:40 2015 UTC (8 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

PR/50525: David Binderman: Fix incorrect test.

Revision 1.12.2.2 / (download) - annotate - [select for diffs], Sat Jun 6 14:39:57 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.12.2.1: +36 -33 lines
Diff to previous 1.12.2.1 (colored) to branchpoint 1.12 (colored)

Sync with HEAD

Revision 1.17 / (download) - annotate - [select for diffs], Sun Apr 26 15:15:19 2015 UTC (8 years, 11 months ago) by mlelstv
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606
Changes since 1.16: +6 -3 lines
Diff to previous 1.16 (colored)

Use C99-style initializers for struct dkdriver.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Apr 13 21:18:41 2015 UTC (9 years ago) by riastradh
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

MD rnd.h cleanups.  Please let me know if I broke anything!

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:17:54 2015 UTC (9 years ago) by skrll
Branch: nick-nhusb
Changes since 1.12: +4 -53 lines
Diff to previous 1.12 (colored)

Sync with HEAD

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jan 2 19:42:05 2015 UTC (9 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

We have three sets of DTYPE_ constants in the kernel:
	altq		Drop 		Type
	disklabel	Disk 		Type
	file		Descriptor	Type
(not to mention constants that contain the string DTYPE).
Let's make them two, by changing the disklabel one to be DisK TYPE since the
other disklabel constants seem to do that. Not many userland programs use
these constants (and the ones that they do are mostly in ifdefs). They will
be fixed shortly.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Dec 31 19:52:04 2014 UTC (9 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.13: +3 -12 lines
Diff to previous 1.13 (colored)

make more drivers use disk_ioctl, and add a dev parameter to it so that
we can merge the "easy" disklabel ioctls to it. Ultimately all this will
go do dk_ioctl once all the drivers have been converted.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Dec 31 17:06:48 2014 UTC (9 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.12: +2 -42 lines
Diff to previous 1.12 (colored)

Centralize wedge ioctls in disk_ioctl.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Nov 9 10:10:08 2014 UTC (9 years, 5 months ago) by mlelstv
Branch: MAIN
CVS Tags: nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.11: +11 -2 lines
Diff to previous 1.11 (colored)

support DIOCMWEDGES ioctl

Revision 1.4.6.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:51 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.4.6.2: +23 -8 lines
Diff to previous 1.4.6.2 (colored) to branchpoint 1.4 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Aug 10 16:44:33 2014 UTC (9 years, 8 months ago) by tls
Branch: MAIN
CVS Tags: tls-maxphys-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, 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, netbsd-7
Changes since 1.10: +3 -5 lines
Diff to previous 1.10 (colored)

Merge tls-earlyentropy branch into HEAD.

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Sun Aug 10 06:53:54 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.8.2.1: +4 -4 lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Rebase.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jul 25 08:10:32 2014 UTC (9 years, 8 months ago) by dholland
Branch: MAIN
CVS Tags: tls-earlyentropy-base
Changes since 1.9: +4 -3 lines
Diff to previous 1.9 (colored)

Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jul 25 08:02:18 2014 UTC (9 years, 8 months ago) by dholland
Branch: MAIN
Changes since 1.8: +4 -3 lines
Diff to previous 1.8 (colored)

Add d_discard to all struct bdevsw instances I could find.

I've set them all to nodiscard. Some of them (wd, dk, vnd, ld,
raidframe, maybe cgd) should be implemented for real.

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:39:38 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.2.2.2: +34 -47 lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (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.6.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:02 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.6: +23 -8 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

sync with head

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Mon Apr 7 03:37:30 2014 UTC (10 years ago) by tls
Branch: tls-earlyentropy
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (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.8 / (download) - annotate - [select for diffs], Sun Mar 16 05:20:23 2014 UTC (10 years, 1 month ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.7: +21 -6 lines
Diff to previous 1.7 (colored)

Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Oct 13 06:55:34 2013 UTC (10 years, 6 months ago) by riz
Branch: MAIN
Changes since 1.6: +5 -5 lines
Diff to previous 1.6 (colored)

Catch up to recent changes in config_pending_{incr,decr}().

Revision 1.4.6.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:02 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.4.6.1: +14 -42 lines
Diff to previous 1.4.6.1 (colored) to branchpoint 1.4 (colored)

resync from head

Revision 1.6 / (download) - annotate - [select for diffs], Wed May 29 00:47:48 2013 UTC (10 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: rmind-smpnet
Changes since 1.5: +14 -42 lines
Diff to previous 1.5 (colored)

phase 1 of disk geometry cleanup:
	- centralize the geometry -> plist code so that we don't have
	  n useless copies of it.

Revision 1.4.6.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:12 2012 UTC (11 years, 4 months ago) by tls
Branch: tls-maxphys
Changes since 1.4: +14 -14 lines
Diff to previous 1.4 (colored)

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

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:19:17 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.2.2.1: +14 -14 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored)

sync with head

Revision 1.5 / (download) - annotate - [select for diffs], Sat Oct 27 17:17:45 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.4: +14 -14 lines
Diff to previous 1.4 (colored)

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

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:12 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.2: +4 -14 lines
Diff to previous 1.2 (colored)

sync with head

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:31:44 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.3: +3 -13 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

merge to -current.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Feb 2 19:42:59 2012 UTC (12 years, 2 months 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.3: +3 -13 lines
Diff to previous 1.3 (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.3 / (download) - annotate - [select for diffs], Sat Nov 19 22:51:19 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.2: +4 -4 lines
Diff to previous 1.2 (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.1.6.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:19:05 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.1: +6 -6 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jun 12 03:29:33 2011 UTC (12 years, 10 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache
Changes since 1.1: +6 -6 lines
Diff to previous 1.1 (colored)

Fix printf formats in DEBUG case.

Revision 1.1.8.2 / (download) - annotate - [select for diffs], Mon Jun 6 09:05:16 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.1.8.1: +2347 -0 lines
Diff to previous 1.1.8.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:49:54 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.1.4.1: +2347 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Tue Feb 8 18:05:06 2011 UTC (13 years, 2 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.1.2.1: +2347 -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.8.1, Wed Jan 26 01:18:50 2011 UTC (13 years, 2 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.1: +0 -2347 lines
FILE REMOVED

file flash_ebus.c was added on branch jruoho-x86intr on 2011-06-06 09:05:16 +0000

Revision 1.1.4.1, Wed Jan 26 01:18:50 2011 UTC (13 years, 2 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.1: +0 -2347 lines
FILE REMOVED

file flash_ebus.c was added on branch rmind-uvmplock on 2011-03-05 20:49:54 +0000

Revision 1.1.2.1, Wed Jan 26 01:18:50 2011 UTC (13 years, 2 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.1: +0 -2347 lines
FILE REMOVED

file flash_ebus.c was added on branch bouyer-quota2 on 2011-02-08 18:05:06 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jan 26 01:18:50 2011 UTC (13 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base7, rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base
Branch point for: rmind-uvmplock, jruoho-x86intr, cherry-xenmp, bouyer-quota2

Add support for the Extensible MIPS ("eMIPS") platform.  The
NetBSD/emips port runs on Xilinx and Beecube FPGA systems and the
Giano system simulator.

eMIPS is a platform developed at Microsoft Research for researching
reconfigurable computing.  eMIPS allows dynamic loading and scheduling
of application-specific circuits for the purpose of accelerating
computations based on the current workload.

NetBSD eMIPS support for NetBSD 4.x was written at Microsoft Research
by Alessandro Forin and Neil Pittman.  Microsoft Corporation has
donated full copyright to The NetBSD Foundation.

Platform support for eMIPS is the first part of Microsoft's
contribution.  The second part includes the hardware accelerator
framework and will be proposed on tech-kern soon.

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>