Commit Graph

18819 Commits

Author SHA1 Message Date
thorpej d7419f65da Add:
HCC - Home Cable Computer
HCCA - Home Cable Computer Adaptor (yes, that is the original spelling)
2023-03-07 01:29:21 +00:00
thorpej 3608dbf34c Document __HAVE_UCAS_FULL and __HAVE_UCAS_MP. 2023-03-06 12:25:06 +00:00
wiz 1df225fdea fix typos 2023-03-06 01:03:45 +00:00
uwe 75fb75f5dc portfeatures(9): the man page for the __HAVE macros
The man page itself is a skeleton/template for now.  Please add short
descriptions and xrefs.  If the target man page doesn't yet document
relevant __HAVE macros (hi, mutex(9)), please add something there,
possibly in a .Sh IMPLEMENTATION NOTES section.
2023-03-06 00:49:31 +00:00
jschauma 160de92249 add CMC (Certificate Management over CMS, RFC5272)
add CMS (Cryptographic Message Syntax, RFC5652)
2023-03-03 15:29:48 +00:00
nia 188cf0e1a1 delete attribution per request of contributor 2023-03-01 21:06:41 +00:00
fcambus 60dcde39a0 Add RTTI (run-time type information). 2023-03-01 15:45:00 +00:00
fcambus cce6686bc2 Add TU (translation unit). 2023-03-01 14:45:26 +00:00
fcambus db76d1da91 Add RAII (resource acquisition is initialization). 2023-03-01 11:12:56 +00:00
fcambus edba1610ca Add IR (intermediate representation) and MLIR (multi-level IR). 2023-03-01 11:08:03 +00:00
thorpej ba9eab13f6 Add NHACP (NABU HCCA Application Communication Protocol) 2023-03-01 04:04:54 +00:00
fcambus 0a454e5a3d Add DWARF (Debugging With Attributed Record Formats). 2023-02-28 20:42:55 +00:00
fcambus 88a2d5c095 Add PE (portable executable).
We have an entry for COFF, so it makes sense to add PE as well.
2023-02-28 19:08:37 +00:00
fcambus 84e6b598fc Add KASAN (Kernel Address Sanitizer). 2023-02-28 16:48:00 +00:00
fcambus be90390822 Add GUS (Gravis UltraSound). 2023-02-28 15:01:53 +00:00
fcambus a967fbeab2 Remove duplicate entry for RCS, keep the capitalized version to match CVS. 2023-02-28 14:32:59 +00:00
fcambus 320e5a87f9 Add GCC (GNU Compiler Collection). 2023-02-28 12:50:49 +00:00
fcambus baff57d7e0 Remove sanitizer mention for CFI, it's a general term. 2023-02-28 08:36:03 +00:00
fcambus f672cebc56 Add PGO (profile guided optimization). 2023-02-27 21:04:43 +00:00
msaitoh c7942c0506 igpio(4): Disable Baytrail and Lynxpoint support. Fixes PR kern/57225.
It seems additional code is required to support Baytrail and Lynxpoint.
Disable those support.
2023-02-27 15:41:41 +00:00
riastradh eecba6ae71 pcq(9): Document memory ordering guarantees. 2023-02-23 03:03:23 +00:00
mrg b52929a613 GCC 10 now comes from gcc.old. 2023-02-20 06:31:09 +00:00
pgoyette c00bcd9083 Add a period at the end of a sentence. 2023-02-16 04:58:21 +00:00
jschauma 062c983c0b exit with EXIT_FAILURE, not 1, as elsewhere 2023-02-14 18:56:10 +00:00
uwe 18b582acb0 services(5): consistently refer to the cdb database
While here, fix a few markup nits.
2023-02-12 22:48:02 +00:00
nia 38cf7bdeec urndis.4: Add OnePlus 5T 2023-02-12 08:45:18 +00:00
uwe 60cc207432 bpf(4): fix couple more nits 2023-02-11 18:03:25 +00:00
uwe 9fc54008d1 bpf(4): fix couple of overlooked markup nits 2023-02-11 12:44:49 +00:00
uwe a9eff7b74b bpf(4): spaces around + in instruction tables
Makes them easier on the eyes.
2023-02-11 12:39:44 +00:00
uwe 6b566ffb7e bpf(4): use nicer glyphs for some operations in PS output 2023-02-11 11:49:02 +00:00
uwe 6a96371d48 bpf(4): make all instruction tables align
Define string max-insn and use it in all tables for the width of the
first column (nroff has variables, shocking, I know).  Define only the
width of the first column, the last column gets all the remaining width.
2023-02-11 11:34:49 +00:00
uwe ab3452b994 bpf(4): use \[<-] instead of <- 2023-02-11 11:02:31 +00:00
uwe 7bd77f6ba6 bpf(4): assorted markup tweaks
This is mostly non-controversial changes to the cargo-culted markup.
While here - add missing .It to BIOCLOCK so that it's not buried in
the text for the previous item and comment out a paragraph about an
ancient SunOS bug.
2023-02-11 02:52:52 +00:00
mrg 8139e6cefc fix code attempting to skip adding "-g" if "-g*" already is used.
in bsd.lib.mk there's a check for "MKDEBUG != no" that will add
-g to CFLAGS (maybe) and to CSHLIBFLAGS (always), given that it
isn't in CFLAGS already.. except the conditional is "||" instead
of "&&" and since the MKDEBUG/NODEBUG checks pass, the CFLAGS
check isn't even performed.

