236073 Commits

Author SHA1 Message Date
joerg
8cd9de5e58 Linking against libutil is not appropiate for tools. 2015-06-06 15:45:47 +00:00
joerg
3eb04a3615 Use an explicit body for a "until not EINTR" loop. 2015-06-06 15:22:58 +00:00
christos
006ade20cc add missing options 2015-06-06 15:16:28 +00:00
joerg
6a61adcb14 The opposite of new[] is delete[], not delete. 2015-06-06 14:40:29 +00:00
jmcneill
c39a576f5e enable trng driver 2015-06-06 14:00:52 +00:00
jmcneill
1a286b4698 Add driver for AM335x TRNG module. 2015-06-06 14:00:32 +00:00
joerg
fc207b9190 Format-string related warnings work fine now with both GCC 4.8 and
Clang.
2015-06-06 13:48:37 +00:00
joerg
810e0f52bb Don't pass uninitialized variables by value. 2015-06-06 13:14:06 +00:00
joerg
d88f290a56 Drop assignment from uninitialized and otherwise unused variable. 2015-06-06 13:08:31 +00:00
msaitoh
72b7d58205 Cleanup. 2015-06-06 07:44:22 +00:00
matt
58e36827ad Add a KDASSERT to make sure interrupts are still enabled. 2015-06-06 04:43:41 +00:00
matt
f847872456 If mipsNN and kernel has DDB, trap on bogus IPL values passed to splraise. 2015-06-06 04:40:19 +00:00
msaitoh
762e3152b5 - Add workaround for I210 Errata 25 and I211 Errata 10.
- Add wm_gmii_gs40g_{read|write}reg() and use it to access non-standatrd
     page.
   - Add wm_pll_workaround_i210() and call it when
       chip is i211
       chip is i210 and it use INVM
       chip is i210 and NVM image version < 3.25
