Commit Graph

271714 Commits

Author SHA1 Message Date
christos
fa69ba79e0 match ifdefs with stats.c atomic selection 2019-11-28 00:18:36 +00:00
uwe
3295b861c7 Use .open/.write instead of .tm to emit TOC. 2019-11-28 00:06:39 +00:00
uwe
1d838ef35a Don't repeat the TOC file name, define a string. 2019-11-27 23:57:41 +00:00
uwe
c36ad7aef8 Don't open-code .tm calls to emit TOC entries.
Hide it in an .mktoc macro so that we can switch the way we generate
TOC more easily.
2019-11-27 23:53:01 +00:00
uwe
976914c39a Do not pass common/macros on the command line as input.
common/main already sources them, so there's no point to process the
file again *after* the document has been formatted.  Put it to SRCS so
that we still depend on it.
2019-11-27 23:19:13 +00:00
jmcneill
21a1e07fe1 Fix inverted ti,needs-special-hs-handling property logic and enable EDMA support 2019-11-27 23:03:24 +00:00
jmcneill
56ee1762fb Fix mmc and timer indexes. 2019-11-27 23:02:54 +00:00
uwe
4e164a8536 Don't lose groff's stderr when creating TOC.
Divert only the .Ti lines to the TOC file.  Keep the rest, it may
contain useful messages (like the empty line bug in macros that was
messing up page numbers).

TODO: Since we already depend on groff extensions, we should just use
.open/.write to emit the TOC directly.  But commit this for now in
case I run out of round tuits.
2019-11-27 22:41:41 +00:00
uwe
8646816a6e Add missing backslash at the start of conditional input.
That avoids an empty line in the input (which didn't look empty, but
for troff it really was) that causes a break.

I don't remember enough linear algebra to understand what happened,
but that also fixes off by one in some page numbers in the TOC.
2019-11-27 21:37:27 +00:00
joerg
460fa970c1 Add a hack for qemu/macppc. OF_finddevice calls will crash depending on
the boot loader and kernel being used. This patch allows using
-prom-env qemu_boot_hack=y to disable the lookup.
2019-11-27 21:07:32 +00:00
uwe
7e8735ca50 It's KRUPS not GENERIC-KRUPS. 2019-11-27 20:58:25 +00:00
ad
79ec83719f Don't try to IPI other CPUs early on. Fixes a crash on sparc64. Thanks
to martin@ for diagnosing.
2019-11-27 20:31:13 +00:00
maxv
70ac726582 localify 2019-11-27 19:21:36 +00:00
uwe
aa4a633943 Make .Te and .To also emit .Ti with quoted arguments.
I missed them b/c I tested on sparc notes and sparc/install is stuck
in the 90s and doesn't include common/sysinst.  Now that all emitted
.Ti have properly quoted arguments we can revert TOCPROC to simple
grep.

While here convert .Te and .To to also use $* so we we can also drop
quoting from their calls in common/sysinst now.  Don't actually drop
those quotes yet though, as we probably can further simplify the call
sites by emitting the headings automatically instead of duplicating
them.
2019-11-27 19:07:31 +00:00
christos
d5fb362f78 new terminfo 2019-11-27 19:04:45 +00:00
christos
8dc6c738dd simple import script 2019-11-27 19:00:25 +00:00
christos
bd9bf8b634 merge our changes 2019-11-27 18:58:57 +00:00
uwe
f8fceea814 Undo the .Ss2 quoting hack, the macros can now handle it. 2019-11-27 18:34:56 +00:00
christos
81bb75a321 Use strtoi instead of atoi() to catch bad input (Alexander Kuleshov) 2019-11-27 17:56:08 +00:00
martin
11ec07e83b When creating the TOC file, strip all incoming double quotes, but output
quotes around the third arg of the generated Ti macro invocation.
This fixes the TOC in non-html output. Pointed out by kre.
2019-11-27 15:58:12 +00:00
msaitoh
509697f3cf - Simplify sc->mii_anegticks setting. Same as FreeBSD.
Don't set the default value not in the attach function. Instead, set the
  default value (MII_ANEGTICKS) first in the beginning of the
  mii_phy_add_media(). The function already has the code to change the value to
  MII_ANEGTICKS_GIGE if it's gigabit capable.

- Remove extra pmf_device_register() call. It's done in mii_phy_add_media().
2019-11-27 10:19:20 +00:00
martin
a4dc321947 More cleanup:
- simplify TOC handling and remove arg limit (from uwe)
 - use Lk with explicit anchor text in some places
 - do not allow official release builds when we can not derive the
   proper date from the buildid
2019-11-27 09:29:25 +00:00
rin
cad5caa81a Add support for PT_[GS]ETXMMREGS requests for COMPAT_NETBSD32 on amd64.
For this purpose, PT_[GS]ETXMMREGS are added to amd64/ptrace.h. These
are intended for internal usage for COMPAT_NETBSD32, and therefore not
exposed to userland.