additionally, check CXXFLAGS as well as CFLAGS.

this fixes the attempt to use "-g1" in the llvmrt build, which
fails because the compile lines end up being "... -g1 .. -g ..",
(the "-g" comes from the CSHLIBFLAGS variable in that case.)

this reduces the size of llvm-enabled gallium debug by ~1.5GiB
on amd64.
2023-02-07 04:53:54 +00:00
mrg d9186ff839 bump xorg-server version. 2023-02-07 04:46:00 +00:00
gutteridge a15cb1624e bpf.4: fix a garbled item heading
Make the BIOCSDIRECTION & BIOCGDIRECTION entry like those around it.
2023-02-07 01:17:41 +00:00
christos b703c4f4c2 switch the remainder to binutils 2.39 2023-02-05 14:53:38 +00:00
wiz b17ce4f0d4 stop building and installing xfwp
As proposed on tech-x11
https://mail-index.netbsd.org/tech-x11/2022/12/29/msg002333.html
2023-02-04 16:34:36 +00:00
uwe d1ec716407 devsw_attach(9): Use semantic markup instead of .Em 2023-02-02 14:09:52 +00:00
pgoyette 4667baf400 Fix markup. 2023-02-02 13:25:41 +00:00
wiz 42f5b68c81 Add missing dot in abbreviation. 2023-02-01 20:24:22 +00:00
gutteridge d9df1d8cf6 mutex.9: add a small detail to the history section 2023-02-01 03:27:45 +00:00
thorpej e439aff6b2 Add and entry for the EXAR XR17V354 4-port UART.
From Håkan Engvall.
PR kern/57202
2023-01-29 15:17:51 +00:00
mrg 8c70e5df69 add brotli to x11 src dirs. 2023-01-29 06:55:44 +00:00
jmcneill 78de745f49 Regen 2023-01-28 13:13:17 +00:00
jmcneill e0e5768dcf Catch up to 20 years of HTML and URL changes. 2023-01-28 13:12:16 +00:00
martin 0b45c0a62b Switch sh3 to binutils 2.39 2023-01-28 08:45:11 +00:00
jschauma 2cf07ece9c +ABE attribute-based encryption
+TEE    Trusted Execution Environment
2023-01-26 22:20:16 +00:00
christos 0919373163 add mipsel and m68k to binutils 2.39 2023-01-25 22:36:56 +00:00
christos 6fe6df832c switch sun2 to binutils 2.39 2023-01-25 00:16:50 +00:00
christos f1fd583eb1 switch vax to binutils 2.39 2023-01-24 18:49:29 +00:00
rillig e928d09a9d lint: repurpose the '-d' option to specify DESTDIR
Previously, passing '-nostdinc -isystem $dir' only searched the given
directory but not any compiler-specific directories.

Discovered by fontconfig, which includes <stdatomic.h> from C11, which
lives in /usr/include/gcc-10 instead of /usr/include.

Change the preprocessor options to '--sysroot' instead, to align them
with how the compiler is invoked using build.sh.
2023-01-22 15:20:01 +00:00
martin daf896d550 Switch powerpc over to binutils 2.39 2023-01-21 10:41:51 +00:00
skrll 5b34d6ae8d Switch hppa to new binutils 2023-01-16 20:22:26 +00:00
skrll 99938ff141 Switch RISC-V to new binutils (2.39) 2023-01-16 10:28:09 +00:00
rillig 66c5cce408 bsd.own.mk: replace '!empty' with direct expression
The variables MACHINE and MACHINE_ARCH are guaranteed to be defined,
therefore they don't need to be wrapped in '!empty(...)'.

