Commit Graph

242172 Commits

Author SHA1 Message Date
ozaki-r a931ad2746 Constify remaining rtentry of if_output (fix build) 2016-04-28 14:40:09 +00:00
skrll 9724d4d249 Fix build 2016-04-28 14:00:23 +00:00
christos f432b935f6 Initialize patbuf (Ingo Schwarze) 2016-04-28 12:27:45 +00:00
christos d190d8048d Pass the proper device_t to the attach hook. 2016-04-28 12:24:51 +00:00
christos d7245a7577 include stdio.h for NULL 2016-04-28 11:45:02 +00:00
christos f107a05fec remove incorrect comment 2016-04-28 11:38:41 +00:00
wiz c3a8cf2ad8 gcc-6.1 is out. 2016-04-28 09:22:19 +00:00
wiz 2ac4fbecd9 Fix xref. 2016-04-28 08:18:05 +00:00
wiz b3e27845a3 Sort SEE ALSO. New sentence, new line. 2016-04-28 08:17:04 +00:00
wiz 307c12e07c Fix xrefs. Sort sections. Remove trailing whitespace. 2016-04-28 08:16:09 +00:00
wiz e09a2cef0e Replace Xr to itself with Nm. 2016-04-28 07:06:11 +00:00
ozaki-r 743ec2bd92 Don't depend on the order of interfaces
Instead add tests of querying varying number of interfaces
and tests of checking if removing interfaces is reflected.
2016-04-28 01:57:45 +00:00
knakahara 9f3a294e64 introduce new ifnet MP-scalable sending interface "if_transmit". 2016-04-28 01:37:17 +00:00
ozaki-r b7e089f63a Don't depend on the order of interfaces
The kernel guarantees nothing about it.
2016-04-28 01:20:31 +00:00
christos 41f8fdba9d Simplify 2016-04-28 00:37:39 +00:00
christos 4a60b18fe2 Fix tyop 2016-04-28 00:35:24 +00:00
christos 5f6148474c Fix error message. 2016-04-28 00:33:54 +00:00
ozaki-r 2cf7873b92 Constify rtentry of if_output
We no longer need to change rtentry below if_output.

The change makes it clear where rtentries are changed (or not)
and helps forthcoming locking (os psrefing) rtentries.
2016-04-28 00:16:56 +00:00
christos 4187cd60b2 Introduce dt_bootfile() and use it to avoid hard-coded kernel values. Fixes
dtrace hang for kernels not named netbsd.
2016-04-28 00:02:40 +00:00
christos cbf2c4d885 We need a flag for WCONTINUED so that we can reset it... Fixes bash issue. 2016-04-27 21:15:40 +00:00
christos 5befeffc11 - Adjust to the correct wait6 semantics (returns pid)
- Avoid race in setrlimit(2)
2016-04-27 21:14:24 +00:00
christos 7da1320f48 Add 80211n ht frame. 2016-04-27 20:17:00 +00:00
christos 876c86398b Add new firmware code. 2016-04-27 19:52:14 +00:00
christos a0209744ac add rt2860 2016-04-27 19:50:34 +00:00
christos 8e3f3a6102 Sync with OpenBSD 2016-04-27 19:50:06 +00:00
christos 6be055256f Make RT 2860 for the if_ral_pci.c driver compile.
This work was done by Jeff Rizzo
2016-04-27 19:49:26 +00:00
christos 3709942a55 regen 2016-04-27 19:48:11 +00:00
christos f6f9586219 more ral devices from OpenBSD 2016-04-27 19:47:40 +00:00
christos 1650ef6b16 Sync with OpenBSD (add rt2860). Handle 32/64 memory bars,
some power management, more device matches.
2016-04-27 19:47:25 +00:00
christos 021cd4d7f5 Add rt2860 now that it compiles. 2016-04-27 19:46:11 +00:00
jakllsch f734221ad6 Pull in opt_usb.h in _KERNEL_OPT case for various *_DEBUG options.
Makes various driver-specific debugging options work again.

XXX more to fix in dev/usb
2016-04-27 19:35:17 +00:00
msaitoh cbd48b4fa7 Add some name from the latest Intel SDM.
- Quark X1000, Xeon E5 v4 and the future processors.
2016-04-27 08:53:28 +00:00
msaitoh 4f683cafcd Add some bit definitions mainly taken from the latest Intel SDM:
- Add SGX, UMIP, RDPID and SGXLC.
 - Add avx512dq, avx512bw and avx512vl.
Fix the bit location of CLFLUSHOPT.
2016-04-27 08:51:32 +00:00
msaitoh d0881811b7 Add new desc 0x64 and 0xc4. 2016-04-27 08:47:03 +00:00
msaitoh 5222935383 Take some changes from the Linux's latest x86/include/asm/cpufeatures.h.
- Add ptsc, avx512dq, avx512bw and avx512vl
 - Remove some Linux mappings.
2016-04-27 08:45:22 +00:00
ozaki-r 0250b4d7d6 Fix usages of PSLIST_ENTRY_* in the example code 2016-04-27 08:18:40 +00:00
ozaki-r 28a15dd493 Fix usage of frobbotzim_prc in the example code 2016-04-27 08:05:31 +00:00
ozaki-r ad0fbab4d2 Get rid of unused argument from get_rand_ifid 2016-04-27 07:51:14 +00:00
msaitoh 50eab7c968 - Add structure extended feature registers into ci_feat_val[]. The locations
are the same as x86/include/cpu.h. Curreltly those values are not used yet.
- KNF.
2016-04-27 06:58:06 +00:00
ozaki-r b501e7fdda Fix declaration of PSLIST_READER_FIRST 2016-04-27 06:57:24 +00:00
christos 1b344bfff2 provide an empty DPRINTF 2016-04-27 02:47:39 +00:00
christos a863a5d590 Extend the "a" partition hack to also mean the first partition on the raid,
for non-disklabel based raidframe disks that need root.
2016-04-27 02:24:06 +00:00
christos f2a7ea8367 Add dkwedge_find_by_parent() 2016-04-27 02:19:12 +00:00
christos 33f25f9fb6 Unmodified OpenBSD sources (except Ids) 2016-04-26 21:17:20 +00:00
chs cba709e375 the netbsd version of PT_LWPINFO is different from the freebsd version
in that we use lp_lwpid as an input to say which lwp to operate on.
freebsd passes the lwpid as the pid, which works fine there
since freebsd has globally unique LWP IDs which are also distinct
from process IDs.  the libproc interface that uses this ptrace() call
is only supposed to return info for the process's representative LWP,
so just initialize pl_lwpid to 1 before using it.
2016-04-26 14:29:58 +00:00
chs d22d83420c use the netbsd path for separate debuginfo files.
only attempt to look up symbols in the dynsym table if the object
actually has one, which a separate debuginfo file does not.
2016-04-26 14:28:39 +00:00
chs c8860c9bc8 fix the lookup of the rtld postinit hook to use the netbsd names
for the object and symbol rather than the freebsd names.
remove the lookups of the preinit and dlactivity hooks
(which do not currently exist separately in rtld on netbsd) for now
since this rtld_db implementation does not report those events anyway.
2016-04-26 14:26:49 +00:00
skrll 6fe4dc354b Debug 2016-04-26 12:58:48 +00:00
rjs 991b8746b6 Fix build when IPSEC enabled. 2016-04-26 11:02:57 +00:00
skrll 9b8e5df7bf First pass at adapting SLHCI_DEBUG to USBHIST 2016-04-26 10:38:42 +00:00