Commit Graph

247203 Commits

Author SHA1 Message Date
wiz
0c35b8e404 gcc-6.3 out. 2016-12-30 00:36:23 +00:00
wiz
7585dbcb6a bitstring.h does not provide size_t; include sys/types.h for that.
Bump date.
2016-12-29 23:55:28 +00:00
christos
b29ce927f5 handle __ symbols differently (so we don't duplicate entries in the table)
and add non_null.
2016-12-29 23:54:29 +00:00
wiz
1e92e63851 Fix some prototypes. 2016-12-29 23:50:59 +00:00
mrg
1383c0c74f build vmstat as n64 on mips64. only kernel histories and hash stats
need to be fixed fot this to be reverted.
2016-12-29 23:42:38 +00:00
mrg
2cd592865a remove obsolete lkm tests 2016-12-29 23:36:06 +00:00
kamil
383dde7b6a Reference siginfo(2) for a SIGCHLD signal
siginfo(2) describes appropriate signal specific information for SIGCHLD.

Sponsored by <The NetBSD Foundation>
2016-12-29 22:17:51 +00:00
wiz
42d8f555f6 Update prototypes to match current RPC code.
Bump date.
2016-12-29 22:07:12 +00:00
wiz
29b4283f3f Fix asctime_r prototype. 2016-12-29 21:03:51 +00:00
palle
b6230d7a65 sun4v: make debugging kernel bringup a bit easier by using the slowtrap code path for currently unhandled trap level 1 trap entries 0x32-0x7f 2016-12-29 20:59:31 +00:00
skrll
3ea5cf87f0 Bump image size 2016-12-29 20:51:26 +00:00
rmind
f97363cc85 Improve 'npfctl debug' a little bit. 2016-12-29 20:48:50 +00:00
wiz
b52b1cd113 Mention stdarg.h for va_list. 2016-12-29 20:29:30 +00:00
wiz
b4cd0fb96b Do not mention non-existing archive_write_set_format_shar_binary. 2016-12-29 20:11:50 +00:00
wiz
ca0b812a0e Fix prototype. 2016-12-29 20:07:49 +00:00
christos
ab5bdf51ae only return attributes if looking for attributes 2016-12-29 19:40:35 +00:00
christos
9ef948be1d allow cascaded attributes 2016-12-29 19:40:21 +00:00
leot
5fd90284d7 Do not access `sc' directly via the CSR_{READ,WRITE}_[124] macros.
Patch provided by Amol via PR kern/51708.

ok <Riastradh>
2016-12-29 19:22:51 +00:00
christos
a4c7faa796 Add alias attribute 2016-12-29 18:44:49 +00:00
christos
28617f6731 Add always_inline 2016-12-29 18:37:32 +00:00
christos
5d7e998696 Make this portable to other OSs 2016-12-29 18:30:55 +00:00
christos
8deef5e5f2 Add more attributes. 2016-12-29 16:41:16 +00:00
christos
a6761f0073 accept optional type attributes after struct/union members 2016-12-29 16:01:46 +00:00
wiz
317e5f5d5a Fix return type of two functions to match header. 2016-12-29 13:46:21 +00:00
rin
c7ed8c6fc4 Protect uvm_physseg_set_avail_{start,end} by UVM_PHYSSEG_LEGACY.
All the ports other than acorn26 do not use them any longer.
Ok cherry
2016-12-29 12:58:38 +00:00
rin
653055d5bf define UVM_PHYSSEG_LEGACY for uvm_physseg_set_avail_start
ok cherry
2016-12-29 12:54:10 +00:00
wiz
7c6ad95732 Add /usr/lib/i386/libiberty_g.a to obsolete list. 2016-12-29 12:13:34 +00:00
wiz
96932fac5b Fix typos. 2016-12-29 11:50:44 +00:00
tsutsui
2ecd61d830 Note about preliminary "G1-ATA" IDE HDD support for dreamcast. 2016-12-29 11:50:23 +00:00
tsutsui
240be73e18 WIP "G1-ATA" IDE HDD support. Not enabled by default.
Demonstrated on NetBSD booth at Open Source Conference 2016 Tokyo Fall
and Kansai Open Source 2016:
 http://mail-index.netbsd.org/netbsd-advocacy/2016/11/09/msg000721.html
 http://mail-index.netbsd.org/netbsd-advocacy/2016/11/16/msg000722.html

See my port-dreamcast@ post for more details:
 http://mail-index.netbsd.org/port-dreamcast/2016/12/18/msg000295.html
2016-12-29 11:49:05 +00:00
christos
1913804a7a export rprocs too so we don't lose them. 2016-12-28 21:55:04 +00:00
kamil
66ee2fea73 Bump date for siginfo(2) and document SI_LWP and SI_NOINFO as .Nx extension
Sponsored by <The NetBSD Foundation>
2016-12-28 21:19:06 +00:00
kamil
b87a69e6d0 Document SI_MESGQ in siginfo(2)
SI_MESGQ
  The signal was generated because of the arrival of a message
  on an empty message queue.

This code was commented out since inception of this manual page (originally
located in siginfo(5)).

Sponsored by <The NetBSD Foundation>
2016-12-28 20:41:55 +00:00
kamil
29480d5842 Document SI_QUEUE in siginfo(2)
SI_QUEUE
  The signal was generated via sigqueue(2).

This code was commented out since inception of this manual page (originally
located in siginfo(5)).

Sponsored by <The NetBSD Foundation>
2016-12-28 20:34:36 +00:00
kamil
588fa8e476 Document SI_LWP in siginfo(2)
SI_LWP
  The signal was generated via _lwp_kill(2).

Sponsored by <The NetBSD Foundation>
2016-12-28 20:06:00 +00:00
kamil
16c81e612e Document SI_NOINFO in siginfo(2)
SI_NOINFO
  The signal was generated without specifc info available.

Sponsored by <The NetBSD Foundation>
2016-12-28 20:00:15 +00:00
christos
03b09755c1 use the proper hook function 2016-12-28 19:53:02 +00:00
martin
48fa3befb2 Rename the "flush" macro to "sparc_flush_icache", the former is way too
generic for a macro name.
2016-12-28 19:16:25 +00:00
leot
98fbbaab51 Document the `p' command in "interactive mode" that filters processes by pid.
While here add date to the `.TH' macro 3rd argument.

Reviewed by and thanks to <wiz>
2016-12-28 18:16:30 +00:00
christos
fd60c59b96 oops forgot to commit this one. 2016-12-28 13:50:55 +00:00
wiz
81f31009a1 Use more macros. 2016-12-28 11:44:58 +00:00
rin
011775c944 PR port-powerpc/51368: powerpc FPU emulation fails for single precision
floating point arithmetic

For single precision instruction, calculate first in double precision,
and then round it. With this fix, single precision arithmetic gets sane
on ibm4xx and booke.

Taken from FreeBSD commit r258250:
  https://svnweb.freebsd.org/base?view=revision&revision=258250

Ok matt and simonb.
2016-12-28 10:52:30 +00:00
rin
0b5b7fff16 - add missing default from FreeBSD
- remove duplicate panic pointed out by matt
2016-12-28 10:30:04 +00:00
nat
3cf9d4208d Add slinear encoding. Tested by flxd@
Addresses PR kern/51703: audio fails to attach if hardware can't do CD
quality.

Autoconfiguration of hw paramaters to be done later.  For now it is
possibile to set 8 bits precision 8000 Hz 1 channel via sysctls.
2016-12-28 10:04:53 +00:00
rin
49eb5e173f PR port-powerpc/51367: kernel panic for powerpc/ibm4xx with "option DDB"
Stop using ddbstk/ipkdbstk to make nested traps possible, which avoids
kernel panics reported in the PR.

Suggested and approved by matt.
2016-12-28 09:36:02 +00:00
msaitoh
60a932db74 Fix a bug that hw.ixgN.wol_enable=0 doesn't work correctly. Clear the WUC
and WUFC register if wol_enable is 0. ixgbe_setup_low_power_mode() calls
ixgbe_stop() and it resets the chip. The reset change WUC and WUFC registers to
the default, so clearing WUC and WUFC should be done after ixgbe_stop().
2016-12-28 09:29:35 +00:00
rin
d2d9d6886a Add missing "compat" qualifier to fix build with MKCOMPAT=no for mips64-e[bl].
Also, add "softfloat" to /usr/lib/{64,o32}/libc_fp_pic.a.
2016-12-28 08:57:20 +00:00
ozaki-r
bedee97f82 Bump for ethercom#ec_lock
Welcome to 7.99.53
2016-12-28 07:34:33 +00:00
ozaki-r
bf5ce79b5b Protect ec_multi* with mutex
The data can be accessed from sysctl, ioctl, interface watchdog
(if_slowtimo) and interrupt handlers. We need to protect the data against
parallel accesses from them.

Currently the mutex is applied to some drivers, we need to apply it to all
drivers in the future.

Note that the mutex is adaptive one for ease of implementation but some
drivers access the data in interrupt context so we cannot apply the mutex
to every drivers as is. We have two options: one is to replace the mutex
with a spin one, which requires some additional works (see
ether_multicast_sysctl), and the other is to modify the drivers to access
the data not in interrupt context somehow.
2016-12-28 07:32:16 +00:00
ozaki-r
b79bd95d27 Use ether_ifattach in carp_clone_create instead of C&P code
carp_clone_destroy calls ether_ifdetach so not calling ether_ifattach is
inconsistent. If we add something pair of initialization and destruction
to ether_ifattach and ether_ifdetach (e.g., mutex_init/mutex_destroy),
ether_ifdetach of carp_clone_destroy won't work. So use ether_ifattach.

In order to do so, make ether_ifattach accept the 2nd argument (lla) as
NULL to allow carp to initialize its link level address by itself.
2016-12-28 07:26:24 +00:00