- Add comment
- Rename macros.
2015-06-06 04:39:12 +00:00
matt
99bd0c3950 Add octeon mach commands nmi and reset. Teach DDB about Cavium BBIT branch
instructions.
2015-06-06 04:38:52 +00:00
matt
b80b83d425 Backout last change. 2015-06-06 04:36:15 +00:00
matt
4aed5bc269 Add IPI_WDOG 2015-06-06 04:34:57 +00:00
matt
047792e8e8 Add a wdog for octeon 2015-06-06 04:34:23 +00:00
matt
bfd74ed96c Fix CUI_MBOX_{SET,CLR}1 values 2015-06-06 04:33:45 +00:00
matt
26acb1613d Fix disassembly of trap-immediate instructions 2015-06-06 04:32:47 +00:00
matt
8d2429aa5f Add a IPI for watchdogs. 2015-06-06 04:31:52 +00:00
matt
dd67674367 Add missing but now defined trap types. (use define<tab> consistently) 2015-06-06 04:31:10 +00:00
msaitoh
86fd0298c3 Print NVM image version. 2015-06-06 03:38:40 +00:00
msaitoh
f5088cc0cd Revert previos. Sorry, I committed in another working directory... 2015-06-06 03:37:01 +00:00
msaitoh
529e969f1d Print NVM image version. 2015-06-06 03:33:37 +00:00
joerg
db24f15492 Fix sentence. 2015-06-05 20:41:46 +00:00
joerg
69c9584f48 Switch .Nm to match file name. 2015-06-05 20:35:10 +00:00
christos
1c03a0ccd5 Make the cpp protection macro name consistent with other headers.
Fix problems caused by the new macros introduced for gnu gettext compatibility.
XXX: Must be a better way...
2015-06-05 20:12:56 +00:00
matt
0bde4e4d00 Only need KX/SX if _LP64 && MULTIPROCESSOR since cpu_info's are always in KSEG0 2015-06-05 19:58:01 +00:00
joerg
483a37a806 Fix operator precedence to allocate enough memory. 2015-06-05 16:44:56 +00:00
matt
639910d34a Make sure KX/UX stay on in 64-bit kernels so deferencing the lwp to get
the cpu_info doesn't cause a fault.
2015-06-05 16:16:18 +00:00
martin
e743a584de Close the file descriptor used for loading before jumping to the kernel.
Pointed out by Felix Deichmann on port-vax.
2015-06-05 16:01:55 +00:00
roy
9d47679b07 Use %m in syslog(3) instead of %s strerror(3). 2015-06-05 15:41:59 +00:00
roy
54f3dcbf97 Set the hoplimit of 255 as specified in RFC 4861 section 4.2
using the IPV6_MULTICAST_HOPS socket option rather than using CMSG
when constructing each message.
2015-06-05 14:15:41 +00:00
roy
76ec1114d0 Use clock_gettime(2) instead of gettimeofday(2) so we can use a monotonic
clock rather than the wall clock.
Use timespec rather than timeval structs to make this transition easier.
Kill custom timeval comparison functions in favor of timespeccmp(3).
2015-06-05 14:09:20 +00:00
mlelstv
182e6e3b91 Can't use getfsspecname (and thus wedge names) while building tools. 2015-06-05 07:44:39 +00:00
wiz
b96dc7bfa6 Drop trailing whitespace. 2015-06-05 07:33:40 +00:00
skrll
5050384f2b Print the Revision ID regster (verbose) 2015-06-05 07:04:46 +00:00
skrll
13ff928423 Add an define for spurious interrupt number 1022 2015-06-05 06:46:00 +00:00
sjg
fab1dc5098 Document .OBJDIR target. 2015-06-05 05:37:42 +00:00
mlelstv
18bcb9c15b Support wedge names. 2015-06-05 05:03:21 +00:00
mlelstv
bddb934a67 Compute bootloader checksum correctly also on little endian systems. 2015-06-05 05:02:48 +00:00
matt
dacb809fc1 Move callout_init to wdog_preinit 2015-06-05 00:53:47 +00:00
matt
4c01c2dcd9 Don't compile the mips64 stuff if we being compiled as mips32 2015-06-04 22:44:43 +00:00
wiz
00dff9a7aa Whitespace and macro fixes. 2015-06-04 16:11:48 +00:00
christos
fa4619f0e3 Document the options as a list instead of embedded text. 2015-06-04 16:01:09 +00:00
wiz
9336a60907 Whitespace fixes. 2015-06-04 09:20:12 +00:00
ozaki-r
6ea8c2e666 Pull out route lookups from L2 output routines
Route lookups for routes of RTF_GATEWAY were done in L2 output
routines such as ether_output, but they should be done in L3
i.e., before L2 output routines. This change places the lookups
between L3 output routines (say ip_output) and the L2 output
routines.

The change is based on dyoung's patch submitted in the thread:
https://mail-index.netbsd.org/tech-net/2013/02/01/msg003847.html
You can find out detailed investigations by dyoung about the
issue in there.

Note that the change introduces a workaround for MPLS. ether_output
knew that it needs to fill the ethertype of a frame as MPLS,
based on a tag of an original route (rtentry), but now we don't
pass it to ehter_output. So we have to tell that in another way.
We use mtag to do so for now, which introduces some overhead.
We should fix it somehow in the future.

Discussed on tech-kern and tech-net.
2015-06-04 09:19:59 +00:00
rkujawa
ca97ac20da Cross-reference xsh(4) and xsurf(4). 2015-06-04 09:17:52 +00:00
rkujawa
daf0ed6eca Name of the USB module is known, as it was already released. 2015-06-04 09:08:38 +00:00
mrg
69443c441c fix MKDEBUG vs parallel builds. split the creation of the final
.so file from the main link of it, and use the main file as the
input for both the .so output and the .so.debug file.  for MKDEBUG
builds we now:

	(a) create the (new) .so.full file
	(d) create the .so.debug file
	(c) create the (installable) .so file

for other builds, we simply use the same rule for (a) to create (c).

this stops the .so.debug rule from modifying the .so rule's target
and leading to mayhem.

see this thread for more details:
   http://mail-index.netbsd.org/tech-toolchain/2015/06/03/msg002616.html
2015-06-04 06:01:24 +00:00