christos
d20e855db5
don't try to run a non-existing nbcat
2017-01-06 17:25:32 +00:00
christos
792fa3b107
don't run grep if we don't have the Makefile, like when we are building
...
objdirs
2017-01-06 17:22:51 +00:00
christos
5d66200563
don't use sed for the tools version because during objdir etc runs we don't
...
have ${TOOL_SED} yet available.
2017-01-06 17:13:22 +00:00
skrll
5dc9a27fcf
Use the VC property mailbox to request the UART clock rate and use it
...
appropriately
Newer firmwares use 48MHz
2017-01-06 14:55:37 +00:00
skrll
7ed3f784bc
Whitespace
2017-01-06 14:53:32 +00:00
roy
84fe414e1f
KNF
2017-01-06 14:25:41 +00:00
roy
9180469668
KNF
2017-01-06 14:06:00 +00:00
roy
50a63ac8d2
KNF.
...
Normalise coding style.
White space police.
Sprinkle some extra braces to make the flow more clear.
No functional changes.
2017-01-06 13:53:18 +00:00
pgoyette
d020b0ddde
Implement a common spkr_detach() function and call it from the
...
attachment-specific detach functions. Returns EBUSY if the
device instance is busy, based on whether or not a sc->sc_inbuf
is allocated. The buffer is malloc()d at spkropen time, and is
free()d in spkrclose().
Now we can actually implement the MODULE_CMD_FINI command and
unload the driver at will.
Addresses my PR kern/51785
2017-01-06 09:32:08 +00:00
maxv
88aac29387
Explain how all that mess works, without actually fixing it yet.
2017-01-06 09:14:36 +00:00
roy
846cb8f380
u_int -> unsigned int, u_int32_t -> uint32_t.
2017-01-06 09:14:07 +00:00
maxv
ad05649fb8
Rename a few things
2017-01-06 09:04:06 +00:00
maxv
c6005684fd
Explain the computation
2017-01-06 08:36:56 +00:00
maxv
2b321a2d23
Remove a few #if 0s, and explain what we are doing on PAE: the last two PAs
...
are entered in reversed order.
2017-01-06 08:32:26 +00:00
msaitoh
be2192bb96
- Set IPV6EXDIS bit in RFCTL register because of an Errata on 82575 and newer
...
devices.
- Update comment in wm_init_rss().
2017-01-06 08:05:26 +00:00
pgoyette
ee0d07d7e3
As pointed out by christos@, since the macros already include a cast
...
to uint64_t, it's not necessary to cast again at point of use.
2017-01-06 03:33:19 +00:00
knakahara
cc189cdb90
remove unnecessary conversion.
...
gif_softc->gif_pdst is already valid sockaddr.
2017-01-06 03:25:13 +00:00
pgoyette
a62101788a
Use the new magic BINTIME_SCALE_* macros instead of magic numbers.
...
No functional change.
2017-01-05 23:29:14 +00:00
pgoyette
492ecd99e3
Define macros for the time conversion magic numbers.
2017-01-05 23:24:39 +00:00
roy
506f84ec9a
Implement ncurses is_pad(3).
...
Correct documentation about is_keypad(3).
2017-01-05 23:15:43 +00:00
pgoyette
7f64160e7f
The inline functions {ms,us,ns}2bintime() are currently defined\nincorrectly, and always result in the bt.frac being set to zero.\nEven correcting for left- vs right shifts, the results are low\nprecision with at most 32 significant bits.\n\nRewrite using 64-bit multiply rather than division to get proper\nresults. Also the multiply is less costly than a divide on most\nplatforms.
2017-01-05 22:51:15 +00:00
roy
433b66d936
Whitespace
2017-01-05 21:42:04 +00:00
skrll
7af73afe93
Don't mix abis in any CRUNCHEDPROG
2017-01-05 21:28:42 +00:00
roy
4550c5287c
Implement is_term_resized and resize_term(3) ncurses extensions.
...
resizeterm(3) is now a wrapper for resize_term(3).
2017-01-05 21:25:17 +00:00
palle
de85b4614f
sun4v: TRAP_SETUP() updated to set mmu context id properly for both sun4v and sun4u platforms. Verified using qemu for both sun4u and sun4v systems
2017-01-05 20:37:06 +00:00
roy
47cc2fc353
Add the set_escdelay(3) and set_tabsize(3) ncurses extensions.
2017-01-05 20:31:37 +00:00
mlelstv
65353cac77
Fix memory leak.
...
Found by maxv@
2017-01-05 16:35:33 +00:00
christos
83809af30d
set the timeout to 1 second so we can see packets flowing in real time.
2017-01-05 16:23:31 +00:00
christos
8a5a08cbc5
add npfd
2017-01-05 14:39:59 +00:00
christos
71cba524e4
add scripts for npfd
2017-01-05 14:39:09 +00:00
wiz
70acae63ba
Tag cleanup: if the last column contains 'obsolete', the one before should too.
2017-01-05 13:45:50 +00:00
wiz
e4ec469a39
Fix typo.
2017-01-05 12:35:41 +00:00
hannken
592be9ae45
Name all "vnode_impl_t" variables "vip".
...
No functional change.
2017-01-05 10:05:11 +00:00
wiz
25ffc5e78c
New sentence, new line.
2017-01-05 09:55:01 +00:00
wiz
b4e07d632b
Bump date for previous.
2017-01-05 09:54:03 +00:00
wiz
dd61d2ee17
Use Fl for flags.
2017-01-05 09:50:40 +00:00
wiz
3134e606a6
Whitespace.
2017-01-05 09:46:32 +00:00
wiz
6e0a1cbf88
Use Ev for environment variables.
2017-01-05 09:46:08 +00:00
msaitoh
01159c64ed
Update the dmamp argument only when the allocation succeeded.
2017-01-05 09:08:44 +00:00
ryo
55563c97ca
"vmstat -ie[v]" auto fit to minimum columns
...
Reviewed by msaitoh@
2017-01-05 07:53:20 +00:00
msaitoh
b8d736fb1d
Fix INIT_DEBUGOUT() messages.
2017-01-05 05:53:23 +00:00
martin
a8fa229a38
xinput update build hint
2017-01-05 05:40:46 +00:00
pgoyette
c0a30d4dc7
Adapt to use of bintime(9) for kernel history timestamps (7.99.55).
2017-01-05 03:42:27 +00:00
pgoyette
c9b6361b98
By popular demand, update kernhist to use bintime(9) as the basis for
...
its timestamps.
As this changes storage structures for data passed between kernel and
userland, welcome to 7.99.55!
XXX Output routines still use microsecond resolution when printf()ing.
XXX Possible future feature would be addition of option to use
XXX getbintime(9) for less time-critical histories.
2017-01-05 03:40:33 +00:00
pgoyette
c42fba4183
Actually initialize the sysctl stuff for kernhist! Missed this file
...
in earlier commits.
2017-01-05 03:22:20 +00:00
christos
54351bdf9a
move xtrans.m4 to comp, since it gets installed with the headers.
2017-01-05 02:22:19 +00:00
christos
f44d9dbae7
don't include uvm_physseg.h for kmem grovellers.
2017-01-04 23:59:49 +00:00
christos
eb4ab08b1b
really, don't install uvm_physseg.h!
2017-01-04 23:59:27 +00:00
kamil
9e277af53b
Add new tests siginfo[123] in t_ptrace_wait{,3,4,6,id,pid}
...
These tests are for the proposed PT_[GS]ET_SIGINFO interface for ptrace(2),
accessors for signal information that caused tracee to be interrupted.
siginfo1:
Verify basic PT_GET_SIGINFO call for SIGTRAP from tracee
siginfo2:
Verify basic PT_GET_SIGINFO and PT_SET_SIGINFO calls without
modification of SIGINT from tracee
siginfo3:
Verify basic PT_GET_SIGINFO and PT_SET_SIGINFO calls with
setting signal to new value
New tests are protected with #ifded and currently disabled in the HEAD branch.
They will be automatically enabled once the final implementation will land the
sources.
Sponsored by <The NetBSD Foundation>
2017-01-04 22:27:20 +00:00
christos
f83bb9fcab
Collect a list of kernel swap files to be removed (Yorick Hardy)
2017-01-04 21:37:46 +00:00