Commit Graph

262345 Commits

Author SHA1 Message Date
jmcneill fe65f2feea Disallow 0-byte transfers and suppress timeout messages 2018-09-25 22:23:22 +00:00
skrll 6f66f0fed2 Cortex A5 also uses PPI 27 for timer.
ODROID-C1 boots again.
2018-09-25 20:55:34 +00:00
sevan 93b3123a43 Add PCB used in a networking context.
Wondered by alnsn at EuroBSDcon 2018.
2018-09-25 20:50:10 +00:00
riz 4bb1d11517 Add CPPFLAGS+= -std=c99 so tools can build on systems where the
system compiler doesn't default to C99 (eg, NetBSD 6.1).
2018-09-25 17:57:33 +00:00
jakllsch a12c8a44e6 return 0 on success of dwiic_i2c_acquire_bus(), not 1 (failure) 2018-09-25 16:29:41 +00:00
christos 285c5abcb8 use the standard code instead of ours 2018-09-25 14:17:49 +00:00
christos 0d38e0d044 no need for our copy of memequal 2018-09-25 14:16:33 +00:00
joerg 0a7ffab4cc Fix spelling of HOSTPROG to not enable NLS for tools build. 2018-09-25 12:34:42 +00:00
joerg e8a46266c8 Don't include NLS for the tools build of xz. 2018-09-25 11:41:35 +00:00
wiz dccb361dc8 Fix wrong macro, use An. 2018-09-25 09:55:41 +00:00
wiz 1e55f34803 New sentence, new line. Use An/Mt. 2018-09-25 09:53:40 +00:00
joerg 5ce009f19c Add missing Makefile.inc for xz tools. 2018-09-25 08:54:58 +00:00
nakayama 276930195c pad(4) mixer has only 1 channel, so return EINVAL in the case other than 1.
This fixes the following strange output of mixerctl(1):

        outputs.master=255,0
        inputs.dac=255,0
2018-09-25 06:55:23 +00:00
nakayama 3718cdade0 Revert to rev.1.53.
I accidentally committed the netbsd-8 branch file in rev.1.54.
2018-09-25 06:53:49 +00:00
ryoon 871fbadad7 Close double quotation mark 2018-09-25 05:57:46 +00:00
joerg 06745fdba1 Update xz entry for 5.2.4. 2018-09-25 05:43:43 +00:00
joerg d548dd2316 Update build glue for xz-5.2.4. Hook up tools version. 2018-09-25 05:42:08 +00:00
joerg a2c9b4d3f8 Revert last change, side effect of old config.h. 2018-09-25 05:41:20 +00:00
joerg 30ba748dec Don't try to generate files we are not interested in. 2018-09-25 05:39:45 +00:00
joerg 2d93964281 Revert to vendor state. 2018-09-25 05:39:19 +00:00
joerg bdd642d725 Update xz import script to reflect inclusion of configure. 2018-09-25 05:38:10 +00:00
kre 3273a8b011 Include list.h so prototypes for funcs exist (appease gcc) 2018-09-25 03:50:58 +00:00
joerg 75cbb3d6e4 Import xz 5.2.4. 2018-09-24 22:36:01 +00:00
jmcneill 716aae48f3 Remove two unused bs handles 2018-09-24 22:22:16 +00:00
kre d7a1218e35 Resolvconf is (can be) used as part of network config during
system installation, so also must confine itself to POSIX specified
test ('[') usage.     Pointed out by roy@ - thanks.
2018-09-24 21:58:11 +00:00
jdolecek 87baea7b5c fix DIOCLWEDGES to at least not fail with ENOTTY due to struct size difference,
but probably more needs to be done to work if any actual wedges are configured
2018-09-24 21:15:39 +00:00
jdolecek d7f371cd0e add support for DIOCGSTRATEGY and DIOCSSTRATEGY 2018-09-24 21:08:08 +00:00
christos d6dadc43cc put back sparccap.c; too hard to iron out the bn_mont stuff. 2018-09-24 20:36:51 +00:00
christos 777e7b79f5 sparcv9cap is a c file. 2018-09-24 20:15:38 +00:00
christos 72ff73fc7e use sparcv9cap.S 2018-09-24 19:50:51 +00:00
christos b4a1544ad5 Remove tests that don't exist anymore in OpenSSL-1.1.1 (We should add the
one ones it adds though :-)
2018-09-24 16:25:24 +00:00
martin 532a170650 Note that we need to clean objdir for the OpenSSL update. 2018-09-24 13:18:35 +00:00
christos ed78d1de0f Don't include the libc CRYPTO_memcmp file (it has a different prototype
now) and it is provided by openssl in C, or use the assembly versions.
2018-09-24 11:03:39 +00:00
christos d06d8258da don't override the sha man page provided by libc. 2018-09-24 11:02:12 +00:00
skrll 4306297022 Call drm_fb_helper_prepare in tegra_drm_fb_init as required.
I can boot a kernel with this

