Commit Graph

234861 Commits

Author SHA1 Message Date
macallan
d3361f56e7 enable clocks as needed 2015-04-21 19:57:41 +00:00
macallan
de18a25b0d #define some bits in the clock gating registers 2015-04-21 19:56:01 +00:00
macallan
3aefd491bf fix comments, add LCDC*_BASEs 2015-04-21 19:19:31 +00:00
ginsbach
fb89bad2cc Make seconds conversion tests a standalone test case rather than
part of the "common" test case.
2015-04-21 17:39:50 +00:00
pooka
b9e12739d0 Use hardclock_ticks instead of a homegrown variable.
... not that I understand how various kernel algorithms can work
after enough uptime with hardclock_ticks being a signed int.
2015-04-21 16:18:50 +00:00
riastradh
a6d56fa756 #ifdef DIAGNOSTIC panic -> KASSERT 2015-04-21 13:17:25 +00:00
riastradh
3b3b3f4af1 Remove bogus size_t->int casts in uiomove. 2015-04-21 13:15:28 +00:00
riastradh
b8cae62e30 Mark some variables __read_mostly. 2015-04-21 12:55:57 +00:00
riastradh
808c0b52c7 Sort includes. 2015-04-21 12:47:33 +00:00
riastradh
b1dc061a01 Xor, not ior, to combine bits of binuptime for rnd_counter. 2015-04-21 12:07:31 +00:00
ryoon
01c7d8eae8 Add Kurotoshiko GbE-USB3.0S2. 2015-04-21 11:53:53 +00:00
pooka
022fe45008 Remove the unused and all-but-unusable kthread_destroy(). Also makes
it more obvious that the opposite of kthread_create() is kthread_exit().
2015-04-21 11:10:29 +00:00
pooka
115eb707b4 Don't check if constant-sized KM_SLEEP allocations succeeded. 2015-04-21 10:54:52 +00:00
pooka
b9534ae5af Attach PF_INET6 pktq sysctls only when inet6 is present.
More modular initialization would be nicer, but at least this patch
prevents "sysctl -a" from crashing when INET6 is defined by inet6 has
not been attached.
2015-04-21 10:39:41 +00:00
christos
0bb625c711 help sun2 2015-04-21 10:12:04 +00:00
wiz
79a213efae Bump date for previous. 2015-04-21 10:00:30 +00:00
macallan
66d1b808ee support interrupt-driven transfers 2015-04-21 06:12:41 +00:00
snj
2a79bc2442 move service(8) entry to CHANGES.prev, since it'll be appearing in 7.0 2015-04-21 05:27:30 +00:00
riastradh
7841b062cd Turn a kassert into a more appropriately placed ctassert. 2015-04-21 04:41:36 +00:00
matt
36b5b12d8a No need for CPU_CORTEXA7 since it's implied by ALLWINNER_A20 2015-04-21 04:24:51 +00:00
riastradh
01adfe9a57 Save some space: use one condvar for all rndsinks. Not a hot spot. 2015-04-21 04:24:16 +00:00
riastradh
5a7cf63bf5 Gather rndsinks global state into a cacheline-aligned struct. 2015-04-21 04:19:25 +00:00
riastradh
5db50cc603 Revert previous -- a little too quick on the commit trigger.
Ran some tests but not enough.  There is a deadlock against myself:

rndsink_request acquires rndsinks_lock
-> rnd_getmore
-> hyperentropy feedrandom (or any other rndsource callback)
-> rnd_add_data
-> rndsinks_distribute acquires rndsinks_lock