This is simpler to read and, in case of typos, is more likely to lead to
an error message from make, as a line starting with '!' is interpreted
as a dependency line, while a line using only '==' but not '!=' leads to
a syntax error of the form 'Invalid line type'.
2023-01-15 18:43:49 +00:00
skrll 6b0a473622 Sort in the binutils version selection 2023-01-15 10:54:56 +00:00
skrll 4a8e7ff404 Really switch aarch64 and sparc binutils to 2.39 2023-01-15 10:51:04 +00:00
christos 4b30fcc10f add aarch64 and sparc to binutils 2.39 2023-01-14 14:46:24 +00:00
ryo a7c05bdc7c - add AQC113 and the variants
- fix first appeared version to 9.1. it was backported.
2023-01-14 13:20:40 +00:00
christos 54c53ec240 switch alpha to binutils-2.39 2023-01-13 16:00:33 +00:00
mrg 4ea49518ea bump xorg-server version here. 2023-01-08 00:25:44 +00:00
msaitoh 30015699a5 igpio.4: Update list of supported devices. 2023-01-07 13:56:21 +00:00
christos 19c9d1e0b0 Now that the default page size is 4K again for x86_64 with the binutils
change to default to -z separate-code, remove the previous hack.
2023-01-06 15:48:29 +00:00
jakllsch e337e11c99 more strip(4) removal, this time in kauth(9) 2023-01-05 17:36:53 +00:00
jkoshy 0d31e668bb Move a style recommendation closer to the syntax that it describes. 2022-12-30 21:12:44 +00:00
jkoshy 6257508db4 C99: Suggest using narrow scopes for loop indices. 2022-12-30 17:02:31 +00:00
christos a1b6a6daa3 PR/57147: Andreas Gustafsson: Work around binutils 2.38+ relro
issue with +2M size in every binary by setting max-page-size. This
is the simplest fix; fixing this properly requires a lot more
surgery, and upstream seems uncertain how to fix it properly.
2022-12-30 02:01:42 +00:00
gutteridge 6577dba07a link.5: fix some spelling and grammar 2022-12-29 22:41:36 +00:00
jkoshy d73c699d89 Terminate a sentence with a full stop. 2022-12-29 18:23:37 +00:00
christos a779193674 switch x86 to binutils 2.39 2022-12-28 22:04:46 +00:00
andvar 538257cbb2 rge(4): mention that driver appeared in NetBSD 10. 2022-12-24 00:34:53 +00:00
christos fd84f08286 switch everyone to binutils.old which is now 2.34 2022-12-23 17:25:22 +00:00
nat 111c077e20 Driver for DaynaPORT SCSI/Link (dse.4).
Written by Hiroshi Noguchi, of which an updated version was posted to
port-mac68k in 2001.

Attachments were added to kernel configs for platforms that already had
the Cabletron (se.4) driver added, although other platorms may benefit.

Reviewed on tech-net by Izumi Tsutsui.
2022-12-22 11:05:54 +00:00
mrg 531f45a539 properly prefix ${X11INCDIR} uses with ${DESTDIR}.
this fixes a build issue seen where the host pixman.h was included,
and has been problem ever since tsutsui fixed my original code (from
2008) about 29 months ago.  i'm surprised this has not been seen
anywhere else in that time.

XXX: pullup-10
2022-12-21 20:09:35 +00:00
wiz 4a1e84fe2f Update Unicode tables to 15.0.0.
This is based on the tables provided by perl 5.37.7.
2022-12-21 06:25:35 +00:00
wiz d7bbc7f115 Update Unicode tables.
These tables are for Unicode 14.0.0 using the data provided with
perl 5.36.0.
2022-12-20 23:08:51 +00:00
wiz 9d24b22cba Add NetBSD RCS Id header instead of OpenBSD one. 2022-12-20 23:07:57 +00:00
wiz 17c3d9d43e Update unicode tables.
This version of the file, and the generator script, come from
OpenBSD. The script was written by Andrew Fresh.

The file covers the encodings from Unicode 13.0.0, based on the files
distributed with perl 5.32.1.
2022-12-20 23:06:08 +00:00
mrg 1d2e605e4b bump xorg-server version. 2022-12-19 01:51:29 +00:00
uwe e64f67a0f1 mutex(9): Minor formatting fixes
While here, move the reference to options(4) to the OPTIONS section.
2022-12-19 00:41:45 +00:00
gutteridge a1641d690a mutex.9: fix markup (.Em not .Fn) 2022-12-18 23:38:42 +00:00
msaitoh d4ee246879 Add new "kern.mbuf.nmbclusters_limit" sysctl.
- Used to know the upper limit of nmbclusters.
 - It's read only.
