Commit Graph

253606 Commits

Author SHA1 Message Date
maxv
4c67b9d941 Add a machdep.tsc_user_enable sysctl, to enable/disable the rdtsc
instruction in usermode. It defaults to enabled.
2017-10-02 19:23:16 +00:00
bouyer
0cb59c323c Fix (once again) Xen boot 2017-10-02 17:48:01 +00:00
maya
535f0948a0 Add sanity check: passed -x but no xsrc directory 2017-10-02 15:40:00 +00:00
jmcneill
635d53d840 Add definitions required for VIDIOC_ENUM_FRAMESIZES and
VIDIOC_ENUM_FRAMEINTERVALS ioctl commands, required to build Firefox's
webrtc support.

From Robert Swindells in PR# kern/52588
2017-10-02 13:47:58 +00:00
mlelstv
a736d6ac80 add t_list test. 2017-10-02 13:01:11 +00:00
wiz
80469131eb Wording improvements for previous from maxv. 2017-10-02 12:55:10 +00:00
maya
79d830d6a0 unifdef sgi. NFCI 2017-10-02 11:02:19 +00:00
maya
ff0b390a62 un-ifdef sgi. NFC 2017-10-02 10:08:11 +00:00
wiz
cb8c8a822a Add cross reference to tac(1). 2017-10-02 08:24:17 +00:00
wiz
696f76c399 Sort options.
-qv are not specific to -r, so separate them.
Add -q and -v descriptions to the general option table.
2017-10-02 08:23:23 +00:00
ozaki-r
5c4a769336 Add curlwp_bind to bridge_input for psref
It can be called in a thread context via tap (tap_dev_write).

Fix PR kern/52587
2017-10-02 07:40:24 +00:00
nat
d6164e7f83 Allow maxused to be an odd number of bytes. This makes single byte
conversions work for the test described in the PR.

Addresses another part of PR kern/52586.
2017-10-02 07:06:15 +00:00
pgoyette
727495a03b White-space - NFCI 2017-10-02 06:37:04 +00:00
nat
ddfda0360c Improve LINEAR_LINEARN macro - inparticular BE/LE conversions.
Addresses part of PR kern/52586 analyzed and reported by isaki@.
2017-10-02 06:06:43 +00:00
pgoyette
37871fa670 Update for new signature for LIST_MOVE() 2017-10-02 05:16:41 +00:00
pgoyette
a3959c1f67 Update recently-added test to adapt to new signature of LIST_MOVE() 2017-10-02 05:14:29 +00:00
pgoyette
cf85bbdab8 Fix the LIST_MOVE macro to properly update the back-pointer of the
first entry in the list.

Note that the signature of LIST_MOVE() macro also changes (it grew an
additional argument).  This should not require a kernel version bump
since nothing appears to use LIST_MOVE() other than the recently added
atf test.
2017-10-02 05:13:44 +00:00
pgoyette
e9db0012c9 Add new LIST_MOVE test to sets list. 2017-10-02 04:16:32 +00:00
pgoyette
d77818a2a5 Add a new minimalistic test for LIST_MOVE to verify that the list's
first entry's prev pointer correctly points to the listhead.

This test will fail until a fix for LIST_MOVE is checked in (soon).
2017-10-02 04:15:56 +00:00
knakahara
6b6a663522 only get vtag when we have vtag like the other drivers.
like if_bge.c:1.312 and if_stge.c:1.64.
fixed by s-yamaguchi@IIJ, thanks.
2017-10-02 01:55:40 +00:00
uwe
959dbac259 Add cvs id keyword. 2017-10-02 01:03:31 +00:00
uwe
9386d8838f PR port-macppc/52564: revert previous and use a different workaround.
The .eh_frame has nothing to do with it, especially since it's not
generated now anyway.  The problem is that

  . = (. + 0x0FFF) & 0xFFFFF000;

now seems to cause binutils to pad the preceding section, and when
that happens to be .text the powermac ofw is unhappy for whatever
reason.

