Commit Graph

243208 Commits

Author SHA1 Message Date
skrll
38dbdecd3f Fix non-debug build. 2016-06-18 20:27:55 +00:00
skrll
a22c3403e4 Debug updates to work with vmstat(1) -u 2016-06-18 19:30:24 +00:00
skrll
621f8e1c0d Trailing whitespace. 2016-06-18 16:51:44 +00:00
martin
cda3a81fa7 Change two KASSERT to KASSERTMSG to provide better diagnostics. 2016-06-18 14:56:03 +00:00
kamil
e3d1905862 Use generic types in the profil(2) function prototype (<unistd.h>) 2016-06-18 14:39:15 +00:00
maya
197f199682 Clarify that EHB is SSNOP on older implementations,
revert accidential change at the bottom.
2016-06-18 13:09:20 +00:00
maya
5625db944f Added some notes on playstation2 and MIPSnnR6 deprecations of SSNOP and
branch likely instructions.
2016-06-18 12:53:21 +00:00
joerg
12f813b23d Link static test program with LDSTATIC to deal with PIE. 2016-06-18 12:12:09 +00:00
abhinav
5646f914ca Improve wording, and add reference to mandoc(3)
Ok from wiz@
2016-06-18 06:36:18 +00:00
palle
8235251357 sun4v: vbus and vrtc drivers - from OpenBSD 2016-06-17 21:59:06 +00:00
palle
fd0d5e5ec5 Update sparc64 TODO: sun4u specfic code in TRAP_SETUP() + make a note about importing the man pages for the sun4v specific drivers 2016-06-17 21:52:27 +00:00
palle
52a9bd999e sun4v: vbus and vrtc drivers - from OpenBSD 2016-06-17 21:38:09 +00:00
roy
938d823de6 Note import of dhcpcd-6.11.1 2016-06-17 19:45:24 +00:00
roy
f992e6532d Sync 2016-06-17 19:42:31 +00:00
abhinav
3dbd2466c0 Fix grammar/spelling at few places. 2016-06-17 18:48:07 +00:00
christos
2b5a9d73f9 catch up with new names. 2016-06-17 17:35:21 +00:00
christos
fbb3411274 rename intr bits 2016-06-17 17:05:04 +00:00
christos
d9fd25ab1d ifdef out unused code. 2016-06-17 17:03:20 +00:00
skrll
4a4035c9fd More(/less) debug 2016-06-17 16:07:40 +00:00
skrll
38abecc731 _KERNEL_OPT protection 2016-06-17 15:57:08 +00:00
christos
1f13717653 disable hardware crypto for now. 2016-06-17 15:38:54 +00:00
christos
2aa3b3efaf Serialize all access to the NFS request queue via splsoftnet(). Fixes random
crashes.
XXX: Pullup-7
2016-06-17 14:28:29 +00:00
phx
a0d99bef82 Remove the "totally untested" comments for the ZorroII frame buffer
select macro. The card is confirmed to work in an A2000.
2016-06-17 07:41:56 +00:00
pgoyette
aec3683782 When deadbeef is treated as a 32-bit signed integer, it actually has a
negative value.  So, if the value gets written into a sysctl variable,
and then is read back, the twos-complement value is displayed.

So, when checking for the value having been written, make sure we check
for the correct value!
2016-06-17 03:55:35 +00:00
skrll
a38b18bd73 arm-builtins needs insn-opinit.h
I had this sitting in my tree already, but prompted by Michael Plass on
port-arm
2016-06-17 03:27:50 +00:00
pgoyette
1e522d74f9 Check for duplicate module names before loading modules that were
"pushed" by the boot loader.  The boot loader pushes the module
name for the root file system (unless the root file system is ffs)
even if the file system module is built into the kernel.  When
this happens, we get a lot of "redefined symbol" error messages.

This fix does not alter the behavior of pushing the file system
name.  It simply avoids the redefined symbol errors by detecting
that the module is already built-in to the kernel and not trying
to load another copy.

While here, differentiate the error message text between "failed
to load" and "failed to fetch_info" conditions.

