Commit Graph

250026 Commits

Author SHA1 Message Date
hannken 7ca0d1e255 Switch NdisOpenFile() to mountlist iterator.
XXX: Do we need a function or variable to retrieve the root mount or NULL?
2017-04-13 09:44:48 +00:00
hannken 8fd5bc95f8 Switch compat_20_sys_getfsstat() to mountlist iterator. 2017-04-13 09:41:28 +00:00
msaitoh 233ee5301d Add forgotten BGE_EVCNT_INCR() for spurious interrupt. 2017-04-13 09:25:33 +00:00
hannken e0818a4b75 Switch ultrix_sys_getmnt() to mountlist iterator.
Really skip "start" items instead of a useless loop.
Compile tested only.
2017-04-13 09:18:18 +00:00
hannken 819b8261d6 Switch osf1_sys_getfsstat() to mountlist iterator.
Compile tested only.
2017-04-13 09:17:55 +00:00
skrll 070497e366 Paranoia... keep vmspace reference while doing pmap_procwr 2017-04-13 07:58:45 +00:00
skrll 1c01928083 Comment alignment. No functional change. 2017-04-13 07:49:52 +00:00
skrll 060b9d97a7 Fix details around the AX88179 USB 3.0 chipset 2017-04-13 07:22:50 +00:00
msaitoh b734e166a9 - Read chip ID correctly on BCM57782 and BCM57786.
- Add BXCM57766 A0 string.
- Add comment for BCM5776[56]'s workaround.
2017-04-13 04:27:46 +00:00
msaitoh 414cfa3e2c regen. 2017-04-13 04:04:39 +00:00
msaitoh 490bdb899e Add Broadcom BCM577x5 SDMMC, Memstic and xD. 2017-04-13 04:04:13 +00:00
christos bb9e7fd375 remove env. 2017-04-13 02:15:36 +00:00
ozaki-r 61c284b0f0 Fix that ah_algorithm_lookup and esp_algorithm_lookup don't handle some algorithms
Unrelated upper limit values, AH_ALG_MAX and ESP_ALG_MAX, prevented some
algorithms from being looked up.
2017-04-13 01:32:57 +00:00
ozaki-r 7654585ce6 Fix usage of MD5Final/SHA1Final
Passing NULL as the digest parameter is wrong.
2017-04-13 01:24:34 +00:00
ozaki-r e27c60ccce Fix parsing ah without a key 2017-04-13 01:19:17 +00:00
maya 48b3001c8d if MGETHDR fails, don't try to copy to single mbuf and deref null.
reduce ifdefs.
2017-04-13 00:47:33 +00:00
knakahara d5d260eb06 l2tp(4) support when hashinit() cannot allocate requried hash size.
pointed out by s-yamaguchi@IIJ
2017-04-13 00:12:10 +00:00
jmcneill ea2b839e65 ODROID-C1: Now that the MBR partition table contains an entry for the BSD
partition, the disklabel no longer conflicts with the ODROID-C1 bootloader.
Root partition changes from ld0e to ld0a.
2017-04-12 23:35:29 +00:00
jmcneill 6d634d7e0c Slightly reduce the size of the MSDOS partition from 124M to 92M. With
the larger size, installing the ODROID-C1 bootloader causes the fs to
become unreadable. Not sure why..
2017-04-12 23:32:11 +00:00
christos cd306a0c3c use opt_kmem.h for the KMEM_ variables. 2017-04-12 20:05:54 +00:00
kamil 12cbcbd04f Add new macro PTRACE_BREAKPOINT_ASM in <sys/ptrace.h> MD part
This macro ships with a MD-specific assembly instruction triggering
a software breakpoint.

Missing instruction for powerpc targets.

This code is used in ATF tests (lib/libc/sys/t_ptrace_wait).

Original patch by Nick Hudson, thanks!
2017-04-12 18:17:59 +00:00
christos 947610a7b0 more gnu directory removal. 2017-04-12 17:29:49 +00:00
roy de09325dff Use RO_MSGFILTER. 2017-04-12 17:02:51 +00:00
roy fcede00eff Use RO_MSGFILTER. 2017-04-12 16:47:39 +00:00
riastradh de4f8ca0e4 Mark expected failures as such.
Not exactly sure how the PRs correspond -- please fix if this is wrong!
2017-04-12 15:12:55 +00:00
nat 6c84530b88 Increase the priority of the mixing thread to improve performace under
load.

