riastradh
eace48406f
EEE: embrace, extend, extinguish; or eastern equine encephalitis
2021-06-18 21:58:20 +00:00
riastradh
076e35792d
if_attach and if_initialize cannot fail, don't test return value
...
These were originally made failable back in 2017 when if_initialize
allocated a softint in every interface for link state changes, so
that it could fail gracefully instead of panicking:
https://mail-index.NetBSD.org/source-changes/2017/10/23/msg089053.html
However, this spawned many seldom- or never-tested error branches,
which are risky to have around. And that softint in every interface
has since been replaced by a single global workqueue, because link
state changes require thread context but not low latency or high
throughput:
https://mail-index.NetBSD.org/source-changes/2020/02/06/msg113759.html
So there is no longer any reason for if_initialize to fail. (The
subroutine if_stats_init can't fail because percpu_alloc can't fail
either.)
There is a snag: the softint_establish in if_percpuq_create could
fail, potentially leading to bad consequences later on trying to use
the softint. This change doesn't introduce any new bugs because of
the snag -- if_percpuq_attach was already broken. However, the snag
can be better addressed without spawning error branches, either by
using a single softint or making softints less scarce.
(Separate commit will change the signatures of if_attach and
if_initialize to return void, scheduled to ride whatever is the next
convenient kernel bump.)
Patch and testing on amd64 and evbmips64-eb by maya@; commit message
soliloquy, and compile-testing on evbppc/i386/earmv7hf, by me.
2021-06-16 00:21:17 +00:00
jdc
d9e6c5d988
Add a bugs section about inserting two cards with different requirements.
2021-06-11 05:10:45 +00:00
dholland
7cec841687
Mention in ums(4) that a lot of usb mice detach/reattcah when not in use.
...
Prompted by PR 56209 but not related to the actual problem there.
2021-06-07 03:04:50 +00:00
nia
6fea7fb4ad
actually, an anchor is needed so the period is appended
2021-06-04 12:43:14 +00:00
nia
081ceff646
remove empty anchor text
2021-06-04 12:29:33 +00:00
nia
e4f8ed1955
re-order initial sections in the order a user is likely to be able
...
to address them. add a section on NPF. attempt to make various things
easier to find.
2021-06-04 12:12:02 +00:00
wiz
306a842f34
Fix typo.
2021-06-04 11:56:47 +00:00
nia
1068f92f08
adjust layout of afterboot(8) to make things easier to find
2021-06-04 11:48:18 +00:00
nia
40ec0685cd
capitalization police, etc
2021-06-04 11:33:18 +00:00
riastradh
96893e54be
uvm(9): Enable swap encryption by default.
...
For machines where the performance impact of swapping before the
system has an opportunity to process `vm.swap_encrypt=0' in
/etc/sysctl.conf, you can disable it again by adding
options VMSWAP_DEFAULT_PLAINTEXT
to the kernel config.
2021-06-03 20:18:06 +00:00
wiz
9fa9487eaa
Remove i386/autoconf(4) and i386/console(4) to x86/autoconf(4) and x86/console(4)
...
Part of PR 36350.
2021-06-03 07:41:26 +00:00
rin
99f59e4c4b
Switch amiga to Xorg server 1.20; wsfb(4) is only graphic driver both for
...
1.10 and 1.20 (Xamiga was gone a long ago...), and there is no reason to
stay with 1.10.
At least, 1.20 works fine on wsdisplay(4) at amidisplaycc(4).
2021-06-03 07:40:48 +00:00
wiz
bf53403ac2
Add commented out ASUSTek USB-N13 B1
...
The urtwn driver attaches, but I didn't have a chance to try if it
actually works.
2021-06-02 22:32:29 +00:00
jmcneill
d3b931e31a
Add support for installing a copy of dtb files to the base dtb directory
...
when DTBSUBDIR is defined.
2021-06-02 10:28:21 +00:00
simonb
e1d48e5a8b
Use <sys/param.h> in the synopsis rather than <machine/param.h>; an MI
...
interface should be pulled in via <sys/...>.
2021-05-31 12:24:15 +00:00
dholland
3ed1486ed0
signal.7: minor clarification. Bump date (to when I wrote the change)
2021-05-30 07:17:01 +00:00
mlelstv
93bbdd3a4c
Add "root" command to pass a root specification.
2021-05-30 06:05:24 +00:00
rin
f49ee5462d
Switch mac68k to Xorg server 1.20. Only available driver is wsfb(4) both
...
for 1.10 and 1.20, and there is no reason to stay with 1.10.
XXX
1.20 works fine on WSFB* kernels with genfb(4), whereas both 1.10 and
1.20 fail for GENERIC* kernels with macfb(4) as some mandatory ioctl's
are missing. It would be better to make genfb(4) default before netbsd-10
is branched.
2021-05-29 12:25:08 +00:00
christos
357005ef43
mips has switched already.
2021-05-27 21:02:56 +00:00
christos
69d62fbbf7
mips64 only works with gcc-10
2021-05-27 20:29:24 +00:00
christos
be33763f2d
switch to MACHINE_ARCH i386 to include xen (thanks mlelstv)
2021-05-27 17:41:28 +00:00
christos
e5a1a244b0
Switch "xen" to gcc 10 too, otherwise xen kernel builds fail because they
...
"think" we have gcc-9 where we have gcc-10 in reality (since MACHINE=xen),
and we don't add ${GCC_NO_RETURN_LOCAL_ADDR} COPTS.in_pcb.c
2021-05-27 17:13:20 +00:00
christos
949385b148
remove dup line (thanks rillig)
2021-05-27 11:24:58 +00:00
mrg
d59b5a77d7
sparc raid boot was 2006 (i had it right originally.) noted by jdc.
2021-05-27 07:23:04 +00:00
wiz
13663b19ac
Use \(em. Remove superfluous Pp.
2021-05-27 07:05:26 +00:00
mrg
41b9942230
switch mips* and i386 to GCC 10.
...
arm32 (significant issues remaining), m68k (seems fine, but x68k
needs to reduce support in loadbsd), and sh3 remaining.
2021-05-27 06:58:27 +00:00
mrg
41c1322c84
move the basic history i wrote from raidctl(8) to raid(4), and
...
fix the x86 (thanks simonb) and sparc bootable dates, a couple
of spelling errors.
2021-05-27 06:53:37 +00:00
christos
adc3e0c6e2
Add date as a tool
2021-05-26 20:21:25 +00:00
yamaguchi
f0101d0e08
Add a new link-aggregation pseudo interface named lagg(4)
...
- FreeBSD's lagg(4) based implementation
- MP-safe and MP-scalable
2021-05-17 04:07:41 +00:00
nia
694dad1773
wskbd.4: document neo layout
2021-05-11 14:51:34 +00:00
rin
735b9693ea
PR port-mvme68k/56146
...
Build wrtvid as tools.
2021-05-06 13:23:36 +00:00
christos
88ec8e1e1c
Fix code example (from RVP)
2021-05-04 17:51:55 +00:00
christos
87874d0971
Fix incorrect structure name (Rocky Hotas)
2021-05-04 17:47:51 +00:00
nia
719c9c8c6e
intro.7: add missing entries
2021-05-01 07:41:14 +00:00
christos
a2d5970e99
Mention that check-names is now the default.
2021-04-30 16:12:18 +00:00
bad
eda596189c
enable sun8icrypto on Allwinner H3 too.
...
Allwinner H3 needs a slower mod clock according to the Linux driver.
tested on NanoPi R1.
thanks jmcneill@ and riastradh@ for advice.
XXX pullup-9
2021-04-28 16:57:05 +00:00
thorpej
314209004d
Update autoconf(9) for recent autoconfiguration changes.
2021-04-28 00:49:22 +00:00
nia
5783e20041
add a man page for sun8icrypto(4)
2021-04-27 21:13:38 +00:00
mrg
842d17106a
xorg-server 1.20.11 is now current.
2021-04-27 04:02:09 +00:00
christos
ef70f9b69b
Revert the AFLAGS change since it affects kernels.
2021-04-26 00:38:23 +00:00
christos
617e25cc45
make MACHINE_MIPS a boolean not a condition
2021-04-25 21:55:58 +00:00
rin
3fce5ffb9d
Add missing \ for previous.
2021-04-25 15:33:15 +00:00
christos
8c4355e24e
- since we are using regex already, shorten by merging arm and mips entries
...
- add a MACHINE_MIPS64 macro shorthand
- pass -m{soft,hard}-float to the assembler when we are passing it to the
compiler
2021-04-25 14:32:20 +00:00
mrg
9aab5f6a62
switch powerpc and arm64 to GCC 10.
2021-04-25 08:01:54 +00:00
nia
d6f5a14b2b
these sysctl variables were removed
2021-04-25 05:52:22 +00:00
nia
4986201e82
update information
2021-04-24 07:12:17 +00:00
rin
1062ebcd31
Capitalize /EFI and /EFI/NetBSD as usual. Both are case-insensitive although.
...
Maybe not worth bumping dates...
2021-04-22 01:36:25 +00:00
skrll
eea8ca29ae
Switch hppa to gcc 10
2021-04-18 20:32:49 +00:00
mlelstv
34c5ec62b8
Use GCC10 for all amd64 including XEN kernels.
2021-04-17 09:39:33 +00:00