2022-12-16 08:42:55 +00:00
msaitoh 5e7dd0391c lm(4): Add Nuvoton NCT6797D support. 2022-12-16 00:02:28 +00:00
skrll e5352417e4 Trailing whitespace 2022-12-14 12:30:01 +00:00
jschauma 46e9c4b378 +AEAD, HKDF, NMR, SIV 2022-12-08 23:41:22 +00:00
jschauma be1c03c0ec +ROP - return-oriented programming 2022-12-06 15:51:16 +00:00
uwe 6ca370c364 unix(4): Fix/add markup
Untabify examples, .Bd -literal -offset indent doesn't seem to mesh
with tabs nicely in the PostScript output.  The indent is probably not
a multiple a of literal tab width.  This causes a small vertical
misalignment for tab-indented lines, but what's worse - it can cause
an extra tab in some cases (and did here for the unpcbid definition).
2022-12-06 15:06:40 +00:00
jschauma 1afdf5d0df +CSPM - cloud security posture management 2022-12-05 15:00:19 +00:00
brad 50bb9ed19f Split the BMP280 / BME280 driver into common code and create I2C and
SPI attachments.
2022-12-03 01:04:42 +00:00
ozaki-r 1063fff8d4 man, bpf: support loopback interfaces for send 2022-11-30 06:03:41 +00:00
jschauma 8195e6e4c8 be more specific about what /etc/protocols describes
The reference to the "DARPA Internet" seems not quite up to date in 2022,
so moving that to the HISTORY section.
2022-11-29 14:15:01 +00:00
wiz f12c4bfd3a New sentence, new line. 2022-11-23 23:49:23 +00:00
brad e2526a7b7a Use kpause() instead of delay() in the measurement cycle. Try and
derive the proper wait delay for the measurement based upon the over
sampling setting and allow the wait factor multiplier to be adjusted.
2022-11-23 23:45:29 +00:00
christos 984dc262bd Add links to libm (Phil Rulon) 2022-11-23 19:20:34 +00:00
wiz 322123ab76 Fix typos. New sentence, new line. 2022-11-21 23:51:10 +00:00
christos ae082add65 lua libm API from Phil Rulon 2022-11-21 22:01:32 +00:00
brad 9275d9682b Mention the driver for the Bosch BMP280/BME280 2022-11-21 21:29:32 +00:00
brad 068b504f95 A driver for the Bosch BMP280 / BME280 temperature, humidity and
atmospheric pressure sensor.  This is an inexpensive to moderately
expensive chip available from a large number of places.  The driver
supports all aspects of the two chips, except for the repeating read
mode which would allow for sub-second queries, such as fall detection
or perhaps even as an altimeter.  This driver also only supports the
I2C interface and not the SPI interface.

The BME280, the one with humidity, is not fully tested at this point,
awaiting upon a breakout board and may not show proper humidity.
2022-11-21 21:24:00 +00:00
jakllsch 737bafd601 Extend orders(7) with prefixes from Resolution 3 of the 27th meeting of CGPM. 2022-11-19 22:09:21 +00:00
brad bec291176b Mention the AHT20 driver 2022-11-17 20:43:39 +00:00
brad 50bf6d2dfd A driver for the Aosong AHT20 temperature and humidity sensor. While
slow for an I2C sensor it is inexpensive and should work well enough
in most indoor conditions.  All features of the chip are supported.
2022-11-17 19:20:05 +00:00
jmcneill 5e697dbfa9 Remove support for OMAP based Gumstix platforms.
These changes are to prepare for the removal of arch/arm/omap. Support
for Xscale based Gumstix platforms remains.

(If someone wants to resurrect DuoVero and Pepper platforms, it's best
to do that in the GENERIC kernel using FDT.)
2022-10-29 13:10:25 +00:00
andvar a5139dfcb4 fix RCSID. 2022-10-26 22:13:09 +00:00
andvar 730fdfa601 nix double n, i or g in "ing", in comments and documentation. 2022-10-26 22:09:37 +00:00
msaitoh 69e70e08e8 ifq_drops was changed to use uint64_t. 2022-10-25 00:20:36 +00:00
knakahara b54270a1ae Fix PR kern/57037
Be able to change the behavior sending parameter changing routing messages.
When set net.inet6.ip6.param_rt_msg=0, don't send parameter changing
routing messages.
When set net.inet6.ip6.param_rt_msg=1(default), send parameter changing
routing messages by RTM_NEWADDR.
2022-10-24 01:54:19 +00:00
jschauma db13085398 correct tm_sec range to be [0-60]
The previous range introduced in time.h rev1.14 was supposed to account
for a mystical "double leap second", which ultimately never could exist
and was a mistaken interpretation from an early ISO C standard whereby
the possibility of two leap seconds within a year was erroneously
interpreted to mean that two leap seconds could occur at once.
2022-10-23 15:43:40 +00:00
andvar 0436d5a460 s/rastor/raster/ 2022-10-22 19:50:07 +00:00
christos 7e305bebba Explain when the filters are used. 2022-10-21 18:21:56 +00:00
rin 7342bdeab4 Add "Emoji & Pictographs" character definitions from Unicode 15.0.0
(previously 10.0.0):

http://www.unicode.org/charts/

They are classified as PUNCT, which has been used for characters other
than blank, alphabetic, or digit ones.

Glyph widths are taken from "East Asian Width":

https://www.unicode.org/Public/15.0.0/ucd/EastAsianWidth.txt

Characters of "F" or "W" are classified to SWIDTH2, and others are to
SWIDTH1, as usual. See also:

https://www.unicode.org/reports/tr11/