This should address PR kern/52098.
2017-04-12 14:21:12 +00:00
nat bdb36270f0 Insert silence into the mix ring if there is no audio (or audio cannot
keep up) from the channels.

Addresses PR kern/34647.
2017-04-12 14:15:50 +00:00
hannken e08a8c4104 Switch vfs_getvfs(), dounmount() and vfs_mountroot() to mountlist iterator.
Add a helper to retrieve a mount with "highest generation < arg" and
use it from vfs_unmount_forceone() and vfs_unmountall1().
2017-04-12 10:35:10 +00:00
hannken 6058fea9b5 Switch veriexec_dump() and veriexec_flush() to mountlist iterator. 2017-04-12 10:30:02 +00:00
hannken a315c73868 Switch do_sys_sync() and do_sys_getvfsstat() to mountlist iterator. 2017-04-12 10:28:39 +00:00
hannken 3137e0cee1 Switch vfs_vnode_lock_print() and printlockedvnodes() to _mountlist_next().
Switch sched_sync() and sysctl_kern_vnode() to mountlist iterator.
2017-04-12 10:26:33 +00:00
hannken 5ff843c227 Switch fstrans_dump() to _mountlist_next(). 2017-04-12 10:23:35 +00:00
martin c3c564b370 Make the non-DIAGNOSTIC version compile 2017-04-12 06:43:56 +00:00
msaitoh 92a8537b4b Add a workaround for BCM57780 to prevent device timeout. This change prevent
L1PM feature do wrongy. Tested with Dell latitude 2120.
2017-04-12 06:22:16 +00:00
msaitoh 44790b71a1 Fix a bug that BCM5785 write wrongly to the PCI config area. 2017-04-12 06:04:34 +00:00
msaitoh 6d4127c9b8 Add counters for spurious interrupts. 2017-04-12 05:59:43 +00:00
msaitoh 56d0e2153c Detach sysctl and event counters in bge_release_resources(). 2017-04-12 05:50:52 +00:00
knakahara c053c2614b improve comments about the difference between legacy/msi and msix.
pointed out by msaitoh@n.o.
2017-04-12 05:08:00 +00:00
jmcneill b36f0941dd Make tegra_mc_intr static to match prototype 2017-04-12 00:39:28 +00:00
nat 8d470a9b91 audioclear needs first channel in the queue not 0 (fixes panic).
Ignore the interrupt completely (audio_[pr]int) if not open.
2017-04-11 23:49:17 +00:00
jmcneill 760a6ac1d6 Remove a test that prevents tuning from happening on eMMC devices. 2017-04-11 23:26:33 +00:00
christos d8c52c37b1 use a different root vnode variable to appease the rump gods. 2017-04-11 21:15:57 +00:00
jmcneill 4d3af4e0f2 Now that FAT+FFS images include the BSD partition in the MBR partition
table, install the disklabel after setting up MBR partitions. This moves
the disklabel to the BSD partition from the start of the disk, avoiding
a conflict with the ODROID-C1 bootloader.
2017-04-11 21:06:30 +00:00
roy 9ceca8afd6 Cast sizeof to socklen_t as pointed out by kre@ 2017-04-11 18:20:03 +00:00
jmcneill efb61fccf8 Improvements and fixes for FAT+FFS images:
- Add a "NETBSD" volume label to the MSDOS file-system.
 - Explicitly initialize boot sector.
 - Correct an issue where the MSDOS file-system was larger than the
   partition table entry.
 - Add NetBSD partition to the MBR partition table.
2017-04-11 18:04:08 +00:00
abhinav bf08a0975f Use more markup for `struct timespec`
Use Xr to refer to timespec(3)
Add timespec(3) to SEE ALSO
2017-04-11 17:59:23 +00:00
jmcneill 43bbd720db Increase the size of the boot partition and remove the 'd' part from the
disklabel.
2017-04-11 17:30:17 +00:00
sjg 624bde60ca Str_Match: allow [^a-z] to behave as expected. 2017-04-11 17:30:13 +00:00
jmcneill b3048c4121 Disable interrupts before returning from isr, and re-enable them when the
soft interrupt handler returns. Fixes an interrupt storm on Tegra K1.
ok christos@
2017-04-11 17:27:54 +00:00
flxd 117684898e Add PCI devices for vlpci(4). 2017-04-11 17:27:49 +00:00