The NetBSD Project

CVS log for src/sys/arch/arm/clps711x/clpscom.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / arm / clps711x

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.11 / (download) - annotate - [select for diffs], Fri Sep 1 08:53:52 2023 UTC (5 months, 3 weeks ago) by andvar
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

fix typo in the type krandsource_t -> krndsource_t.

fixes RND_COM enabled build for epoc32.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Oct 26 23:38:06 2022 UTC (15 months, 4 weeks ago) by riastradh
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.9: +6 -9 lines
Diff to previous 1.9 (colored)

ddb/db_active.h: New home for extern db_active.

This can be included unconditionally, and db_active can then be
queried unconditionally; if DDB is not in the kernel, then db_active
is a constant zero.  Reduces need for #include opt_ddb.h, #ifdef DDB.

Revision 1.8.8.1 / (download) - annotate - [select for diffs], Mon Dec 14 14:37:48 2020 UTC (3 years, 2 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync w/ HEAD.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Nov 20 18:03:52 2020 UTC (3 years, 3 months ago) by thorpej
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-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, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

malloc(9) -> kmem(9)

Revision 1.6.18.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:33 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.6.18.1: +3 -7 lines
Diff to previous 1.6.18.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.8 / (download) - annotate - [select for diffs], Sun Nov 10 21:16:23 2019 UTC (4 years, 3 months ago) by chs
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, 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-futex
Changes since 1.7: +3 -7 lines
Diff to previous 1.7 (colored)

in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.

Revision 1.6.18.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:52 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Sync with HEAD

Revision 1.6.16.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:26 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.7 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:23 2018 UTC (5 years, 5 months ago) by riastradh
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, 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
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int.  The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER!  Some subsystems have

	#define min(a, b)	((a) < (b) ? (a) : (b))
	#define max(a, b)	((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX.  Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate.  But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all.  (Who knows, maybe in some cases integer
truncation is actually intended!)

Revision 1.1.4.4 / (download) - annotate - [select for diffs], Sun Dec 3 11:35:52 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.1.4.3: +3 -6 lines
Diff to previous 1.1.4.3 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

update from HEAD

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Sat Jun 6 14:39:55 2015 UTC (8 years, 8 months ago) by skrll
Branch: nick-nhusb
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Sync with HEAD

Revision 1.6 / (download) - annotate - [select for diffs], Mon Apr 13 21:18:41 2015 UTC (8 years, 10 months ago) by riastradh
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-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-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

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

Revision 1.5 / (download) - annotate - [select for diffs], Sat Nov 15 19:20:01 2014 UTC (9 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.4: +4 -7 lines
Diff to previous 1.4 (colored)

centralize the call unit / dialout macros

Revision 1.1.4.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:45 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.1.4.2: +13 -3 lines
Diff to previous 1.1.4.2 (colored) to branchpoint 1.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Aug 10 16:44:33 2014 UTC (9 years, 6 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.3: +3 -3 lines
Diff to previous 1.3 (colored)

Merge tls-earlyentropy branch into HEAD.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Sun Aug 10 06:53:51 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.2.2.1: +3 -2 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Rebase.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jul 25 08:10:32 2014 UTC (9 years, 7 months ago) by dholland
Branch: MAIN
CVS Tags: tls-earlyentropy-base
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (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.2.4.2 / (download) - annotate - [select for diffs], Thu May 22 11:39:31 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.2.4.1: +1112 -0 lines
Diff to previous 1.2.4.1 (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.1.6.1 / (download) - annotate - [select for diffs], Sun May 18 17:44:57 2014 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.1: +13 -4 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

sync with head

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Mon Apr 7 03:37:30 2014 UTC (9 years, 10 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (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.2.4.1, Sun Mar 16 05:20:23 2014 UTC (9 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.2: +0 -1112 lines
FILE REMOVED

file clpscom.c was added on branch yamt-pagecache on 2014-05-22 11:39:31 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Sun Mar 16 05:20:23 2014 UTC (9 years, 11 months 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: yamt-pagecache, tls-earlyentropy
Changes since 1.1: +13 -4 lines
Diff to previous 1.1 (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.1.4.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:00 2013 UTC (10 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.1.4.1: +1103 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored)

resync from head

Revision 1.1.4.1, Sun Apr 28 11:57:13 2013 UTC (10 years, 10 months ago) by tls
Branch: tls-maxphys
Changes since 1.1: +0 -1103 lines
FILE REMOVED

file clpscom.c was added on branch tls-maxphys on 2013-06-23 06:20:00 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Sun Apr 28 11:57:13 2013 UTC (10 years, 10 months ago) by kiyohara
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900
Branch point for: tls-maxphys, rmind-smpnet

Add support SoC CL PS-711x.

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>