Commit Graph

249061 Commits

Author SHA1 Message Date
msaitoh 8aea78d688 regen. 2017-02-27 03:37:16 +00:00
msaitoh 971d3c129c Add some NVIDIA devices. 2017-02-27 01:33:21 +00:00
jdolecek 60fb3e6eda got 'bad mbi comp_stat 5' during DIOCGCACHE under Parallels, according
to linux driver it's possible status when controller thinks the CCB is invalid;
handle same as BHA_MBI_ABORT/BHA_MBI_UNKNOWN i.e. just clear the CCB anyway
2017-02-26 23:30:14 +00:00
jdolecek a8699550e3 mark local functions static, similar to other ld(4) attachments 2017-02-26 23:06:36 +00:00
wiz 2b9a593e7e Fix Dd argument. 2017-02-26 22:18:58 +00:00
mbalmer 57e869fa25 shorten hardware address wording 2017-02-26 19:58:38 +00:00
riastradh c7e26fd829 Paranoia: parenthesize macro operands.
Should be no functional change, based on how these macros are used in
this file.
2017-02-26 16:22:55 +00:00
riastradh 62b12952e1 Clarify that kauth_cred_get doesn't modify with reference count. 2017-02-26 15:44:15 +00:00
rin 46c311c2c5 Comment out DISKLABEL_RDB as it is too specific for general usage.
(Also add commented out that entry for GENERIC on amd64; I forgot it)
2017-02-26 12:41:50 +00:00
maya 830422a892 Remove commented DISKLABEL_EI for strictly little endian architectures
It will never be useful.
2017-02-26 12:21:14 +00:00
rin 24955e9e67 add DKWEDGE_METHOD_RDB 2017-02-26 12:06:40 +00:00
rin 59e6f8272e Add DKWEDGE_METHOD_RDB option, which is enabled for x86, commented out for
other platforms by default.
2017-02-26 12:03:14 +00:00
rin 7e8d492b8f Add DKWEDGE_METHOD_RDB option, which is Amiga Rigid Disk Block (RDB)
partitioning detection method for dk(4).
2017-02-26 11:56:49 +00:00
rin 14ce3d3f83 s/u_char/unsigned char/ 2017-02-26 11:51:38 +00:00
rin 383993091e Include <sys/types.h> and replace u_long with uint32_t in preparation to be
used from LP64 environments.
2017-02-26 11:48:55 +00:00
maya 32f35bc7ad Add a DEBUG assert for the problem noted in PR kern/51731
of some drivers not sufficiently locking.

The relevant drivers might not work, but if someone gets around to them
then the problem could be visible.

sd doesn't trip the assert.
2017-02-26 10:58:47 +00:00
maya a077947db8 catch up with i386 rename of gdt to gdtstore
fixes i386 ALL kernel build (pnpbios is disabled in GENERIC)
2017-02-26 10:49:25 +00:00
njoly bf758697bc Apply fix from natuve clock_nanosleep(2) to not copyout remaining time
struct if TIMER_ABSTIME flag is set.
2017-02-26 10:26:19 +00:00
martin b9dbf5bad7 Disks without a disk label happen in normal operation (both as USB
stick or with GPT), so do not cause an error message when opening
them.
2017-02-26 09:49:40 +00:00
skrll 49e8576543 Trailing whitespace 2017-02-26 09:33:27 +00:00
skrll f936e77d09 Use PEX numbers consistently. No functional change. 2017-02-26 09:29:08 +00:00
msaitoh a07140ca7f - Fix the base power's value in the power budget capability.
- Fix typo (s/Maximun/Maximum/)
2017-02-26 05:41:47 +00:00
rin 91f2e2aead multiply the missing factor to offset when sorting partitions
(harmless for ``normal'' disks although)
2017-02-25 22:45:59 +00:00
rin 26880e2535 fix off-by-one 2017-02-25 22:40:18 +00:00
joerg 6fbd2a0be4 Switch from __ABICALLS__ to __mips_abicalls like upstream GCC does in
the generic MIPS target logic.
2017-02-25 21:16:50 +00:00
christos e89750009c kill stray q 2017-02-25 18:18:29 +00:00
christos de5e1d7b22 fix unused. 2017-02-25 16:48:03 +00:00
christos 5661ffc1f0 make bitfields unsigned 2017-02-25 16:45:24 +00:00
abhinav 4af2bdf053 Change reference from malloc(3) to jemalloc(3) as the MALLOC_OPTIONS variable
is actually described in jemalloc(3).
2017-02-25 15:55:45 +00:00
mlelstv 7b58ce7ad7 pacify disklabel validation message 2017-02-25 15:19:00 +00:00
kamil 90132e6d61 Garbage collect unneeded inclusion of <x86/dbregs.h> in <machine/proc.h>
This is left over after introduction of Debug Register accessors.
This interface replaced older watchpoint API.

