253698 Commits

Author SHA1 Message Date
roy
ec1306698f dhcpcd no longer needs hmac_md5.c 2017-10-07 14:11:07 +00:00
roy
d8819cfad2 Import dhcpcd-7.0.0-rc3 with the following noteable changes:
*  Fixed handling RA's from multiple routers
  *  Fixed changing to a better route based on gateway
  *  IPv6 default route is now deleted when config is not persistent
  *  Use hmac(3) if available in libc to reduce binary size

Fixes PR bin/52554
2017-10-07 14:05:36 +00:00
jmcneill
df2b6b3c70 add sunxigmacclk, awge, and rlphy 2017-10-07 13:29:28 +00:00
jmcneill
6c2b6ecfb0 Add support for sun6i/sun7i ethernet 2017-10-07 13:28:59 +00:00
jmcneill
ebb3c3a1c0 Add mmc sample and output phase clocks 2017-10-07 12:22:29 +00:00
jmcneill
7edc20883b Fix maximum xfer length for sun7i-a20 compatible controllers 2017-10-07 12:21:53 +00:00
maxv
d37438c8bb Bump bootloader version, support for booting KASLR amd64 kernels. 2017-10-07 10:32:56 +00:00
maxv
a8d8f69c27 Add a new option in libsa, to load dynamic binaries. A separate function
is used, and it does not break in any way the generic static loader. Then,
add a new "pkboot" command in the x86 bootloader, which boots a
GENERIC_KASLR kernel via the prekern. (See thread on tech-kern@.)
2017-10-07 10:26:38 +00:00
maxv
650b1fa4d5 Add GENERIC_KASLR, only toolchain parts for now. 2017-10-07 10:16:47 +00:00
kre
5067e4eb0f Actually bump lib versions, to match bump in sets files. 2017-10-07 00:06:11 +00:00
jmcneill
c32c97266b Add sun4i (A10) and sun7i (A20) USB PHY support 2017-10-06 22:25:05 +00:00
jmcneill
0b20af2a4c add A10 and A20 support 2017-10-06 21:21:22 +00:00
jmcneill
671537be4d Add sun4i (A10) and sun7i (A20) GPIO support. 2017-10-06 21:20:59 +00:00
jmcneill
cd50aa8726 add platform support for allwinner,sun4i-a10 and allwinner,sun7i-a20 2017-10-06 21:12:23 +00:00
kre
bd208c6933 Three fixes and a change to ~ expansions
1. A serious bug introduced 3 1/2 months ago (approx) (rev 1.116) which
   broke all but the simple cases of ~ expansions is fixed (amazingly,
   given the magnitude of this problem, no-one noticed!)