XXX
It would be really nice if someone could check and update characters in
categories other than Emoji...
2022-10-17 11:20:29 +00:00
andvar c3ad0bdd7e fix various typos in documentation and comments.
mainly in words functionality, functional, function.
2022-10-15 21:53:21 +00:00
riastradh b472ed545b vmem(9): Clarify possible failure modes.
Note that vmem_alloc and vmem_xalloc have failure modes -- failing
with ENOMEM despite VM_SLEEP, or importing or sleeping forever --
that appear to be bugs when align/phase/nocross/minaddr/maxaddr are
specified.
2022-10-15 14:54:21 +00:00
ryo 945c4dec66 - Since the example is for a cpu, use MACHINE_CPU instead of MACHINE_ARCH.
- In some cpu, it is necessary to use GOT to make it a PIE,
  which are too complicated as examples, so MKPIE=no by default.
2022-10-14 19:42:13 +00:00
ryo aef5eb5f59 add more examples 2022-10-14 19:41:18 +00:00
msaitoh fe5c532e4d Add NCT679[89] to the supported list. 2022-10-11 02:54:14 +00:00
msaitoh 06769bc743 amdsmn.4: Now support AMD Family 19h processors. 2022-10-02 09:48:39 +00:00
rillig 899c3c9bdc fix documentation for MKLINT
Since share/mk/bsd.own.mk 1.749 from 2013-08-26, MKLINT defaults to no.
2022-10-01 08:55:45 +00:00
jschauma f2346af53e add PFA (please find attached) 2022-09-26 17:55:35 +00:00
riastradh aa1a600547 curproc(9): Rework man page. 2022-09-22 14:02:24 +00:00
rillig 6c259f3957 fix misspellings of 'available' and nearby typos 2022-09-10 12:14:17 +00:00
pgoyette 15e712c966 Add YMMD 2022-09-09 14:16:16 +00:00
pgoyette 0996b25df1 Update to match recent changes in implementation. 2022-09-07 01:18:32 +00:00
wiz ef7e7fa51d Fix logic error in pktq_set_maxlen() description.
Ok thorpej@
2022-09-05 16:42:59 +00:00
wiz 71775cae4f pkgqueue(9): fix some nits, remove trailing whitespace 2022-09-05 09:18:39 +00:00
thorpej 221afdb85b Document the pktqueue interface. 2022-09-04 21:37:50 +00:00
knakahara 9362ee0dbf Add sysctl entry to control to send routing message for RTM_DYNAMIC.
Some routing daemons require such routing message to keep coherency.

