254569 Commits

Author SHA1 Message Date
mrg
05bf8f96a1 mknative-gcc for some GCC 5.5. c++config.h is wrong so far. 2017-11-13 19:24:32 +00:00
jmcneill
c765828fb4 Enable Allwinner NAND flash support 2017-11-13 17:37:47 +00:00
jmcneill
024863ad80 Use nand_attach_mtdparts 2017-11-13 17:37:02 +00:00
jmcneill
10a1f0e4b0 Add support for dynamic flash partitions 2017-11-13 17:36:39 +00:00
jmcneill
40b9d3ee01 Add support for defining partitions using a Linux-style "mtdparts" string. 2017-11-13 17:35:58 +00:00
jmcneill
901d1d46d1 add NAND module clock 2017-11-13 15:01:16 +00:00
jmcneill
6a8980245d sunxinand(4): Add driver for Allwinner NAND Flash Controller. 2017-11-13 14:44:08 +00:00
jmcneill
f05a5fba2b Correct ecc block size for sw ecc case 2017-11-13 14:14:25 +00:00
jmcneill
07886faf0a Keep the controller enabled when unselecting, otherwise IO fails. 2017-11-13 13:47:16 +00:00
martin
29d0127ff7 pcommitintrin.h has been removed from gcc 5.5 2017-11-13 12:42:26 +00:00
martin
c4d8205949 Fix what looks like a merge botch. 2017-11-13 11:49:16 +00:00
nakayama
eafc5bd35a Don't write a 1 to the read only RIRR bit in the IOAPIC redirection
register to fix "tlp0: filter setup and transmit timeout" observed
on Hyper-V VMs with the Legacy Network Adapter.

From OpenBSD via PR kern/49323:

 https://marc.info/?l=openbsd-cvs&m=146718035432599&w=2

| Modified files:
|	sys/arch/amd64/amd64: ioapic.c
|	sys/arch/amd64/include: i82093reg.h
|
| Log message:
| Don't write a 1 to the RIRR bit in the IOAPIC redirection register. This bit
| is R/O, and although it should not matter what value is written there,
| Hyper-V's emulated IOAPIC interprets a write of 1 in some unexpected way and
| subsequently blocks interrupt delivery. This primarily manifests itself as
| de(4) timeouts when using Hyper-V VMs with the "Legacy Network Adapter"
| interface.

Tested both amd64 and i386 on Client Hyper-V on Windows 10.
2017-11-13 11:45:54 +00:00
wiz
59808eaabc Remove Tn. 2017-11-13 09:11:16 +00:00
wiz
3c567052a2 Bump space for previous. Formatting fix. 2017-11-13 09:10:47 +00:00
wiz
9bffd7322c Sort errors. Remove superfluous macros. 2017-11-13 09:10:37 +00:00
wiz
52866beff8 Bump date for previous. 2017-11-13 09:09:28 +00:00
wiz
5b65709e5e Remove Tn. 2017-11-13 09:04:57 +00:00
mrg
755ba2c025 note GCC 5.5 exists and has been imported. 2017-11-13 08:56:54 +00:00
mrg
3141ce7b36 update netbsd version. 2017-11-13 08:47:24 +00:00
mrg
ea67e31f69 merge GCC 5.5.0 in gcc.old. 2017-11-13 08:05:16 +00:00
mrg
f6d92a9fbc import GCC 5.5 into gcc.old. 2017-11-13 07:46:18 +00:00
mrg
d011ddea5c regen for gcc 5.5. 2017-11-13 07:21:17 +00:00
wiz
80759ca066 Remove superfluous word in comment. Noted by Geoff Wing. 2017-11-13 07:06:49 +00:00
rin
d3727deea0 Protect iconv stuffs by USE_WIDECHAR in addition to USE_ICONV. 2017-11-13 04:21:55 +00:00
rin
4a32e20dee Sorry, remove illegal indents. Real fix for build with USE_WIDECHAR != "yes". 2017-11-13 04:09:41 +00:00
rin
66231ee6b4 - Add -Wno-unused and -Wno-unsequenced for gcc and clang, respectively.
This is because encoding conversion macros yield such like:

    #define FILE2INT5(sp,buf,n,nlen,w,wlen) (w = n, wlen = nlen, 0)

- Silence gcc warnings on nonliteral arguments for snprintf(3) in v_increment.c,
  that are overlooked for swprintf(3) in the case of USE_WIDECHAR == "yes".
