Commit Graph

239806 Commits

Author SHA1 Message Date
christos
d075aff38a disable code that does not work for sun2/coldfire 2015-12-29 16:02:37 +00:00
christos
ed74e51b8a Holiday food satiation. 2015-12-29 14:51:38 +00:00
pgoyette
e04dc48269 Now that the table of auto-loadable syscalls is per-emulation, make sure
that the rump-kernel has its own list.  Otherwise, missing syscalls won't
trigger a module auto-load.

This commit finishes the work to get tests/lib/librumphijack/t_tcpip
nfs_autoload test case working again after 16 months of failures!  (see
PR bin/49153).
2015-12-29 10:22:05 +00:00
pgoyette
8125537222 Since we're expecting to autoload modules here, make sure that the
kernel (or rump-server) has autoload enabled.

This should finish fixing PR bin/49153

XXX The test still does not run successfully, due to another bug that
XXX was recently introduced.  This second bug is being worked on.
2015-12-29 07:17:19 +00:00
pgoyette
f6b47a4477 Add missing $NetBSD$ tag, and copy License/Copyright from mountd.c
OK christos@
2015-12-29 04:30:43 +00:00
mrg
84411b5891 rewrite the redirection url generation code to use bozoasprintf(). 2015-12-29 04:30:33 +00:00
mrg
c2e98309d5 - convert most asprintf() calls to bozoasprintf().
- don't call getpwuid(0) if we don't need to, or fail it it fails,
  and remove the 'username' member of bozohttpd_t since it is not
  used outside of bozo_setup().
2015-12-29 04:21:46 +00:00
christos
eae3ba3928 fix inverted condition... 2015-12-29 01:58:26 +00:00
khorben
532807571a Correct the example for the port range syntax 2015-12-28 19:32:22 +00:00
ryo
e92ba46909 fix typo. use pmask for SDHC_PRESENT_STATE. 2015-12-28 16:47:11 +00:00
martin
f8bb018f00 Add missing eol-escape 2015-12-28 11:03:36 +00:00
mrg
881b8188de rename bozo_err/bozo_warn/bozo_asprintf to bozoerr/etc.
new rule is that function that mirror libc-style functions get no underscore.
2015-12-28 07:37:59 +00:00
christos
7275494c77 - Don't look for tests in the local directory, we might be running this from
somewhere else.
- Clear MAKEFLAGS so that make(1) behaves as it is supposed to.
2015-12-27 22:26:19 +00:00
christos
b41dd0142f We don't need to declare clock_gettime if we don't have it and we don't need
to __RENAME if we are not NetBSD.
2015-12-27 21:42:09 +00:00
christos
585cc407b7 Override roundup. 2015-12-27 21:40:21 +00:00
christos
da5e76ddef don't re-define __assert. 2015-12-27 21:39:34 +00:00
christos
81dbb529d3 add nbtool_config.h 2015-12-27 21:39:01 +00:00
christos
d941e4fe7e add return 2015-12-27 21:38:46 +00:00
christos
eab6a8b567 libelf has moved. 2015-12-27 21:37:50 +00:00
gson
9fc3aa9688 KSYMS_MAX_ID is too small for i386 kernels built with MKDEBUG=yes,
causing a number of ATF tests to fail.  Increase it by 50%, from 65536
to 98304.
2015-12-27 20:52:25 +00:00
jmcneill
ec8413de65 get fifo depth from fdt, use default clock parent for biu 2015-12-27 20:49:01 +00:00
christos
9c19c47e2d We need at least 68010 or coldfire for fenv. 2015-12-27 19:50:31 +00:00
christos
3b9392e4ad Bump 2015-12-27 19:33:40 +00:00
jmcneill
4cdcad9abe remove DWC_MMC_DEBUG 2015-12-27 18:35:29 +00:00
jmcneill
c7dcf944a1 reduce timeouts, fix clk div calculation 2015-12-27 18:35:12 +00:00
jmcneill
e3c57e7c91 add some extra regs 2015-12-27 18:35:01 +00:00
joerg
4bd09a48ba usage is dead 2015-12-27 12:42:52 +00:00
joerg
608f99aa20 Mark mandoc_asprintf as printf-like 2015-12-27 12:42:17 +00:00
jmcneill
34bb36fc87 make exynos_gpio_fdt_acquire actually work, now dwcmmc properly does card detect for micro SD slot 2015-12-27 12:42:14 +00:00
jmcneill
6f8a66951d wildcard attachments to fdtbus 2015-12-27 12:26:42 +00:00
jmcneill
6e0b285f04 handle active low flag, simplify bank / pin name parsing, no need to panic if bank lookup fails 2015-12-27 12:22:28 +00:00
jmcneill
e2450495a5 update compatible string to match exynos5422-odroidxu3.dts 2015-12-27 12:21:37 +00:00
jmcneill
484b5995c7 update exynosfdt_init to match the devices in exynos5422-odroidxu3.dts 2015-12-27 12:21:12 +00:00
mrg
cff2d95613 several clean ups:
- bozostrdup() gains a request parameter, and uses it to determine
  what sort of error handling is required