If we want to let kernel send such message, set net.inet.icmp.dynamic_rt_msg=1
for IPv4, net.inet6.icmp6.dynamic_rt_msg=1 for IPv6.
Default(=0) is the same as before, that is, not send such routing message.
2022-08-29 09:14:02 +00:00
riastradh f498c30d4a options(4): Clarify MSGBUFSIZE units: bytes. 2022-08-28 14:29:05 +00:00
hgutch ec184f3bfb Change back various occurrences of \*[Le], \*[Ge] (less/greater equal)
and \*(ua (upwards arrow) to literal "<=", ">=" and "^" whenever
appropriate (e.g., in code examples).
2022-08-28 10:48:15 +00:00
knakahara fb9a6b5142 Add sysctl entry to enable/disable to use path MTU discovery for icmpv6 reflecting.
If we want to use path MTU discovery for icmp reflecting set
net.inet6.icmp6.reflect_pmtu=1.  Default(=0) is the same as before, that is,
use IPV6_MINMTU.
2022-08-22 09:25:55 +00:00
brook 99f61d3fde Create bootable images in ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/gzimg.
Release builds for arm platforms create compressed images in
${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/gzimg.  However, in some
cases, e.g., armv7.img.gz, they are not bootable.  Consequently, boot
blocks must be manually installed in the images, which is an extra
barrier for testing systems or adopting NetBSD.  This has prompted
creation of external repositories, e.g., armbsd.org, to host a
collection of bootable images.  However, this does not ease the burden
on developers compiling their own systems; for them, manual
installation of boot blocks is still required.

For arm platforms, etc/etc.evbarm/Makefile.inc contains the commands
used to create system images.  Because installboot(8) can write boot
blocks directly to system images, a loop through possible boards can
create a series of bootable images during the normal build process.

In the case of many arm platforms, installboot(8) uses U-Boot boot
blocks, which are not part of the NetBSD source code.  Developers can,
however, install as many U-Boot boot blocks as desired, either in the
default location of /usr/pkg/share/u-boot or in a set of directories
pointed to by the U-Boot search path, the INSTALLBOOT_UBOOT_PATHS
environment variable.  For each board with an available boot block, a
board-specific bootable image will be created in
${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/gzimg.  If a boot block is
not available, which is the typical situation currently, no additional
image will be created.

This facility creates opportunities to build bootable images for any
number of boards within the scope of a standard release build.
However, that is not required and will not occur without the
intervention of installing U-Boot boot blocks prior to the build.
2022-08-21 15:01:08 +00:00
lukem dac6dcb8de Deprecate extsrc/, EXTSRCSRCDIR, MKEXTSRC
Remove support for building extsrc/:
1. Makefile: remove do-extsrc target.
2. build.sh: remove options -y and -Y extsrcdir.
3. distrib/sets: remove support for extsrc in various tools
   including the options -L ext and -y, and the extsrc sets.
4. doc/BUILDING.mdoc: remove docs for extsrc/, EXTSRCSRCDIR, MKEXTSRC (etc)
5. bsd.own.mk and various Makefiles: remove support for extsrc/,
   EXTSRCSRCDIR, MKEXTSRC.

As proposed on tech-kern and tech-userlevel on 2022-01-07
and followed up on 2022-08-21.
2022-08-21 07:10:03 +00:00
riastradh c920c1ea70 usbnet(9): Clarify how mii functions are used. 2022-08-20 23:50:41 +00:00
riastradh e68ce8c74f mutex(9): Note counterintuitive IPL change releasing spin locks.
No functional change -- documentation only.

Details:

https://mail-index.netbsd.org/tech-kern/2010/11/12/msg009203.html
2022-08-20 14:17:36 +00:00
riastradh a06a044964 usbnet(9): New usbnet_ispromisc(un).
Replaces ifp->if_flags & IFF_PROMISC in multicast filter updates.
2022-08-20 14:08:59 +00:00
skrll 5cc0f8af81 usbd_do_request_async got deleted back in 2013 so remove the commented out
reference to it here.
2022-08-14 19:12:23 +00:00
wiz 68024510e8 Remove Li without effect. 2022-08-13 17:06:55 +00:00
wiz 20da36831f New sentence, new line. 2022-08-13 17:06:38 +00:00
wiz 08b052832f Fix Dd argument. 2022-08-13 17:02:10 +00:00
jandberg c017fe63d1 Update comment about X11 support 2022-08-13 10:53:38 +00:00
riastradh 7ce51081c7 module(9), sysctl(7): Document kern.module.autounload_unsafe. 2022-08-12 15:43:38 +00:00
riastradh 4fd6c3fe81 usbnet(9): Tidy up language about init/rx/tx/stop in man page. 2022-08-12 15:30:41 +00:00
riastradh b377a6075b bus_space(9): Update barrier semantics to match reality and sense.
As proposed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2022/07/16/msg028249.html

tl;dr:
- bus_space_barrier is needed only with prefetchable/cacheable.
- BUS_SPACE_BARRIER_READ is like membar_acquire.
- BUS_SPACE_BARRIER_WRITE is like membar_release.
- READ|WRITE is like membar_sync.
2022-08-12 13:24:37 +00:00
riastradh cc725e3507 viocon(4): New virtio tty driver imported from OpenBSD.
viocon* at virtio?

/dev/ttyVI??

Tested under qemu with:

qemu-system-aarch64 ... \
  -device virtio-serial \
  -chardev socket,path=/tmp/ttyVI00,server=on,wait=off,id=ttyVI00 \
  -device virtconsole,chardev=ttyVI00,name=org.NetBSD.dev.ttyVI00 \
  ...

I updated MAKEDEV.conf to create /dev/ttyVI?? on all ports where it
looks likely to work based on:
(a) having pci or a non-pci virtio attachment,
(b) `qemu-system-$ARCH -M ?' mentioned something resembling the port,
    and
(c) `qemu-system-$ARCH -device virtio-serial' launched without
    complaining about the virtio-serial device.

(Criterion (c) excluded sparc and sparc64.)
2022-08-12 11:15:40 +00:00
knakahara 6fda1d8cb0 Add sysctl entry to improve interconnectivity to some VPN appliances, pointed out by seil-team@IIJ.
If we want to allow different identifier types on IDii and IDir, set
net.key.allow_different_idtype=1.  Default(=0) is the same as before.
2022-08-09 08:03:22 +00:00
riastradh dead83d64a bsd.kmodule.mk: Build modules with KDTRACE_HOOKS if MKDTRACE=yes. 2022-08-07 23:42:09 +00:00
ast 83eeb4a5de Update what has been released by the BSD family during the last
two years; that is, since May 2020 after NetBSD 8.2 was registered
in this file.

Merge some additional information from the FreeBSD and DragonFly
versions that had several updates during this time. Added OpenBSD
and macos release dates for the same interval.

Where some release dates don't match exactly (release vs. announce
date) in the various bsd-family-tree files, assume the respective
flavor to be authoritive for its dates in this file.

Reviewed by: Sergey A. Osokin <osa@NetBSD.org>
2022-08-07 22:43:28 +00:00
riastradh 610f9263f0 sys: Build kernel with -Wno-type-limits.
The type-limits warning is actively harmful because it discourages
writing safe portable overflow detection logic which happens, on some
architectures, to be dead code.
2022-08-03 09:37:36 +00:00
maya 895e74fe94 Enable amdgpu module & firmware on x86
Make it easier to test this one out, add `load amdgpu` before boot netbsd.

XXX there should probably be a drm block in sys/modules/Makefile which
includes aarch64.
2022-07-27 18:29:35 +00:00
pgoyette 2e9e18c305 kern.maxvnodes _can_ be lowered, but not below the number of currently
active vnodes.
2022-07-25 14:46:53 +00:00
riastradh 2578dcd440 bsd.kmodule.mk: Also sync no-address-of-packed-member.
This is not actually a good idea to disable -- it can lead to real
problems -- but let's just make it the same for the kernel build and
module builds.
2022-07-17 14:10:55 +00:00
riastradh 4ab65cda4f bsd.kmodule.mk: Use -Wno-attributes like conf/Makefie.kern.inc. 2022-07-17 13:38:06 +00:00
msaitoh 7e2ec6160c Update supported devices. 2022-07-16 07:25:51 +00:00
mrg d755add21e update for xorg-server 21.1.4. 2022-07-15 09:11:02 +00:00
mrg b5ce394132 update for xorg-server 21.1.3. 2022-07-15 04:51:29 +00:00
mrg bf6d093810 add libxcvt. 2022-07-14 03:48:49 +00:00
rillig 1658536215 bsd.subdir.mk: replace obscure indirection with direct condition
Since 2008, when make generates the body of a .for loop, it does not
copy the items as raw strings but as expressions of the form ${:U...}.
This prevents syntactical changes from code injection in the body of the
.for loop.

Since then, using .for loop variables in conditions works.  Since the
same time, the variable assignment operator '+=' doesn't need to be
protected by a leading space anymore.  Even if the item from the .for
loop is 'libc++', the trailing '+' is not parsed as part of the variable
assignment operator, and it never had been parsed this way.  The space
probably has been cargo cult programming.  The only ambiguous case had
been in a variable assignment, when the variable name ended with a
variable from the .for loop, and the assignment operator was '='.  Only
in this case could the parser be tricked into parsing the variable
assignment as 'libc+ +=' instead of the intended 'libc++ ='.
2022-07-10 21:32:09 +00:00
rillig ec0e4424c9 bsd.subdir.mk: remove practically dead code
The condition '${dir:H} != ""' is almost always satisfied, since 2001 at
least.  The only input for the modifier ':H' that leads to an empty
string is "/".  It doesn't make sense though to specify the root
directory as a subdirectory.

While here, remove quotes around the left-hand side of comparisons in
conditions.  The quotes have become redundant in 2008, when the .for
loop stopped inserting raw text into the .for loop body.

If the special case for "/" had actually been intended, it should have
been written as the equivalent '.if ${dir} == "/"' instead of hiding
this feature behind an edge case behavior of the modifier ':H'.

Based on the comments, the condition should have been '${dir:M/*}', but
it hadn't been written that way.
2022-07-10 21:16:57 +00:00
nia 9668cd9f7d Add a manual page for udl(4) 2022-07-10 19:49:24 +00:00
nia 6e60d6f374 pci(4): mention gtp(4) in the man page 2022-07-10 08:17:02 +00:00
nia 63df21e1d6 mk.conf(5): we default to USE_SSP=yes these days. 2022-07-09 08:27:35 +00:00
nia 51ce44ea2b Add a man page for slurm(4) 2022-07-08 16:50:10 +00:00
nia b26075d045 Update the usb(4) manual page with some missing devices 2022-07-08 09:00:00 +00:00
nia f16ece3123 Add a manual page for uintuos(4) 2022-07-08 08:59:33 +00:00
andvar 4872410ffe fix reference to magma(4) by pointing to sparc/magma 4 and update the date. 2022-07-07 20:22:03 +00:00
andvar 581376d700 remove reference to tb(4), which was removed back in 2005. 2022-07-07 20:07:47 +00:00
rillig f1e042b8d2 fix references in manual pages to the reference documentation 2022-06-28 20:12:52 +00:00
tsutsui 38882b73aa Sync device autoconf(9) messages in DIAGNOSTICS with reality a bit.
Also pull some fixes from luna68k by wizd(8).
2022-06-17 16:43:52 +00:00
brad 826c516bfb Fix typo ..
the Adafruit 931 module is mask 0x03 and the 938 module is mask 0x04.
2022-06-15 15:54:40 +00:00
andvar 2af44958aa s/begens/begins/ 2022-06-13 20:16:53 +00:00
andvar 549aa5640f s/caled/called/ in comments and man page, also few more fixes. 2022-06-13 17:26:34 +00:00
wiz d437c8ecad fix some minor issues 2022-06-12 20:17:35 +00:00
tsutsui 34941bda13 Add luna68k specific section 4 man pages.
Taken from mostly OpenBSD/luna88k and partially NetBSD/hp300.
2022-06-12 03:51:13 +00:00
tsutsui 0e2475ee01 Add configuration information of luna68k. 2022-06-11 15:25:52 +00:00
uwe a503ab7560 Terminus Font: Import latin1 encoded versions from 4.49.1 2022-06-08 19:27:37 +00:00
uwe bc12803d32 Terminus Font: Regen after fixing an off-by-one in bdfload.
A bug in bdfload caused numchars parameter to be one less than
reality, so the last glyph was lost.  It was not immediately
noticeable b/c in IBM (cp437) encoded fonts the last glyph is a
(non-breaking) space.

While here, change the font names to have -CP437 suffix.
2022-06-08 12:00:59 +00:00
nia b7957d1677 build system: Revert all the recent additions of MK[...] knobs that
allow conditionally disabling the building of certain user space
programs in the 'base' set.

There is not enough consensus that this is the right way and a few
people had strong objections, see source-changes-d@.
2022-06-06 10:56:27 +00:00
andvar ff23aff6ad fix various typos in comments, documentation and messages. 2022-05-31 08:43:13 +00:00
nia da7913c09e mk: Add MKTIMED and MKMOUSED flags for compiling NetBSD without timed
and moused
2022-05-29 15:23:20 +00:00
nia 2525ed7bbf Document MKPPP 2022-05-29 08:15:47 +00:00
nia 8469593b52 mk: Add a MKPPP flag to exclude pppd(8) and related utilities from
the build
2022-05-29 08:09:59 +00:00
nia e994758d71 mk: Add MKFINGER, MKTALK flags for not building
talk, talkd, finger, fingerd.
2022-05-28 14:31:11 +00:00
nia f2e2da3feb mk: Add MKNTP, MKTCPDUMP knobs. 2022-05-28 11:17:35 +00:00
manu f4eefcd125 Document hw.wmX.txex_workqueue sysctl 2022-05-28 00:53:41 +00:00
nia a615e3f3ee Document MKLFS 2022-05-27 09:25:08 +00:00
nia cbb875961a mk: Add a MKLFS flag for excluding the log-structured filesystem userspace
tools from the build.
2022-05-27 07:28:20 +00:00
rillig 8c8a5f1d5e altq.9: remove CONSTCOND comment from example code
Since 2021-01-31, lint no longer needs CONSTCOND in a do-while loop.
2022-05-26 14:39:30 +00:00
uwe 6fc03f836d mk.conf(5): Don't make "experimental" comment stand out. 2022-05-26 14:24:42 +00:00
nia 9cd34def66 Document some more build options. Delint. 2022-05-26 06:33:03 +00:00
nia 104d7d0ec7 mk: Document that some options were enabled by default on aarch64 2022-05-26 06:23:57 +00:00
nia 6678627ac7 mk: Rename the MKMBONE option to MKMROUTING for greater accuracy and
to match the related kernel config option.
2022-05-25 21:25:46 +00:00
nia f52526086f mk: Allow setting MKDHCPD=no to build base without the ISC DHCP server,
useful for embedded images that don't need to act as one.
2022-05-25 20:44:01 +00:00
nia 30fbdc74a3 mk: Allow building base without the MBONE applications by setting
MKMBONE=no in mk.conf
2022-05-25 10:18:28 +00:00
andvar cdc507f0d2 fix various typos in comment, documentation and log messages. 2022-05-24 20:50:17 +00:00
riastradh 8ce53bff19 opencrypto: Touch up man page a little. 2022-05-22 11:40:46 +00:00
riastradh 893f06d42d opencrypto: crypto_dispatch never fails now. Make it return void.
Same with crypto_kdispatch.
2022-05-22 11:40:29 +00:00
riastradh 3bbdee2433 opencrypto: Rip out EAGAIN logic when unregistering crypto drivers.
I'm pretty sure this never worked reliably based on code inspection,
and it's unlikely to have ever been tested because it only applies
when unregistering a driver -- but we have no crypto drivers for
removable devices, so it would only apply if we went out of our way
to trigger detach with drvctl.

Instead, just make the operation fail with ENODEV, and remove all the
callback logic to resubmit the request on EAGAIN.  (Maybe this should
be ENXIO, but crypto_kdispatch already does ENODEV.)
2022-05-22 11:40:03 +00:00
riastradh a1f5e1f25c opencrypto: Make crypto_freesession return void.
No callers use the return value.  It is not sensible to allow this to
fail.
2022-05-22 11:39:37 +00:00
riastradh ee55792f15 opencrypto: Make freesession callback return void.
No functional change intended: all drivers already return zero
unconditionally.
2022-05-22 11:39:26 +00:00
riastradh a56f0ba8bd opencrypto: Assert num>0 in crypto_getreq, num=1 in crypto_kgetreq.
- For crypto_getreq this makes downstream reasoning easier: on
  success, crp_desc is guaranteed to be nonnull.

- For crypto_kgetreq, this was already assumed, just silently
  ignored and not checked by anything.
2022-05-22 11:34:17 +00:00