Addresses PR kern/50357
2016-06-16 23:09:44 +00:00
riastradh
22e90301eb Use m_set_rcvif, not M_SETCTX.
M_SETCTX is only for driver-private use of rcvif, whereas here we
really mean to set the receiving interface with m_set_rcvif.
2016-06-16 15:51:13 +00:00
kre
93bca39382 As discussed at the biginning of last week (June 6 & 7, 2016) on
tech-kern in messages with a Subject starting [Re:] /dev/sdN -> /dev/sdN[cd]
and in PR port-amd64/51216 :

Create bare (no letter suffix) device names (block & raw) that
refer to the raw device ('c' or 'd' partition as appropriate).

This commit was delayed waiting to see if there was to be any more
discussion - there wasn't a lot.

Caution: this is going to consume 2 more inodes per disc device
configured, everywhere that devices are configured using MAKEDEV
2016-06-16 15:33:38 +00:00
nonaka
64c611a36b use M_SETCTX() macro. 2016-06-16 15:21:49 +00:00
riastradh
5364e46502 Fix error branches of if_sdl_sysctl.
Can't release the psref if we didn't even find the interface!
2016-06-16 15:18:33 +00:00
agc
b1a05561cd Record the tzdata version in a separate file in the share/zoneinfo directory.
The file is kept up to date by the tzdata2netbsd script
2016-06-16 15:17:56 +00:00
abhinav
f2d77fdf32 Replace makewhatis(8) with makemandb(8) in SEE ALSO. 2016-06-16 15:11:43 +00:00
abhinav
edcef964c4 Document -f option for man(1).
Also remove unsupported options for `man -k` from the synopsis and usage.
2016-06-16 15:10:58 +00:00
macallan
5c9d54fcb1 make platinumfb.c conditional on platinumfb
somehow that fell through the cracks too...
2016-06-16 14:51:56 +00:00
macallan
53df6693be somehow this fell through the cracks when I committed platinumfb.c
thanks chuq for noticing
2016-06-16 14:46:12 +00:00
abhinav
77fd34aa9f Add man.conf(5) and man(1) in the SEE ALSO section. 2016-06-16 14:07:16 +00:00
christos
72fb1a6e79 more conservating handling of memory. 2016-06-16 13:01:08 +00:00
christos
bd16e9a74a fix mbuf handling; we don't crash anymore. 2016-06-16 12:56:49 +00:00
ryoon
71d366f3be Bump date for previous 2016-06-16 12:48:09 +00:00
ryoon
e9d3857230 Fix typo 2016-06-16 12:47:10 +00:00
christos
4910b5ce72 Move relro after we've computed out relocbase and re-enable it.
(Matthias Weckbecker)
2016-06-16 11:34:13 +00:00
macallan
382e95cd9e add some models 2016-06-16 06:20:08 +00:00
mlelstv
ccd8c06444 Make assertion of linker_file #ifdef __FreeBSD__. Fixes DIAGNOSTIC build. 2016-06-16 06:08:06 +00:00
pgoyette
8c781904cf Add input/output files for new test case - fix build 2016-06-16 04:03:37 +00:00
ozaki-r
f0423d34e6 Use if_get_byindex instead of if_byindex for MP-safe 2016-06-16 03:03:33 +00:00
ozaki-r
4ce95a7f59 Bump kernel version for mbuf (pkthdr#rcvif) change 2016-06-16 02:54:41 +00:00
ozaki-r
e1135cd9b9 Use curlwp_bind and curlwp_bindx instead of open-coding LP_BOUND 2016-06-16 02:38:40 +00:00
ozaki-r
8e415f7b54 Introduce curlwp_bind and curlwp_bindx
The API prevents the current LWP from migrating between CPUs during
the critical section (between curlwp_bind and curlwp_bindx). One use
case of it is psref(9) that has a contract that forbids such migrations.

Proposed at http://mail-index.netbsd.org/tech-kern/2016/06/13/msg020710.html
(check it out if you want to know why the function names are chosen)
2016-06-16 02:34:33 +00:00
dholland
7cf14915db Notes on MIPS models and architecture levels and their properties and
handling in NetBSD.

This is very preliminary so far, because I'm trying to get citations
from documentation for everything.

Please add stuff.
2016-06-16 01:33:35 +00:00
sevan
17a9d10433 Add a unit test for PR bin/51250 called se_output. se_output checks the output of cat
when invoked with '-se', to ensure that a '$' is printed on blank lines.
2016-06-16 01:04:58 +00:00