2. An ancient bug (probably from when ~ expansion was first addedin 1994, and
   certainly is in NetBSD-6 vintage shells) where ${UnSeT:-~} (and similar)
   does not expand the ~ is fixed (note that ${UnSeT:-~/} does expand,
   this should give a clue to the cause of the problem.

3. A fix/change to make the effects of ~ expansions on ${UnSeT:=whatever}
   identical to those in UnSeT=whatever   In particular, with HOME=/foo
   ${UnSeT:=~:~} now assigns, and expands to, /foo:/foo rather than ~:~
   just as VAR=~:~ assigns /foo:/foo to VAR.   Note this is even after the
   previous fix (ie: appending a '/' would not change the results here.)

   It is hard to call this one a bug fix for certain (though I believe it is)
   as many other shells also produce different results for the ${V:=...}
   expansions than  they do for V=... (though not all the same as we did).

   POSIX is not clear about this, expanding ~ after : in VAR=whatever
   assignments is clear, whether ${U:=whatever} assignments should be
   treated the same way is not stated, one way or the other.

4. Change to make ':' terminate the user name in a ~ expansion in all cases,
   not only in assignments.   This makes sense, as ':' is one character that
   cannot occur in user names, no matter how otherwise weird they become.
   bash (incl in posix mode) ksh93 and bosh all act this way, whereas most
   other shells (and POSIX) do not.   Because this is clearly an extension
   to POSIX, do this one only when not in posix mode (not set -o posix).
2017-10-06 21:09:45 +00:00
jmcneill
6dec99e3f1 Add driver for sun4i (A10) and sun7i (A20) clock controller. 2017-10-06 21:09:21 +00:00
christos
d98cfd15e6 bump libglapi, libGL libGLU because of the libstdc++ dual abi bump 2017-10-06 20:26:51 +00:00
christos
ebbd68dbd4 bump c++ libraries because of the libstdc++ dual abi bump 2017-10-06 20:24:46 +00:00
christos
72f283bf62 bump libraries that depend on libstdc++. 2017-10-06 19:21:17 +00:00
christos
cd7ac3d44d bump because libstdc++ 2017-10-06 19:19:36 +00:00
christos
26057c7540 bump because of libstdc++ 2017-10-06 19:16:35 +00:00
kre
5c624ca98d Add a new sub-test to validate ~ expansions.
Currently testing ~user is too much effort to contemplate (other than
assuming that it works in order to verify that it works...) so only bare ~
is being tested for now.   Maybe someday...

Right now (@ time of commit), this new test is expected to fail, as ~
expansions are horribly badly broken (have been for months, some forms
for much longer) in all but the simplest of uses.   Fix for that coming
very soon.
2017-10-06 17:05:05 +00:00
kre
4ad1e3d9c8 Make this test skip if running on a kernel without the SYSVMSG option.
(Assuming this behaves as intended the other tests which should behave
the same way will get upgrades as well.)
2017-10-06 17:00:28 +00:00
tsutsui
0cd6ed3805 Switch hp300 to HAVE_XORG_SERVER_VER=118.
Tested on HP 9000/425t with HP98550 catseye (topcat).
2017-10-06 13:00:57 +00:00
christos
cd25ec9105 bump libstdc++ to account for disabling the "dual abi". 2017-10-05 23:47:11 +00:00
christos
510540c911 re-run mknative to disable the libstdc++ "dual abi". Bump. 2017-10-05 23:46:34 +00:00
macallan
3e3d2ecc2e do what linux and freebsd do here:
- ignore the raw 'adc' sensors
- update all sensors in a single transaction instead of one by one
now we're getting relatively sane readings
2017-10-05 19:29:33 +00:00
christos
d93fc8b9c8 fix lint build. 2017-10-05 18:01:00 +00:00
jmcneill
4caf6c70ab add cpu regulator and operating points for nanopi neo 2017-10-05 13:25:33 +00:00
roy
b481130756 Cast away some compile warnings. 2017-10-05 09:59:04 +00:00
msaitoh
3014bc82c5 Use pcireg.h's macro. No functional change. 2017-10-05 06:37:45 +00:00
wiz
877c1e6101 Fix typo in comment. 2017-10-05 06:30:19 +00:00
msaitoh
7c17378f49 - Add PCI_MAPREG_ROM_ADDR_MASK macro and PCI_MAPREG_ROM_ADDR() macro.
- print PCI_MAPREG_ROM_ENABLE bit.
- Decode Expansion ROM Validation ECN.
- Add Native PCIe Enclosure Management ECN's extended capability type.
  Not decoded yet.
2017-10-05 06:14:30 +00:00
dholland
e4fcba91cd One of the things we should do when bumping libc is to boot the
obsolete cryptographic hashes out of libc, either entirely or to
some "insecure" library.
2017-10-05 04:38:08 +00:00
mrg
803cb099d6 s/u_int/unsigned/.
from Jan Danielsson.  increases/fixes portability.
2017-10-05 04:22:41 +00:00
ozaki-r
6bf0e671a0 Add missing NULL check
PR kern/52554
2017-10-05 03:42:14 +00:00
msaitoh
7f18730033 - Use per cpu ci->ci_max_cupid instead of global "cpuid_level" variable.
- Print AMD specific cpuid leafs:
        0x80000008 ebx
	0x8000000a edx
	0x80000007 ebx
2017-10-05 03:24:40 +00:00
christos
39acc162ef try a different style of __used. 2017-10-05 02:59:21 +00:00
jmcneill
c40978e807 add thermal sensor controller 2017-10-05 01:32:46 +00:00
jmcneill
7b9bf15041 enable sunxisid and sunxithermal 2017-10-05 01:30:45 +00:00
jmcneill
05641e303b Add driver for thermal sensor controller found in Allwinner H3, A64, and
A83T SoCs.
2017-10-05 01:30:26 +00:00
jmcneill
e2cc70dc0d Add thermal sensor clocks 2017-10-05 01:29:49 +00:00
jmcneill
3b0ef0a5e2 export sunxi_sid_read_tscalib 2017-10-05 01:29:25 +00:00
jmcneill
607cd651dc Add support for gated dividers and /1,/2,/4,/6 style divider fields. 2017-10-05 01:28:47 +00:00
jmcneill
f72fc94a0e Listen for PMFE_THROTTLE_* events and limit CPU frequency when throttling
is enabled.
2017-10-05 01:28:01 +00:00
jmcneill
062e17e4aa Add PMFE_THROTTLE_ENABLE / PMFE_THROTTLE_DISABLE events. 2017-10-05 01:26:53 +00:00
christos
9c2811ef9f Add NOBINARIES, useful to build tools are libraries which is what's needed
for mknative.
2017-10-04 23:54:33 +00:00
christos
36a9bd7395 add stdatomic.h 2017-10-04 23:44:38 +00:00
christos
507caaad52 Add stdatomic.h 2017-10-04 23:43:23 +00:00
christos
f8c6a2b31e const me harder! 2017-10-04 23:04:42 +00:00