Commit Graph

255316 Commits

Author SHA1 Message Date
kamil
ee3ab3e908 Document sstk removal in doc/CHANGES
sstk: Remove the "stack section size change" syscall

Sponsored by <The NetBSD Foundation>
2017-12-19 09:09:28 +00:00
skrll
3b6b63e71e Trailing whitespace 2017-12-19 09:04:18 +00:00
kamil
c1e1c2ac76 gdb.old: Add missing */
Sponsored by <The NetBSD Foundation>
2017-12-19 09:01:24 +00:00
kamil
ffa5cda8e7 Regenerate kern/systrace_args.c for the ___lwp_wait60 prototype change
___lwp_part60 removed 'const' from the ts argument.

'const struct timespec *ts' -> 'struct timespec *ts'

Sponsored by <The NetBSD Foundation>
2017-12-19 08:51:09 +00:00
kamil
438b670525 Drop the sstk(2) syscall stub
sstk - change stack section size

This functionality has never been implemented and is a remnant from 16-bit
UNIX. This stub appeared with the first NetBSD commit.

Sponsored by <The NetBSD Foundation>
2017-12-19 08:48:19 +00:00
kamil
82bc226748 compat freebsd: Drop the sstk(2) syscall
sstk(2) has never been implemented by the NetBSD kernel.

Sponsored by <The NetBSD Foundation>
2017-12-19 08:27:05 +00:00
kamil
688d12a3d7 compat sunos: Drop the sstk(2) syscall
sstk(2) has never been implemented by the NetBSD kernel.

Sponsored by <The NetBSD Foundation>
2017-12-19 08:25:37 +00:00
kamil
3d589eb938 compat sunos32: Drop the sstk(2) syscall
sstk(2) has never been implemented by the NetBSD kernel.

Sponsored by <The NetBSD Foundation>
2017-12-19 08:24:41 +00:00
kamil
62e75dc456 compat ultrix: Drop the sstk(2) syscall
sstk(2) has never been implemented by the NetBSD kernel.

Sponsored by <The NetBSD Foundation>
2017-12-19 08:23:22 +00:00
kamil
fc1871a14a compat aoutm68k: Mark sstk(2) as OBSOL
Remove the sstk(2) syscall support and mark it as obsolete.
It has never been implemented in the kernel.

Sponsored by <The NetBSD Foundation>
2017-12-19 08:09:36 +00:00
kamil
1241eefcf9 gdb & gdb.old: Forget about sstk in ppc/emul_netbsd.c
The sstk(2) syscall has not been implemented and will be removed.
2017-12-19 08:02:55 +00:00
kamil
5bf457c4f0 Sync syscalls.master in compat_netbsd32(8) with kern/syscalls.master
___lwp_part60 removed 'const' from the ts argument.

'const struct timespec *ts' -> 'struct timespec *ts'

Sponsored by <The NetBSD Foundation>
2017-12-19 07:58:50 +00:00
msaitoh
7ed799de8d Add missing if_free() in the detach path. 2017-12-19 06:40:22 +00:00
ozaki-r
436bca6c47 Don't set IFEF_MPSAFE unless NET_MPSAFE at this point
Because recent investigations show that interfaces with IFEF_MPSAFE need to
follow additional restrictions to work with the flag safely. We should enable it
on an interface by default only if the interface surely satisfies the
restrictions, which are described in if.h.

Note that enabling IFEF_MPSAFE solely gains a few benefit on performance because
the network stack is still serialized by the big kernel locks by default.
2017-12-19 03:32:35 +00:00
pgoyette
ee9841898b Ooppss, need an ampersand call calling LIST_EMPTY() macro 2017-12-19 03:31:12 +00:00
pgoyette
c09700cf11 There is currently a counter nactive which tracks the INSERT and REMOVE
of entries in the ccds LIST.

Since the counter is checked only when the ccd module is being unloaded,
remove the counter completely and just check for LIST_EMPTY(ccds).