- bozo_strdup() dies
- size_arrays() reduced slightly, pushing error handling into the caller
- convert to size_t for some array indices
- bozo_set_pref() and bozo_init_prefs() gain httpd parameters
- apply a bunch of manual CSE to vastly reduce the number of times the
  string "request->hr_httpd" appears.
- CGI parse_header() takes a request not httpd now

XXX: lua glue updated to call bozo_init_prefs() with htttpd parameter,
     but i'm only guessing here.
2015-12-27 10:21:35 +00:00
wiz
00b9885e70 Fix typo. Remove trailing whitespace. 2015-12-27 08:43:51 +00:00
pgoyette
7e70dfdc14 Remove a left-over debugging variable. Fix the build. 2015-12-27 08:21:44 +00:00
mrg
71e7babf6d fix running the testsuite from the build tree 2015-12-27 07:43:39 +00:00
pgoyette
bc9ef90a7d I was right - the output from gpt(8) did grow an extra space character!
Fix the test to expect it.  Test now passes on my local test bed.
2015-12-27 06:53:48 +00:00
pgoyette
738ca054ba When MODULAR kernels grew a MODULAR_DEFAULT_AUTOLOAD option, (in rev 1.98
of src/sys/kern/kern_module.c), the default was "off" for all kernels
including rump kernels.  While many (most?) kernel config files were
updated to include the new option, rump kernels weren't so lucky.  Thus,
rump kernels still had autoload disabled.

This commit uses rump_sysctl to change the module_autoload_on value to
true (ie, enabled) before trying to test if autoloading actually works.

For now, I am _not_ changing the default for all rump kernels.  I'll
leave that for another day, after all appropriate discussion has occurred.
2015-12-27 06:36:36 +00:00
macallan
0d755f15d0 add awiniic* and tve 2015-12-27 06:24:25 +00:00
marty
ae03e518e3 XU4 USB snapshot: Reorganize source files
This is just a skeleton,  not a set of drivers, but the pieces are now
more or less in the right places.
2015-12-27 02:54:12 +00:00
marty
73be4c1664 XU4 gpio clean up acquire code
properly locate the bank in the acquire code.  This may even work.
2015-12-27 02:43:42 +00:00
christos
7c64ebc27c describe the ip6addrctl variables. 2015-12-27 02:42:33 +00:00
pgoyette
9328be7df7 Revert - tested using wrong test case. :( 2015-12-27 01:50:39 +00:00
pgoyette
a161b63780 Update test - the attributes listed by the show command now have a space
in the comma-separated list.

This allows the test to once again pass.
2015-12-27 01:46:24 +00:00
mlelstv
9da52a83e5 Return error in dkopen when dk_open_parent fails. Also change dk_open_parent
to pass error code to caller.
XXX: Pullups
2015-12-27 00:47:47 +00:00
jmcneill
aef4a7dee1 add dwcmmc 2015-12-26 23:14:08 +00:00
jmcneill
430edbd247 Add dwcmmc glue 2015-12-26 23:13:50 +00:00
jmcneill
b934ffb3fb Dump registers on timeout and allow bus glue to override card detect func 2015-12-26 23:13:10 +00:00
jmcneill
74b53f6e7b hook exynos5422 clock support into fdtbus 2015-12-26 22:57:09 +00:00