Commit Graph

231930 Commits

Author SHA1 Message Date
skrll
74ec17a2af Another section to delete when converting elf -> a.out 2014-11-25 12:01:18 +00:00
ozaki-r
9341145987 Fix wrong expected outputs
IP addresses in the expected outputs looks reversed (in byte order).
It seems the expected outputs had been generated based on source code
with a bug and the bug was fixed by a commit titled "#534 destination
list hashing not endian neutral" by darrenr@.
2014-11-25 08:25:46 +00:00
martin
f00316cced Explicitly set LOADADDRESS, the linker script hack is overriden by
command line arguments now.
2014-11-25 07:42:35 +00:00
macallan
bc8fb6d4a3 fix _MTC0_V0_USERLOCAL for _LP64 as well
ok matt@
2014-11-25 05:28:26 +00:00
msaitoh
c36aa68bf4 Add note about the variations of Intel gigabit Ethernet controller. 2014-11-25 05:05:16 +00:00
macallan
33218c6f53 remove some cargoculted goop 2014-11-25 04:55:13 +00:00
nonaka
743ec1652d avoid NULL pointer dereference when acpivga isn't attached. 2014-11-25 03:31:12 +00:00
jmcneill
6eceb7f535 Change the "mDNSPlatformRawTime went backwards" message from LogMsg to
debugf. It's not that interesting, as it is comparing the results of two
gettimeofday() calls.
2014-11-25 02:29:57 +00:00
jmcneill
67e121920b - Write the correct value to the ctrl register to restart the watchdog.
Watchdog restart bit is 0 not 1, and we need to write a key as well.
- Add A31 support.
2014-11-25 00:06:32 +00:00
joerg
1cca922b35 iscsi_attrs is not used when iscsi(4) is compiled into the kernel. 2014-11-24 21:49:17 +00:00
prlw1
dccbfddf17 Trivial build fix for no options SYSCTL_INCLUDE_DESCR case, to
avoid -Werror.
OK christos@ and riastradh@
2014-11-24 17:29:02 +00:00
christos
94783bbf05 knf, no functional change. 2014-11-24 15:43:21 +00:00
christos
8a88bf6a6c Don't read past the end when the data is exactly the right size. Reported
by tedu @ openbsd in tech-userlevel. Thanks!
2014-11-24 15:41:18 +00:00
christos
625ac095d3 Fix ptrace %rcx corruption when pthread_errno() is used. Small example:
#include <sys/types.h>
    #include <stdio.h>
    #include <sys/ptrace.h>
    int main(void) { ptrace(18, getpid(), NULL, 0xabcd); }
The -lpthread cases pases 0 instead of 0xabcd
2014-11-24 15:33:18 +00:00
tsutsui
4b574ec157 Terminate messages with a newline so that dialog box won't overwrite messages.
Should be pulled up to netbsd-7 (and netbsd-6) branches.
2014-11-24 15:22:59 +00:00
skrll
64094923b4 Use TPIDRPRW_IS_CURLWP as it's a slight code reduction and performance
improvement.
2014-11-24 12:53:23 +00:00
pettai
bc643a57c2 fix krb5_pwcheck, remove dot from htmlman 2014-11-24 12:51:23 +00:00
pettai
41a7dcd863 and html3 type too 2014-11-24 12:20:20 +00:00
pettai
2674f52973 correct cat3 man type 2014-11-24 12:14:40 +00:00
pettai
985ba9927f Add cat3 and html3 entries as well... 2014-11-24 11:19:45 +00:00
pettai
a1c8bedc0b Added new kadm5_pwcheck.3 MLINKS entries 2014-11-24 11:01:07 +00:00
pettai
6d6144cda0 Add MLINKS 2014-11-24 10:49:27 +00:00
skrll
6f302e3f17 Simplify the NAK holdoff change. 2014-11-24 10:14:14 +00:00
tsutsui
2c3ae0c218 Regen config files from GENERIC.in rev 1.109 by makeconf:
> Shrink GENERIC and enable options MODULAR instead, as other poor m68k ports.
>
> This allows all (at least ATARITT and FALCON, which have certain users)
> gzipped kernel binaries put into 1440KB 2HD floppy so that users can
> load these kernels on the native TOS using LOADBSD.TTP utility for
> installation.  Note SMALL030 kernel doesn't include any Ethernet
> configuration and requires CD-ROM or other removable disks.
>
> Should be pulled up to netbsd-7.
2014-11-24 08:29:26 +00:00
tsutsui
1083772d09 Shrink GENERIC and enable options MODULAR instead, as other poor m68k ports.
This allows all (at least ATARITT and FALCON, which have certain users)
gzipped kernel binaries put into 1440KB 2HD floppy so that users can
load these kernels on the native TOS using LOADBSD.TTP utility for
installation.  Note SMALL030 kernel doesn't include any Ethernet
configuration and requires CD-ROM or other removable disks.

Should be pulled up to netbsd-7.
2014-11-24 08:23:48 +00:00
tsutsui
38dea050c6 Disable "OS bootversion check" on crunched binaries for installation media.
This oscheck() function seems implemented to check compatibility
between bootloaders and /netbsd kernel, but checking /netbsd using kvm(3)
doesn't make sense on installation or even future cross builds, and
probably we will never bump bootloader version without compatibility
per recent 14 years history.