jetsontk1# dmesg | grep fb
[   1.0000580] tegrafb0 at tegradrm0
[   1.0000580] tegrafb0: framebuffer at 0x9bc00000, size 1024x768, depth 32, stride 4096
[   1.0000580] wsdisplay0 at tegrafb0 kbdmux 1
jetsontk1#
2018-09-24 09:25:14 +00:00
maxv a78a9e9df0 Don't go beyond start(). 2018-09-24 05:47:33 +00:00
christos 9f80cc1672 sparc has memcmp and cpuid 2018-09-24 00:45:12 +00:00
christos 89abec4180 Add more casts to make clang happy. 2018-09-24 00:42:34 +00:00
kre 9ae2b31ff9 Convert uses of test (aka '[') to use only posix specified forms,
mostly just on general principle...   this resulted in one or two minor
code reformattings to keep 80 char limits - a few needless uses of
quotes ("no" ??) were also removed (sh is not C. strings are strings
without quotes around them...)
2018-09-23 23:48:33 +00:00
kre 2ed63bfbf6 Since we need an int paramater, and uio_resid is size_t cast it to int
to avoid warnings from the ever friendly compiler... (check that size if
in range was already made).
2018-09-23 23:34:45 +00:00
kre 233da0ae1f Open code min() so we don't need to find its prototype ... 2018-09-23 23:30:51 +00:00
kre ebc67df82a Convert uses of test (ie: '[') to use only POSIX specified forms,
just on general principle (all but 3 of the changes are in code that
is commented out...)
2018-09-23 23:16:34 +00:00
kre d0784034e5 Convert to POSIX specified usage of test (even though it would probably
have never been an issue here, it is trivial..., and one of the two
uses that needed changing was (and still is) commented out anyway).
2018-09-23 23:12:21 +00:00
kre e063fa5f54 rc.subr can be used in install images (from sysinst) so must use only
POSIX specified test uses (no -a or -o).   Also, use printf always,
rather than echo (replace echo as a function using echo with one which
uses printf).
2018-09-23 23:02:39 +00:00
christos 9d109c93ae we provide memcmp and rdtsc 2018-09-23 21:44:01 +00:00
christos d99d513f3c Kill stack protector warnings.
XXX: need to understand why gcc complains; it is not obvious to me.
2018-09-23 21:43:00 +00:00
rmind 655dfdea1f nvlist_copyin: fix the flag handling. 2018-09-23 21:35:26 +00:00
nakayama 1950bffe53 pad(4) mixer has only 1 channel, so return EINVAL in the case other than 1.
This fixes the following strange output of mixerctl(1):

	outputs.master=255,0
	inputs.dac=255,0
2018-09-23 21:18:30 +00:00
jmcneill 76af637362 Support rescan and child detachment 2018-09-23 19:32:03 +00:00
rmind 6bb96d27de libnv: add a wrapper around free(9) since in FreeBSD it can take NULL. 2018-09-23 19:07:10 +00:00