No functional change intended.
2017-12-19 03:24:09 +00:00
christos
a560478d96 Adjust for NetBSD 2017-12-19 01:59:48 +00:00
christos
b7418df71e add an MI intro page (from FreeBSD) 2017-12-19 01:49:18 +00:00
christos
189d838a4e add missing man page from FreeBSD 2017-12-19 01:46:57 +00:00
christos
ff6f120736 ifdef speeding ticket. 2017-12-18 22:44:30 +00:00
skrll
cacbcbd692 Whitespace 2017-12-18 20:32:02 +00:00
skrll
c96e76eb19 Use lowercase for hex constant. NFC. 2017-12-18 20:25:07 +00:00
christos
3a05faa2d8 make it fail instead of hang under qemu; XXX: need to investigate. 2017-12-18 19:20:40 +00:00
jmcneill
fc29671b41 No need to specify console=fb for pinebook anymore as WSDISPLAY_MULTICONS will give us a framebuffer console 2017-12-18 19:08:16 +00:00
jmcneill
517dc97c4b Always set "is_console" property to true when WSDISPLAY_MULTICONS is defined 2017-12-18 19:06:32 +00:00
jmcneill
6bea2a2173 Add WSDISPLAY_MULTICONS 2017-12-18 19:00:42 +00:00
jmcneill
409fe00142 Add WSDISPLAY_MULTICONS option which allows wsdisplay to cooperate with
the console device being overridden. This allows for simultaneous console
output on fb and debug uart.
2017-12-18 18:59:32 +00:00
jmcneill
84f507d2ee ukbd_cngetc: poll once for data in the buffer, otherwise return type 0 (no data) 2017-12-18 18:58:00 +00:00
jmcneill
830d1bb205 If the wskbd driver returns type 0, return "no data" from wskbd_cngetc 2017-12-18 18:57:21 +00:00
skrll
e3cfa66d2e Generalise FDT and OFW 2017-12-18 15:53:38 +00:00
jmcneill
3e50f7263d Support promiscuous mode 2017-12-18 13:56:14 +00:00
christos
a0fb54ab67 Don't use SCHED_OTHER. 2017-12-18 13:18:23 +00:00
jmcneill
84727f2c37 Use ieee80211_media_status 2017-12-18 12:42:21 +00:00
jmcneill
adfdc31244 Stop the device at attach in case it was previously initialized 2017-12-18 12:36:16 +00:00
ozaki-r
900df923cc Note that IFNET_LOCK must not be held in softint 2017-12-18 08:24:29 +00:00
msaitoh
d3007e8218 Regen. 2017-12-18 07:57:54 +00:00
msaitoh
dee7c1375b Add some Chelsio devices. 2017-12-18 07:57:36 +00:00
msaitoh
6c5f12c47e Add ixg and ixv. 2017-12-18 07:05:16 +00:00
ozaki-r
927ca71150 Fix compile error (may be used uninitialized)
Hmm, __noinline had hidden this error.
2017-12-18 05:35:36 +00:00
ozaki-r
913c95a630 Revert "Spinkle __noinline to some non-performance-sensitive functions for debugging"
We should do this kind of tweaks for debugging just locally and personally.

Requested by christos@
2017-12-18 05:35:01 +00:00
msaitoh
21674149dd Add VGA 16bit decode bit into the PCI bridge control register. This bit is
defined in PCI-to-PCI Bridge Architecture Specification Revision 1.2. This
bit has meaning if the VGA enable bit or the VGA Palette Snoop Enable bit is
set.

 NOTE: sys/arch/x86/pci/pci_ranges.c::mmio_range_extend_by_vga_enable() and/or
some other functions should be modified.
2017-12-18 04:48:28 +00:00
ozaki-r
0602b7c074 Adjust outputs of route's flags to include a numeric output 2017-12-18 04:11:46 +00:00
ozaki-r
e1353de0aa Show ARP/NDP caches as LLINFO not LLDATA for backward compatiblity 2017-12-18 04:11:13 +00:00
knakahara
decfa6a54a fix mbuf leaks. pointed out and suggested by kre@n.o, thanks. 2017-12-18 03:21:44 +00:00
knakahara
5a6bcc75c1 backout wrong fix again, sorry. 2017-12-18 03:20:12 +00:00
mrg
2449b0a157 include <compat/sys/siginfo.h> for siginfo32_t. 2017-12-18 00:33:32 +00:00
pgoyette
a9ea0b5369 If config_cfattach_detach() returns an error, handle it instead of
ignoring.  Otherwise the mutex will get destroyed and we'll unload
the module, and any active users will eventually cause a panic.

Noted by code inspection.

XXX pullup to netbsd-8
2017-12-17 22:09:47 +00:00
pgoyette
4b44327057 If config_fini_component() fails (due to device driver busy), don't
discard its error value when re-attaching the devsw.  If the devsw
is successfully re-attached and we return success, the module will
get detached anyway.  And, since the device is actually busy, we'll
eventually panic.

Thanks to nat@ for providing the reproduction instructions.

XXX A driver-busy condition will currently still trigger the error
XXX message from config_fini_component()
XXX	configure: attachment `pad' of `pad' driver fini failed: 16
XXX This will be addresses separately by having pad maintain its own
XXX ref-count and not relying on config_fini_component() to detect
XXX the busy state.
2017-12-17 21:57:11 +00:00
joerg
d8ca7f13dd Mark files not tagged with r319952 as dead. 2017-12-17 21:28:52 +00:00
joerg
2b93006b3f Be consistent with the revision numbers in the import-llvm command. 2017-12-17 21:16:57 +00:00