For now provide .pad section that absorbs the padding as a workaround.
The binutils problem still needs to be looked into.
2017-10-02 00:55:55 +00:00
christos
7ebfc10b9a PR/52590: David H. Gutteridge: Minor documentation improvements 2017-10-01 22:59:19 +00:00
kre
329c11fb8f Remove some unnecessary words. 2017-10-01 22:35:23 +00:00
nat
15c69bdde5 Ensure proper use of sc_opens (play back) and sc_recopens (recording).
Fix logic for /dev/sound so audiosetinfo is only called once.

These changes are to ensure that init_output/input is only called once for
the respective function play back or recording.  For multiple recording or
plack back streams init_input/output is only called once fot the first
play/rec stream.

This addresses PR kern/52580, PR kern/52581 and PR kern/52582 analyzed and
reported by isaki@.
2017-10-01 21:49:20 +00:00
maya
9b177b90f0 Add arguments to tail:
-q: suppress filename headers when multiple files are used
  -v: print filename headers even when only one file is used

head already supports the same arguments, which originated in GNU head.
GNU tail also has the same flags.


Add tac, a hard link to 'tail -rq'.
Prints a file in reverse line order.

Similar to GNU tac, but lacking any options.

Add accompanying documentation.
2017-10-01 20:49:24 +00:00
jmcneill
d1b80ee146 Disable poorly implemented tx interrupt mitigation code, fix checksum
offload support.
2017-10-01 15:05:09 +00:00
jmcneill
d835f70eda Shuffle attach order so CCUs attach before GPIO controllers 2017-10-01 10:45:49 +00:00
ryoon
32281620c6 Fix typo in comment 2017-10-01 09:45:16 +00:00
mlelstv
fa4874d540 - More fixes to use 64bit offsets.
- Compute left-over fragments also for FFS2.
2017-10-01 07:18:39 +00:00
macallan
88b533ac72 we support the drive bay sensor now 2017-10-01 05:15:52 +00:00
macallan
aa5da83366 add lmtemp 2017-10-01 05:13:53 +00:00
macallan
afb42843f6 attach to ds1775 which was already more or less supported as DS75
also, get sensor name/location from OpenFirmware if we know how
2017-10-01 05:12:18 +00:00
pgoyette
81e66525e6 Fix user-triggerable kernel crash as reported in PR kern/52573 (from
Bruno Haible).

XXX Pull-up to netbsd-8
2017-10-01 01:45:02 +00:00
christos
50013b8c4f cast reduction, NFC. 2017-09-30 21:47:12 +00:00
kre
9d73fa5606 Fix the syntax (pointed out by David H. Gutteridge on source-changes-d).
Fix the build...
2017-09-30 18:32:52 +00:00
riastradh
84bea879cb Use int64_t for loop index so we don't iterate forever/until trap. 2017-09-30 15:25:16 +00:00
wiz
ff45cb4b0b Remove Tn. Comment out xref to non-existent udsir(4). 2017-09-30 13:39:41 +00:00
wiz
c585ae27f7 End sentence with a dot. 2017-09-30 13:39:00 +00:00
sevan
0bb9497fa8 Correct document date.
Add uberry(4) to miscellaneous section.
2017-09-30 13:14:06 +00:00
sevan
a07ca73d88 Remove comment about BlackBerry devices which are not relevant here. 2017-09-30 13:01:50 +00:00
sevan
6cc0e1b2d0 Include port in the kernel configuration declaration. 2017-09-30 12:59:37 +00:00
jmcneill
f70e35fd2b enable sun8ih3rccu 2017-09-30 12:49:21 +00:00
jmcneill
a5198ca09c Add support for Allwinner H3 PRCM clock controller. 2017-09-30 12:48:58 +00:00
maxv
08635574a6 use bootspace (this branch is never taken) 2017-09-30 12:35:48 +00:00
maxv
07eb56d3a7 Declare pmap_remap_global, and map the four regions independently with
bootspace.
2017-09-30 12:29:58 +00:00
sevan
c2295d3194 Include uipad(4) in miscellaneous section. 2017-09-30 12:29:05 +00:00
sevan
918147bd0b Add a manual for uipad(4) 2017-09-30 12:27:26 +00:00
maxv
a6cd696ea0 use bootspace 2017-09-30 12:12:29 +00:00
maxv
21a9f40fe3 use bootspace 2017-09-30 12:01:56 +00:00