Sponsored by <The NetBSD Foundation>
2017-02-25 13:34:21 +00:00
mlelstv 7442aaf8ef Use correct lock for session wakeup. 2017-02-25 12:03:57 +00:00
skrll 42ed760852 Add pci attachment for mvsata 2017-02-25 07:55:06 +00:00
nonaka 0b6ba9facc EFI console is drawing faster by shadowfb. 2017-02-25 01:13:50 +00:00
nonaka d2127b2d27 genfb(4): Enabling/Disabling shadowfb can be controlled via prop. 2017-02-25 01:11:55 +00:00
christos 425b4f3910 fix printf format 2017-02-24 17:19:14 +00:00
skrll 48ca38c316 Typo in a model string 2017-02-24 17:07:13 +00:00
nat 7d65fd4303 Remove use of sc_intr_lock from audio_read. Fixes LOCKDEBUG panics. 2017-02-24 16:53:24 +00:00
roy 808f48e3a5 Only do DaD if the interface actually has the address. 2017-02-24 13:42:18 +00:00
msaitoh cfac5f5458 Remove RSS's note in BUGS section because it's supported now. 2017-02-24 13:04:23 +00:00
christos bb0b3deb55 fix printf format. 2017-02-24 13:03:25 +00:00
nonaka 8f1f7d8414 efiboot: Don't access old stack after copying a kernel.
It's possible that the old stack is overwritten by the kernel.
2017-02-24 12:24:25 +00:00
knakahara ede9d3bf43 apply 82574 RFCTL workaround the same as FreeBSD and linux.
In fact, this workaround reduces interrupt count.
2017-02-24 10:09:21 +00:00
knakahara 693595d590 82574 should follow MSI-X mode IMS manner.
Howerver some legacy interrupts occur as MSI-X other interrupt yet...
2017-02-24 10:07:33 +00:00
nat 0941ed4c88 Simplify locking. Hold intr lock only when dealing with sc_pr (mix ring)
or virtual channel 0 (hardware).
2017-02-24 09:49:49 +00:00
skrll 2b53fbd64d Fix a locking botch in previous 2017-02-24 07:52:39 +00:00
msaitoh 8462f6d0f2 Use macro. KNF. No functional change. 2017-02-24 06:39:54 +00:00
kamil 5447864424 Add new test syscall1 in t_ptrace_wait*
syscall1:
    Verify that getpid(2) can be traced with PT_SYSCALL

Enforce usage of syscall(2), it should prevent failing on any possible
optimizations in future as a libc can ship this information not through
syscall (shared struct with kernel or similar).

Sponsored by <The NetBSD Foundation>
2017-02-24 06:17:48 +00:00
msaitoh dfa7bcc213 Print mac.type and the TrackID. 2017-02-24 05:38:30 +00:00
msaitoh 94eac08e2e Fix 0x%u... 2017-02-24 05:04:46 +00:00