Need to break this cycle before rndsource callbacks can invoke
rnd_add_data.
2015-04-21 04:05:57 +00:00
riastradh
f8b6ebf6aa Restore simplicity of rump hyperentropy `hardware RNG'. 2015-04-21 03:53:50 +00:00
riastradh
6be68e2895 Release rnd_global.lock while calling an rndsource's callback.
Obviates the need for obnoxious double-lock dances in hardware RNG
drivers.
2015-04-21 03:53:07 +00:00
riastradh
4faebe442f Correction: we do need <sys/atomic.h>, for membar_*.
(Not clear that these membars actually make sense, but that's a
separate issue.)
2015-04-21 03:46:46 +00:00
riastradh
ef69b14356 Sort includes. 2015-04-21 03:30:06 +00:00
riastradh
e8cbd445df Nix some more needless includes. 2015-04-21 03:29:27 +00:00
riastradh
a2deb59454 Don't need <sys/atomic.h>. 2015-04-21 03:25:46 +00:00
riastradh
9cfa0037ec Sort includes. 2015-04-21 03:24:07 +00:00
riastradh
f07d4c6e8b Cull long-dead flags from namei(9) man page. 2015-04-21 03:21:54 +00:00
riastradh
e6d0ae95b0 Cull unused INRENAME and INRELOOKUP from callers. 2015-04-21 03:19:03 +00:00
riastradh
4292b99c7c Cull unused INRENAME and INRELOOKUP from PARAMASK. 2015-04-21 03:18:21 +00:00
riastradh
6331efe680 Cull unused INRENAME and INRELOOKUP. 2015-04-21 03:16:30 +00:00
riastradh
f9534e4daa Uncomment the argument struct declarations in deadfs.
We don't actually use them, but this is the only way the vop
versioning mechanism flags code that needs changing.
2015-04-20 23:30:58 +00:00
jmcneill
5944395eac Restore "#if !defined(CPU_CORTEXA5)" accidentally removed in previous
commit -- hi skrll@
2015-04-20 23:12:56 +00:00
riastradh
aef6e9be2d regen for good measure (no functional change) 2015-04-20 23:11:27 +00:00
riastradh
148589f348 Fix comment in vnode_if.src to reflect change to VOP_LINK. 2015-04-20 23:08:07 +00:00
riastradh
46e71c7d57 Make VOP_LINK return directory still locked and referenced.
Ride 7.99.10 bump.
2015-04-20 22:59:19 +00:00
pgoyette
6b45f4ed79 Set the redirection correctly, so that stderr gets duped to the
already redirected stdout, rather than duping stdout to stderr!

Without this fix, the disklabel output is included in the log file
rather than being discarded as intended.  (The purpose of running
disklabel this first time is only to check for success.)
2015-04-20 22:46:35 +00:00
riastradh
c89a5913e6 Release dir after create/mknod/mkdir/symlink as 6.99.29 required. 2015-04-20 21:48:47 +00:00
riastradh
9368a7f9c7 Fix more dvp->v_mount after vput(dvp). 2015-04-20 21:02:49 +00:00
matt
30ead1696b Use physical timer for gtmr_delay(); 2015-04-20 20:19:52 +00:00
riastradh
eadfa0c1a9 Make sure mem.bus.is_iomem is initialized. PR 49833 2015-04-20 20:15:22 +00:00
riastradh
944fbd0d8b Cull unused vnode v_iflags: VI_LAYER, VI_LOCKSHARE. 2015-04-20 19:36:55 +00:00
riastradh
1054fdc184 First attempt to make ttm_buffer_object_transfer less bogus. 2015-04-20 19:17:04 +00:00
prlw1
68974b6b61 Apply modified version of patch from Wolfgang Stukenbrock in PR bin/41766
This forcibly unmounts tmpfs file systems, so that swapctl doesn't run
out of swap itself, eventually trying to kill pid 1.

No objections since:
  http://mail-index.netbsd.org/current-users/2015/03/16/msg026908.html
2015-04-20 18:01:46 +00:00
riastradh
4c17c141c3 Use Er, not Dv, for errno E* names. 2015-04-20 15:39:38 +00:00
riastradh
4897f1c47a Remove old drm's container_of. 2015-04-20 15:38:13 +00:00
riastradh
e3d7ca5cf5 First part of reworking vnode(9) man page. Much more to come. 2015-04-20 15:30:41 +00:00