Thanks to kamil, mgorny, and pgoyette for their kind review!

XXX
pullup to netbsd-9
2019-11-27 09:16:58 +00:00
rin
5c7b51812a Rename process_machdep_validxstate() to process_machdep_validfpu(), as
this function will be used to check validity of XMM registers also.
2019-11-27 09:08:14 +00:00
rin
0ba7a22a4d Use bool for "write" in ptrace_machdep_dorequest() for clarity.
No functional changes.
2019-11-27 09:01:59 +00:00
rin
1e413be51e Fix copy-paste in comment. No binary changes. 2019-11-27 08:56:00 +00:00
msaitoh
cb48b5fbd4 Print dmesg correctly. 2019-11-27 08:53:32 +00:00
hkenken
af6f2f7b13 Remove GPIO driver attach defer. 2019-11-27 07:26:08 +00:00
maxv
9684bbd4f4 Add a small API for in-kernel FPU operations.
fpu_kern_enter();
	/* do FPU stuff */
	fpu_kern_leave();
2019-11-27 06:24:33 +00:00
christos
9191368464 new bind (tcp DoS security fix) 2019-11-27 05:50:26 +00:00
christos
1dc39bd675 merge bind 9.14.8 2019-11-27 05:48:39 +00:00
msaitoh
49dc6e359a Regen. 2019-11-27 03:47:05 +00:00
msaitoh
b6fd55ae05 - Add Xeon D-1500 NTB-secondary
- Add Xeon D NS QuickData DMA channel 0-7
2019-11-27 03:45:54 +00:00
tkusumi
392c1668b8 autofs: Use NULLVP for NULL vnode
I originally used NULL for NetBSD autofs, but it got mixed up with
NULLVP when merged with NetBSD.
2019-11-26 16:17:31 +00:00
gson
8b9242afb5 Change 0x%jx -> %#jx as suggested by christos. 2019-11-26 10:34:16 +00:00
jmcneill
7bfa6b737a Fix IFF_ALLMULTI handling. 2019-11-26 10:33:19 +00:00
gson
88b2e353f0 Convert debug printfs to usbhist. 2019-11-26 10:24:17 +00:00
kre
2dbb2da38b PR toolchain/54715
Remove duplicate (incorrect) version of the .Lk macro, so the
earlier (fancier and functional) definition survives.

For now simply comment it out.  Sometime later this one should be
removed - but the two have been present since these macros were
first imported (1999) so leaving this visible (but removed) a
little longer shouldn't hurt.

I (believe) this one is the only duplicate of this form.

With this change the Lk macro in doc2html should work as it is designed
(but does not call other macros, and can only have punctuation following
the URL and (optional) anchor args (2nd arg is the anchor if it isn't
punctuation).

Tested by martin@
2019-11-26 08:38:19 +00:00
nisimura
eba052fcea - use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
  selection.
- some style knits; use aprint(9) and modernise callout(9).
2019-11-26 08:37:05 +00:00
msaitoh
913e68ce41 Fix typo in comment. 2019-11-26 08:21:03 +00:00
msaitoh
f0862187dd KNF. No functional change. 2019-11-26 08:19:51 +00:00
msaitoh
c6801c67d4 Move notes about ipgphy(4), jmphy(4), smscphy(4), micphy(4) and alc(4)
from post 9.0 to pre 9.0.
2019-11-26 07:51:35 +00:00
msaitoh
733012a8b0 Remove notes about ipgphy(4), jmphy(4), smscphy(4), micphy(4) and alc(4)
because those will be included in NetBSD 9.0.
2019-11-26 07:17:42 +00:00
hkenken
59f7698778 Change manufacturer to Micron from Numonyx.
N25Q -> MT25Q
2019-11-26 02:41:58 +00:00
nonaka
ed08737b3d hvn(4): Fix incorrect ident when waiting for NVS command response. 2019-11-26 01:46:31 +00:00
ad
781a39cc41 Remove some unneeded memory barriers and reads of the lock word.
Prodded by Mateusz Guzik.
2019-11-25 20:16:22 +00:00
ad
65e19688a4 port-sparc/54718 (sparc install hangs since recent scheduler changes) 2019-11-25 17:24:59 +00:00
tkusumi
9840bf8aa7 autofs: Add missing description for automountd option -T 2019-11-25 16:57:09 +00:00
pgoyette
96d0fb0df9 Improve heading a bit. While here, use quotes to group some of the
words to avoid the 9-arg limitation of .Ss
2019-11-25 15:40:18 +00:00
riastradh
8cfdd6f56f Use cprng_strong, not cprng_fast, for sysctl kern.arnd. 2019-11-25 15:19:54 +00:00