This works around overflow of 1440KB 2HD sysinst.fs, and would also be
worth to pullup to netbsd-7.
2014-11-24 08:08:23 +00:00
msaitoh
6712ad7081 Add PCIe CRS Software Visibility bit. 2014-11-24 07:53:43 +00:00
tsutsui
7839e5ad38 Specify -fno-strict-aliasing as a temporary workaround for gcc48.
The existing abcksum() also violates strict-aliasing rule
(while current gcc48 doesn't warn it) and fixing all violations
strictly requires whole reorganization of boot sector structures.
But it won't happen soon and this MD installboot should be integrated
into MI installboot(8) in future, and it requires whole overhaul anyway.
See long discussion in source-changes-d@ for details.

Should be pulled up to netbsd-7 if we switches m68k to using gcc48.
2014-11-24 07:52:04 +00:00
tsutsui
e21ac01aa6 Revert previous again.
There are claims that it still violates strict-aliasing rule and
it is no sense to just appease compiler by incorrect implementation.
2014-11-24 07:34:45 +00:00
christos
a48f666bb3 avoid shadowing a new global. 2014-11-24 04:06:13 +00:00
christos
a27531bc87 Print the shared lock(s) before we panic, to aid with debugging. 2014-11-24 02:36:31 +00:00
christos
43dbf6a651 Don't return early when the incorrect size is passed to some of the
ptrace actions. Leaves locks dangling and causes panics with lockdebug.
XXX: Pullup 7
2014-11-24 02:34:04 +00:00
riastradh
1c5f6cac84 Fix bounds checking in hdmi_infoframe_header_pack (PR kern/49411). 2014-11-24 01:27:07 +00:00
jmcneill
8c78a09f95 Set GMAC pin drv level 3 on A31 2014-11-23 23:05:19 +00:00
jmcneill
f46fabee94 Let pinsets override the default multi-driving select level. 2014-11-23 23:04:58 +00:00
matt
0c8fe4cc79 Fix bus_dmamap_sync usage. 2014-11-23 22:42:14 +00:00
snj
6479d57f85 Fix pasto: BPI.local, not CUBIEBOARD.local 2014-11-23 20:02:37 +00:00
christos
3c3f7bb88a - generate the list of disks only once and select from them later
- don't generate empty/useless files when disklabel or dkctl don't have data
2014-11-23 16:36:03 +00:00
riastradh
70976b8e2d Back out previous, fix PR kern/49411 correctly.
frame->header.length is not initialized in the vendor packet case.
Instead, make hdmi_infoframe_header_pack take the packet length and
subtract the size of the header when packing the header.

(Could make it take the payload length instead, but for callers it is
more convenient to have a name for the whole packet length.)
2014-11-23 16:16:29 +00:00
riastradh
fb9a4560bd Use correct length for hdmi_infoframe_header_pack in <linux/hdmi.h>.
Fixes PR kern/49411.
2014-11-23 16:07:10 +00:00
christos
aeb66be189 - pass the proper argument vector so that subcommands can use getopt.
- add -q and -e for listwedges.
2014-11-23 15:43:49 +00:00
jmcneill
a6b86496f0 The SoC RTC works on this board but does not seem to be hooked up to the
battery. Thankfully, there is a PCF8563 attached to TWI2 at address 51h,
so use that instead.
2014-11-23 13:42:06 +00:00
jmcneill
77165bfb6b Don't assume that U-Boot has enabled the TWI clock. Also, for A31, set
the "iflg-rwc" device property for gttwsi.
2014-11-23 13:39:58 +00:00
jmcneill
e96eca77a3 On Allwinner A31 you need to set the CONTROL_IFLG bit to clear it. Add
a "iflg-rwc" property to enable this behaviour.
2014-11-23 13:37:27 +00:00
jmcneill
c7b9f2a541 When this code was split from dev/pad, the "volume" member size was changed
from u_int to uint8_t. This had the unfortunate side-effect of introducing
an integer overflow when adjusting samples as the largest type used was now
int16_t. This change copies the volume level to a temporary u_int and uses
that in the calculation. Should fix recent failures with the
dev/audio/t_pad/pad_output test.
2014-11-23 12:23:25 +00:00
martin
2d00f56cae Revert previous change to dwc_gmac_txintr() - while it looks strange at
first sight (and sorry I didn't spot it when reviewing), it is a small
optimization and actually correct.
Add a comment explaining it.
2014-11-23 11:08:16 +00:00
ozaki-r
87318503e5 Pull workqueue_destroy out of sme->sme_mtx
workqueue_destroy may sleep so we shouldn't run it with holding a mutex.

Requested by riastradh@.
2014-11-23 10:00:20 +00:00
skrll
17576ebebe Fix TPIDRPRW_IS_CURLWP builds.
A MULTIPROCESSOR kernel requires TPIDRPRW_IS_CURCPU.
2014-11-23 09:05:23 +00:00
christos
e79caf8a7d avoid shadowed variable 2014-11-23 02:15:52 +00:00
agc
996632d6d1 Since the netpgpverify rewrite to have no external pre-requisites, the
output format for signatures has changed cosmetically (mainly
whitespace changes).  Re-format all the test cases so that the tests
now pass again with the new output format:

	Tests root: /usr/tests/usr.bin/netpgpverify

	t_netpgpverify (1/1): 2 test cases
	    netpgpverify_dsa: [0.261980s] Passed.
	    netpgpverify_rsa: [0.237469s] Passed.
	[0.509571s]

	Summary for 1 test programs:
	    2 passed test cases.
	    0 failed test cases.
	    0 expected failed test cases.
	    0 skipped test cases.
2014-11-23 01:56:35 +00:00