2017-11-13 02:33:13 +00:00
riastradh
5c2260bb40 Missed a spot: preserve known_mpsafe = (level != IPL_VM).
Noted by kre -- sorry!
2017-11-13 02:12:29 +00:00
rin
2b97f00020 Use mvwchgat(3), which is not a macro in general (and in our case). 2017-11-13 01:51:47 +00:00
rin
aee2cbfef0 Make sure to cast arguments of ISFOO and TOFOO macros into UCHAR_T. 2017-11-13 01:40:37 +00:00
rin
94d00a62d3 Use ISBLANK macro instead of isblank(3). 2017-11-13 01:37:48 +00:00
rin
0446123c92 Remove duplicate definition for ISUPPER.
No binary changes.
2017-11-13 01:34:59 +00:00
rin
ed21979a9e Apply the previous fix to tre_regwexec(). 2017-11-13 00:53:05 +00:00
riastradh
7c300f1a3c Explicitly mark mb(9) as deprecated, as it has been for a decade. 2017-11-12 21:20:20 +00:00
riastradh
12e61181b2 Replace xref mb(9) by xref membar_ops(3). 2017-11-12 21:14:33 +00:00
riastradh
549823fbb3 Xref locking(9). Xref membar_ops(3), not mb(9). 2017-11-12 21:07:15 +00:00
christos
9b217b091f check more eo, initialize shift, remove useless variable. 2017-11-12 20:56:37 +00:00
riastradh
227d009714 Apply same treatment to cv_timedwaitbt. 2017-11-12 20:04:51 +00:00
riastradh
b73d4f4f93 Rework cv_timedwaitbt documentation and example code. 2017-11-12 20:04:28 +00:00
riastradh
4800a332d3 Clarify interpretation of timeout/epsilon in cv_timedwaitbt. 2017-11-12 19:46:34 +00:00
riastradh
fb80ba02bd Define hz2bintime = ms2bintime o hztoms. 2017-11-12 19:46:06 +00:00
christos
ac02d96ecd PR/52671: Ralph Geier, return the wide character when changing case (because
it could be wide).
2017-11-12 16:33:31 +00:00
rin
5d08a38941 Make REG_STARTEND for tre_regcomp() working actually:
- correct string length
- shift pmatch after pattern matching
- check validity of arguments
Do the same thing for tre_regwcomp()
2017-11-12 16:10:59 +00:00
rin
2d83cf0dc9 _POSIX_VDISABLE exceeds CHAR_MAX. We thus need to cast it to CHAR_T for the
case where USE_WIDECHAR != "yes", i.e., CHAR_T is char.
2017-11-12 15:33:03 +00:00
rin
b72c72dd34 db_recno_t aka recno_t is uint32_t 2017-11-12 15:27:53 +00:00
rin
b6e834eb55 No need to cast endp in both cases of USE_WIDECHAR == "yes" nor "no".
Note that RCHAR_T is intended to use for bundled regex, not for nvi itself.
2017-11-12 15:26:33 +00:00
rin
b2095b2c80 Fix argument type of put() in common_extern.h 2017-11-12 15:23:51 +00:00
rin
4cf2a28bf8 Add missing encoding conversion before printing it. 2017-11-12 15:22:09 +00:00
tsutsui
606f0efaf4 Explicitly set NOPIE. GOT seems problematic on elf2aout(1) conversion.
Fixes silent hangup of luna68k boot.
Should be pulled up to netbsd-8.

Current bsd.own.mk sets NOPIE in case of BINDIR=/usr/mdec for standalone
programs and in luna68k case it's defined in ../Makefile.inc.
However, many bootloader Makefiles include bsd.own.mk first to override
CFLAGS etc. and Makefile.inc is not included (so BINDIR is not set) yet
at the point.
2017-11-12 08:24:37 +00:00
tsutsui
6dd94d2a84 Restore a local change (in rev1.4) that was lost on zlib 1.12.10 merge.
The rev 1.4 changelog:
> Disable a sanity check output buffer != NULL in _STANDALONE case.
> Some kernels are loaded at address 0x0 by bootloaders and
> output buffer address could be zero in such case.
>
> Fixes "read text" errors on loading install floppy of NetBSD/news68k 4.0,
> reported by KIYOHARA Takashi on port-news68k.

This problem may also affect other m68k ports which use a gzipped install
kernel and kernel text address located at PA 0x0.

Should be pulled up to netbsd-8.
2017-11-12 07:55:05 +00:00
msaitoh
c1cc3cb6de Remove obsoleted comment. This comment should have been removed in rev. 1.97. 2017-11-12 05:11:36 +00:00