Commit Graph

18747 Commits

Author SHA1 Message Date
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
andvar 9f981eec2a s/appropiate/appropriate/ in comments and readme file. 2022-05-20 21:31:24 +00:00
riastradh 3987c5ad40 cprng(9): Note ipl must be at most IPL_SOFTSERIAL now. 2022-05-17 15:00:05 +00:00
riastradh d3fd4c2d1e rnd(9): Note that rndsource callbacks are never run in hardint.
But they may be run in softint at IPL_SOFTSERIAL.
2022-05-17 01:39:57 +00:00
gutteridge 12d02909fd harmony.4: add a minor detail, and fix some grammar 2022-05-15 00:06:09 +00:00
uwe 050f0752dd Terminus Font: Import 12pt and 28pt IBM437 fonts too. 2022-05-14 17:52:10 +00:00
uwe 8d7f698117 Terminus Font: Import IBM-encoded versions from 4.49.1
Terminus Font is a clean, fixed width bitmap font, designed for long
(8 and more hours per day) work with computers.

The font has a very good script coverage and subsets with other
encodings can be imported in the future.

This commit imports IBM437 encoded (WSDISPLAY_FONTENC_ISO) subsets
converted to WSF format.  wsfont metadata are stored in the files, so
you can load them without any additional arguments to wsfontload(8).
2022-05-14 14:02:08 +00:00
rin 1329ba48d7 Document MODULAR_DEFAULT_VERBOSE. Bump date. 2022-05-07 04:35:20 +00:00
msaitoh 1c92cca594 Add some supported devices. 2022-05-05 08:07:03 +00:00
gutteridge a221396914 tap.4: trim introduction to match current reality
As of 10.0, tap(4) can no longer be used as a bridge(4) endpoint, so
avoid potentially confusing the reader, who'd later encounter the
caveats section, noting use of vether(4) is required instead.
2022-05-02 23:25:12 +00:00
uwe 9493cab14a bsd.x11.mk: Add xlocaledir substitution. 2022-05-01 23:02:32 +00:00
gutteridge 32461a6503 tun.4: some xrefs added and minor grammar fixes applied 2022-05-01 00:25:42 +00:00
brad 84213c7105 Like /etc/rc.d/network, add the ability to put a '!' character as the
first character in /etc/gpio.conf and have the rest evaluated in a
shell.  It is useful to be able to do actions after setting up gpio
pins or attaching gpioiic(4).
2022-04-30 13:48:09 +00:00
msaitoh bede008753 Add missing "show vmem[s]". 2022-04-28 07:17:52 +00:00
brad 4e93751222 After testing with a couple of more samples of the SHT3x sensor chip
it was found that the datasheet does not appear to provide enough
information to make use of the alarm and interrupt function work.  So
actually remove the dead code that was an attempt at making that all
work.  Adjust the man page to mention that this.
2022-04-27 23:11:25 +00:00
andvar f84252b461 fix various typos in comments and log messages. 2022-04-16 18:15:20 +00:00
fcambus c10cd063e1 boot.cfg.5: banner can span up to 12 lines, and not 10 like stated.
For the record, the value is set by the BOOTCFG_MAXBANNER macro defined
in sys/lib/libsa/bootcfg.h.
2022-04-15 16:30:09 +00:00
riastradh 4f8ce3b31d Introduce membar_acquire/release. Deprecate membar_enter/exit.
The names membar_enter/exit were unclear, and the documentation of
membar_enter has disagreed with the implementations on sparc,
powerpc, and even x86(!) for the entire time it has been in NetBSD.

The terms `acquire' and `release' are ubiquitous in the literature
today, and have been adopted in the C and C++ standards to mean
load-before-load/store and load/store-before-store, respectively,
which are exactly the orderings required by acquiring and releasing a
mutex, as well as other useful applications like decrementing a
reference count and then freeing the underlying object if it went to
zero.

Originally I proposed changing one word in the documentation for
membar_enter to make it load-before-load/store instead of
store-before-load/store, i.e., to make it an acquire barrier.  I
proposed this on the grounds that

(a) all implementations guarantee load-before-load/store,
(b) some implementations fail to guarantee store-before-load/store,
and
(c) all uses in-tree assume load-before-load/store.

I verified parts (a) and (b) (except, for (a), powerpc didn't even
guarantee load-before-load/store -- isync isn't necessarily enough;
need lwsync in general -- but it _almost_ did, and it certainly didn't
guarantee store-before-load/store).

Part (c) might not be correct, however: under the mistaken assumption
that atomic-r/m/w then membar-w/rw is equivalent to atomic-r/m/w then
membar-r/rw, I only audited the cases of membar_enter that _aren't_
immediately after an atomic-r/m/w.  All of those cases assume
load-before-load/store.  But my assumption was wrong -- there are
cases of atomic-r/m/w then membar-w/rw that would be broken by
changing to atomic-r/m/w then membar-r/rw:

https://mail-index.netbsd.org/tech-kern/2022/03/29/msg028044.html

Furthermore, the name membar_enter has been adopted in other places
like OpenBSD where it actually does follow the documentation and
guarantee store-before-load/store, even if that order is not useful.
So the name membar_enter currently lives in a bad place where it
means either of two things -- r/rw or w/rw.

With this change, we deprecate membar_enter/exit, introduce
membar_acquire/release as better names for the useful pair (r/rw and
rw/w), and make sure the implementation of membar_enter guarantees
both what was documented _and_ what was implemented, making it an
alias for membar_sync.

While here, rework all of the membar_* definitions and aliases.  The
new logic follows a rule to make it easier to audit:

	membar_X is defined as an alias for membar_Y iff membar_X is
	guaranteed by membar_Y.

The `no stronger than' relation is (the transitive closure of):

- membar_consumer (r/r) is guaranteed by membar_acquire (r/rw)
- membar_producer (w/w) is guaranteed by membar_release (rw/w)
- membar_acquire (r/rw) is guaranteed by membar_sync (rw/rw)
- membar_release (rw/w) is guaranteed by membar_sync (rw/rw)

And, for the deprecated membars:

- membar_enter (whether r/rw, w/rw, or rw/rw) is guaranteed by
  membar_sync (rw/rw)
- membar_exit (rw/w) is guaranteed by membar_release (rw/w)

(membar_exit is identical to membar_release, but the name is
deprecated.)

Finally, while here, annotate some of the instructions with their
semantics.  For powerpc, leave an essay with citations on the
unfortunate but -- as far as I can tell -- necessary decision to use
lwsync, not isync, for membar_acquire and membar_consumer.

Also add membar(3) and atomic(3) man page links.
2022-04-09 23:32:51 +00:00
blymn 78ed63140d Update documentation to clean up obsolete settings and add new ones. 2022-04-01 06:32:10 +00:00
christos fdd8676a97 get rid of old style `` command substitution in shell and use $() instead. 2022-03-29 22:48:04 +00:00
riastradh e7bed28911 driver(9): devsw_detach never fails. Make it return void.
Prune a whole lotta dead branches as a result of this.  (Some logic
calling this is also wrong for other reasons; devsw_detach is final
-- you should never have any reason to decide to roll it back.  To be
cleaned up in subsequent commits...)

XXX kernel ABI change to devsw_detach signature requires bump
2022-03-28 12:33:20 +00:00
christos 4805589d3d Describe the hardlink restrictions. 2022-03-27 16:36:11 +00:00
wiz 96dbc6bc3d igpio(4): fix date 2022-03-24 16:33:58 +00:00
manu b3d1d56588 Add documentatiion for Intel GPIO driver igpio(4) 2022-03-24 14:00:19 +00:00
jmcneill edd5c599d8 hdaudio: Obsolete HDAUDIO_ENABLE_DISPLAYPORT and HDAUDIO_ENABLE_HDMI
Enable display port and HDMI devices by default rather than making this
a compile time option.
2022-03-21 09:20:04 +00:00
andvar ff48331b5e s/circut/circuit/ and s/circiut/circuit/ in comments and acronyms file. 2022-03-20 20:19:34 +00:00
riastradh dd68197b35 entropy(9): Improve entropy warning messages and documentation.
- For the main warning message, use less jargon, say `security', and
  cite the entropy(7) man page for further reading.  Document this in
  rnd(4) and entropy(7).

- For the debug-only warning message, say `entropy' only once and omit
  it from the rnd(4) man page -- it's not very important unless you're
  debugging the kernel in which case you probably know what you're
  doing enough to not need the text explained in the man page.
2022-03-20 18:19:57 +00:00
hannken 9ea3b23daf Remove now unused VV_LOCKSWORK, all file systems support locking.
Remove unused predicates vn_locked() and vn_anylocked().

Welcome to 9.99.95
2022-03-19 13:53:32 +00:00
riastradh 54916e3adb rnd(9): Document the serial use of rndsource callbacks.
This simplifies the rndsource API -- no need to lock, unless you're
also coordinating with other driver logic like concurrent
opencrypto(4) requests that share device requests.
2022-03-19 11:54:53 +00:00
mrg 8e5ae65545 apply some more consistency in platform checks, collapse some
checks, and enable pigz on arm64eb.
2022-03-17 06:24:30 +00:00
mrg baae5e2cfb enable ZFS on arm64eb. works witih basic testing.
(dtrace does not.)
2022-03-17 06:20:47 +00:00
riastradh 8ad5456761 cprng(9): Forbid use in hard interrupt context.
May need access to the global entropy pool (infrequently).  This way
the global entropy pool lock can be lowered to IPL_SOFTSERIAL too,
with a little additional work.
2022-03-16 23:56:33 +00:00
dholland 7c57e0878d web2: +enqueue 2022-03-16 00:01:03 +00:00
rillig d723d0dde0 share/misc/style: lint no longer needs CONSTCOND in do-while-loops
Since usr.bin/xlint/lint1/tree.c 1.202 from 2021-01-31, lint recognizes
the common idiom 'do { ... } while (0)' and no longer complains about
its constant condition; see tests/usr.bin/xlint/lint1/msg_161.c.
2022-03-10 23:39:12 +00:00
rillig aba9e20872 share/misc/style: clarify enum example code
The only purpose of the enum example is to show that enum constants are
written in uppercase.

The previous code could be mistakenly interpreted as requiring each
definition of an enum type to also define a global variable of that
type, and to make the variable name the abbreviated type name.  Even if
the enum type were prefixed with 'typedef', choosing different names for
the tag and the typedef would not be necessary.

To avoid these possible misinterpretations above, remove the variable
name from the declaration.
2022-03-10 22:45:23 +00:00
andvar 96f5cafeda s/sarch/search/ in commented part. 2022-03-06 23:36:01 +00:00
riastradh d77e27a12a usbnet(9): Clarify uno_stop contract in man page. 2022-03-05 06:55:58 +00:00
riastradh 1c13666aef usbnet(9): uno_init is now optional.
Update assertion and man page accordingly.
2022-03-05 06:55:49 +00:00
riastradh 3165ccf84f usbnet(9): Update man page. 2022-03-03 05:57:05 +00:00
alnsn c7c3f28d83 Document critical_filesystems_zfs. 2022-02-20 14:43:39 +00:00
alnsn fdf2a158f7 Document zfs variable. 2022-02-20 10:49:17 +00:00
wiz b5684b14a5 Fix typo, use Nm instead of Xr to itself. 2022-02-15 22:58:25 +00:00
riastradh 66d107c557 KERNEL_LOCK(9): New man page for old not-dead-yet hack.
I'm not documenting this to encourage anyone to use it.  I'm only
documenting this to remind myself what the semantics is, because it's
kind of confusing and not at all like mutex(9).
2022-02-15 22:46:29 +00:00
andvar 0d09afda98 s/APCI/ACPI/ 2022-02-13 23:28:58 +00:00
riastradh 59e18dd467 __cpu_simple_lock(9): New man page.
This doesn't mean you should use it!  Mostly it's to document the
semantics to help understand existing uses, which should not
proliferate, and audit definitions.
2022-02-12 17:10:20 +00:00
riastradh 3aa5a3ae30 sys: Fix various abuse of struct device internals.
Will help to make struct device opaque later.
2022-02-12 03:24:34 +00:00
riastradh 3fe7de7a3a ipi(9): Document memory ordering guarantees. 2022-02-12 01:21:11 +00:00
riastradh 9ac840f3fa driver(9): Correct paragraph about the driver activate function. 2022-02-11 23:19:43 +00:00
riastradh 4e8ac629c4 driver(9): Delete outdated info about softc and struct device. 2022-02-11 23:19:34 +00:00
fcambus 9f8f8b74cb Add PLT (procedure linkage table). 2022-02-10 20:49:39 +00:00
andvar 7c674e8e6e remove double t from targeted, add missing r to arbitrary
And fix few more typos along the way in comments and man pages.
2022-01-26 11:48:53 +00:00
skrll a3d0b3b604 Add a note about bus_dmatag_subregion [min_addr, max_addr] 2022-01-22 15:16:37 +00:00
wiz a5d6f6fd6a New sentence, new line. 2022-01-22 09:22:41 +00:00
skrll a8418b3e5b Add __MASK(3)
__MASK(n): first n bits all set, where __MASK(4) == 0b1111.
2022-01-22 08:58:48 +00:00
dholland 9188f350fd +aioli 2022-01-21 08:58:10 +00:00
skrll fa1e00efc4 Add return type of the __SHIFT* macros. Bump date.
"looks right to me" from mrg@
2022-01-20 07:30:25 +00:00
christos 55cf6c3f80 put back more links now that we have them. 2022-01-18 20:38:28 +00:00
wiz 8dc77b19f8 Sort ERRORS, mark up NULL. 2022-01-17 23:12:41 +00:00
christos d531eb8e3c Add new acl vnode op pages 2022-01-17 22:47:43 +00:00
wiz 2fe22866e0 Sort SEE ALSO, fix punctuation. 2022-01-17 22:27:20 +00:00
wiz f5e669e2ed use "non-null" instead of "nonnull" for readability 2022-01-17 22:27:10 +00:00
christos 1527922e50 Add acl related changes; there is no more vaccess; document the genfs functions
instead.
2022-01-17 19:08:06 +00:00
thorpej 5eb438ad7a Re-factor and overhaul the "mcp23s17gpio" driver as "mcpgpio", and
add support for 8-bit and I2C variants of the chip:
- MCP23008 / MCP23S08: 8-bit (I2C / SPI)
- MCP23017 / MCP23S17: 16-bit (I2C / SPI)
- MCP23018 / MCP23S18: 16-bit (I2C / SPI), open-drain outputs

The MCP23x17 and MCP23x18 are essentially identical, software-wise; we
merely report different GPIO pin capabilities (no push-pull output for
MCP23x18).  Also, remove the tri-state capability that was previously
advertised by the old version of this driver; these chips have no way
to put the pin into a HI-Z mode.

All 3 I2C versions are supported, but the SPI front-end still only
supports the MCP23S17 for now (SPI autoconfiguration needs an overhaul).

mcp23s17gpio(4) remains present as a link to the new mcpgpio(4) man page.

XXX Still to-do: FDT integration, interrupt suppoort.
2022-01-17 16:31:23 +00:00
wiz e751bb9847 whitespace fix 2022-01-15 17:54:01 +00:00
christos 10191c34cf PR/56629: Andreas Gustafsson: Update documentation about the filter head
maintainance functions.
2022-01-15 15:37:15 +00:00
wiz 52efe91aa5 Fix typo, remove dot 2022-01-06 22:10:39 +00:00
nia 2e2abd82c6 Add man pages for eqos(4), mcommphy(4)
lgtm jmcneill@
2022-01-06 21:55:23 +00:00
msaitoh 988ab2c9fa s/sytem/system/ 2022-01-01 10:32:28 +00:00
msaitoh 36a58e7c07 s/assoicate/associate/ 2022-01-01 09:53:32 +00:00
riastradh 88580404b3 sysmon(9): New sysmon_task_queue_barrier(pri) function.
This waits for the completion of all tasks at priority pri or lower
that are currently queued at the time of the call.
2021-12-31 14:22:10 +00:00
christos 32fedbaf4c remove the NEED_OWN_INSTALL_TARGET conditional for setting the install
variables, suggested by phone@
2021-12-30 04:57:10 +00:00
andvar ca8f8e9eb0 namei(9): s/operatoins/operations/ 2021-12-26 16:41:09 +00:00
andvar e590e6c9f3 fix various typos, mainly in comments. 2021-12-26 16:08:19 +00:00
christos e84b253916 remove extra C in OBJCOPTS (from Anon Ymous) 2021-12-23 20:08:07 +00:00
thorpej 3000bba86d Document PR_PSERIALIZE. Remove documentation for pool_cache_setpredestruct(). 2021-12-22 17:28:17 +00:00
thorpej 1af3a96973 Add pool_cache_setpredestruct(), which allows a pool cache to specify
a function to be called before the destructor for a batch of one or more
objects is called.  This can be used as a synchronization point by
subsystems that rely on the type-stable nature of pool cache objects or
subsystems that use other forms of passive serialization.
2021-12-21 18:59:22 +00:00
christos 69f41f5953 Rename:
MKKDEBUG -> MKDEBUGKERNEL
    MKTOOLSDEBUG -> MKDEBUGTOOLS
while keeping compatibility with the old names. Add missing documentation.
Now all debugging tunables are prefixed with MKDEBUG.
2021-12-20 20:33:20 +00:00
christos 814fa5ccf1 PR/55557: Andreas Gustafsson" Introduce a new variable MKDEBUGKERNEL which
as the name implies, includes a netbsd.gdb inside each kernel set:
$ tar -tzvf kern-GENERIC.tgz
-rwxr-xr-x  0 root   wheel 29398264 Dec 19 12:50 ./netbsd
-rwxr-xr-x  0 root   wheel 208125880 Dec 19 12:50 ./netbsd.gdb
2021-12-20 14:41:26 +00:00
christos 7aa721301c Pass W with IDU for lint and deps. 2021-12-14 16:22:07 +00:00
dholland 602dabe914 Add a bunch of missing food items. 2021-12-12 22:58:35 +00:00
maya 1eb4f57936 Add amdgpu firmware build goo (disabled) 2021-12-12 20:33:21 +00:00
riastradh c59d430d3b crashme(9): Touch up man page markup.
Better consistency with sysctl(7), less random widthing and
offsetting.
2021-12-11 23:47:53 +00:00
wiz 2ea60c825f Document vchiq@acpi 2021-12-11 20:42:48 +00:00
mrg d914a3c1b9 remove clause 3 from all my licenses that aren't conflicting with
another copyright claim line.  again.  (i did this in 2008 and then
did not update all of my personal templates.)
2021-12-11 19:24:18 +00:00
riastradh 72cb7fc7b2 Update crashme(9) man page for recent additions. Reorganize slightly. 2021-12-11 19:16:48 +00:00
andvar 8c4df4824b s/unaccessible/inaccessible/ 2021-12-10 19:30:05 +00:00
andvar 28425333b6 s/refernce/reference/ 2021-12-09 21:14:50 +00:00
andvar 765c526966 s/recomended/recommended/ and s/unknonwn/unknown/ 2021-12-08 19:28:30 +00:00
rillig f839c2b06d bsd.clean.mk: fix typo in comment 2021-12-07 22:40:52 +00:00
brad 4baee7b8d2 Mention the SCMD device 2021-12-07 17:50:27 +00:00
brad bf53d44167 A driver and user land utility for the Sparkfun Serial Controlled Motor
Driver module as illustrated here:

https://www.sparkfun.com/products/13911

A SCMD module is a ARM SOC simular to a Arduino in front of a motor
driver chip.  The single SCMD module can control two motors and up to
16 additional modules can be chained together using an internal I2C
bus.  One can interface with the SCMD using tty uart commands, SPI or
I2C.  The driver in this commit adds a kernel driver for the I2C and
SPI interfaces.  The command line utility provides a set of
convenience commands that support most of the functions of the SCMD
and is able to use the tty uart mode, SPI user land or the included
kernel driver in a uniform manor.

The use of the SCMD module is mostly for small robots and the like,
but it can control anything that is controllable by voltage.
2021-12-07 17:39:53 +00:00
abs 9a317b44dd Add Xwsfb X server to pmax build
With the previous tweak to TURBOchannel framebuffers in sys/dev/tc this
should allows pmax to once again run X11.

TODO: Investigate pullup to -9
2021-12-06 17:51:59 +00:00
msaitoh e6dabad63a s/specificed/specified/ in comment. 2021-12-05 07:53:57 +00:00
msaitoh 8194593f85 s/runable/runnable/ 2021-12-05 07:35:17 +00:00
msaitoh 8a3fe07864 s/from from/from/ in comment. 2021-12-05 04:54:20 +00:00
msaitoh 9071b4b491 s/covert/convert/ in comment. 2021-12-05 04:38:54 +00:00
msaitoh a302c94c87 Add some devices. 2021-12-02 05:10:04 +00:00
ryo 11b9cb2b2b aarch64 also now can execute both 32 and 64 bit 2021-11-28 18:08:51 +00:00
christos c207dc6779 When we build against DESTDIR, add the lint library path for DESTDIR during
the link phase for lint.
2021-11-28 15:49:36 +00:00
christos 9bb938d35a For private and module libraries, build lint but do not install the lint
libraries. We want to lint the private library code and we want to be able
to link against the lint libraries, for example llib-largon2 from cgdconfig
which is accessed via PROGDPLIBS.
2021-11-28 15:47:33 +00:00
rillig 6e083f0283 sys.mk: fix duplicate character in character class of LINTFLAGS
The character class contained two times U+0020, which makes one of them
redundant, so remove the character class. PR toolchain/18248 already
contained these two spaces.

Apparently there is no need to support tabs in this place, otherwise
someone would have noticed it in the 17 years since this pattern had
been added in sys.mk 1.83 from 2004-01-27.

No functional change.
2021-11-28 00:21:12 +00:00
thorpej 0cf29bbbd8 Add "Gearmo USA-FTDI4X" (a 4-port USB serial adapter) to the list of
devices supported by uftdi(4).
2021-11-26 22:37:31 +00:00
msaitoh e53114c37c Remove mb_map. 2021-11-16 05:16:47 +00:00
christos dd08f8bc5d Explain the state of ASU and ACOMPAT. 2021-11-15 17:41:20 +00:00
skrll 50e70fef69 Hook in riscv dtb build 2021-11-13 10:13:42 +00:00
skrll 4eedda3bdc Correct a comment 2021-11-13 09:41:15 +00:00
brad d8ba40df01 Fix the serial number handling of the HTU21D chip and probably others.
Increase the number of read attempts as the HTU21D and probably others
do not respond as fast the actual SI70xx chip can.
2021-11-12 15:12:11 +00:00
wiz cecc7a2e8c new sentence, new line. 2021-11-11 14:24:24 +00:00
brad d0247a8a52 Some HTU21D chips do not have a heater register and apparently no
heater element.  Disable the heater features in the driver when that
condition is detected and let the attachment succeed.  Also mention
that the SHT21 is another clone.
2021-11-11 14:16:04 +00:00
msaitoh fb5eed7026 s/ba/be/ 2021-11-10 15:41:41 +00:00
nia 388c45680d iwm.4: rework caveat for more relevance to this driver 2021-11-10 07:58:44 +00:00
nia 96c0ccb3f3 Update the list of supported devices for iwm(4) and add a CAVEAT. 2021-11-10 07:57:29 +00:00
plunky c27aa72c78 ODMR on-demand mail relay 2021-11-10 07:08:47 +00:00
riastradh f2e0f4c55c pslist(9): No need to serialize pserialize_perform any more.
So take it out of the mutex section.
2021-11-06 23:29:03 +00:00
wiz a47d853d9f New sentence, new line; remove trailing whitespace. 2021-11-06 19:36:12 +00:00
brad a827f0510e Mention sht3xtemp(4) 2021-11-06 13:36:34 +00:00
brad 1f3d8cb8fe Driver for the Sensirion SHT30/SHT31/SHT35 temperature and humidity
sensor such as:

https://www.adafruit.com/product/2857

This is a higher priced sensor with a lot of features, including the
ability to do sub-second periodic updates.  The driver supports
everything about the sensor except for the alert pin.
2021-11-06 13:34:39 +00:00
riastradh 17baa91bd8 Rework ilog2(3) man page.
- Tweak title.
- Clarify semantics -- round down, not any other way.
- xref ffs(3)
- Fix return type: int.
- Fix language about input type.
  . Any unsigned type is fine.
  . Types smaller than uint32_t will be safely converted to uint32_t.
- Note that it is a constant expression if x is constant.
2021-11-05 22:39:35 +00:00
abs b184d46aae Update glob example from X11R6 to X11R7 2021-11-02 22:13:14 +00:00
abs 52b076ef20 Adjust example path to kde/sounds
Wherever sounds may be on a current NetBSD system, /usr/X11R6 is
unlikely to be in that set...
2021-11-02 21:55:38 +00:00
nia 8b8c4023f4 mk: Add support for conditional compilation of parts of the tree with
partial RELRO when MKRELRO=full is set.

Currently the X server needs to be compiled with only partial RELRO
due to the way certain (but not all - it seems wsfb works with full
RELRO) graphics driver modules are loaded.
2021-11-01 10:05:18 +00:00
andvar 56d66eb030 "no affect" -> "no effect" in man pages and comments. 2021-10-30 21:08:58 +00:00
nia 62c18ff3d1 pdcsata.4: Add HISTORY section, fix stray space. 2021-10-29 10:26:10 +00:00
nia 63871daedd Add some missing device drivers to the lists.
From bobs at thelibertytree.org, thanks!
2021-10-29 10:21:28 +00:00
ryo f989f9625c revert previous: http://mail-index.netbsd.org/source-changes/2021/10/25/msg133295.html
going to add __always_inline to the functions called from _mcount()
discussed on http://mail-index.netbsd.org/source-changes-d/2021/10/25/msg013480.html
2021-10-27 03:06:59 +00:00
nia 0e837f732b passwd.conf(5): switch default cipher for new user accounts to Argon2id
As well as offering a dynamic amount of iterations and memory usage,
which fits well with NetBSD's goal of running on a diverse range of
hardware devices, Argon2id offers improved resistance to GPU-based
password cracking and side channel attacks.
2021-10-26 20:44:45 +00:00
ryo 843ce00650 In some arch, _mcount() would be called recursively when built with COPTS=-O0.
Normally, functions called from mcount.c are expected to be expanded inline,
so _mcount() will never be called recursively. But when build with COPTS=-O0,
`static inline' functions aren't inlined, and _mcount() will be called
recursively.

Even if _mcount() has `__attribute__((__no_ instrument_function__))',
it has no effect on the calling external (no-inlined) function.

To avoid this, PROF.<fn> is added can be set the profiling flag of any file.
"PROF.mcount.c" is set to blank by default, mcount.c itself is compiled
without -pg.
2021-10-25 07:54:44 +00:00
gutteridge ffbf25baea bpf.4: amend caveat about what types of links can be written to
Try to be clearer about what's supported. A peripheral issue noted in
PR pkg/55446.
2021-10-24 17:46:06 +00:00
andvar 6f8dc1509f fix various typos, mainly in comments, but also in man pages and log messages. 2021-10-21 13:21:53 +00:00
wiz 7e8cc147ae Bump date for previous. 2021-10-21 07:33:13 +00:00
blymn 016c53adf0 Add documentation for the button_region_movement_enable variable. 2021-10-21 04:51:10 +00:00
wiz fd83225780 New sentence, new line. 2021-10-14 21:35:45 +00:00
nia fe6a647e2c Add sgp40mox(4) 2021-10-14 20:23:31 +00:00
brad ea034c40cb A driver for the Sensirion SGP40 MOx gas sensor. An example of this
chip from Adafruit is:

https://www.adafruit.com/product/4829

This is a moderately priced gas sensor that can detect volatile
organic compounds in the air.  The driver uses the 3-clause BSD
licensed VOC algorithm provided by Sensirion to turn the raw sensor
metric into a VOC index which can indicate the quality of the air in a
particular indoor environment.  All published functions of the chip
are supported and one unpublished feature.
2021-10-14 13:54:45 +00:00
nia 7d6fba5f3f mk: Enable MKPIE on aarch64 (it's already enabled on 32-bit arm) 2021-10-14 12:58:30 +00:00
nia ac33538813 mk: Enable MKRELRO on aarch64 to match x86. 2021-10-14 11:46:45 +00:00
nia 2088d9efba mk: Enable MKARGON2 now that this stuff works. 2021-10-14 11:45:46 +00:00
andvar da66f63158 fix typos in man pages. 2021-10-12 15:25:27 +00:00
nia 09dde10e16 passwd.conf.5: document using argon2 2021-10-12 11:08:14 +00:00
wiz bde02bf7a2 Fix xrefs. Remove superfluous Pp. 2021-10-12 07:43:49 +00:00
wiz d0783ebfe3 Fix date. 2021-10-12 07:43:41 +00:00
msaitoh c6448522e7 Add hvn.4. OK'd by nonaka@. 2021-10-12 04:55:19 +00:00
nia e11ac7eb28 wsmouse.9: document scrolling bits 2021-10-11 18:19:27 +00:00
nia 384dab288d wsmouse.4: document newer ioctls
accidentally missing from a previous commit, pointed out by tsutsui
2021-10-11 18:06:06 +00:00
wiz 7cfde6547e New sentence, new line. 2021-10-11 07:45:39 +00:00
rin 795407bc1e Add description for 3c572B aka OfficeConnect 572B. 2021-10-11 03:00:18 +00:00
riastradh 97eadbd13e pserialize(9): Lift rule that pserialize_perform be serialized.
There may have been a technical reason for this back when we were
following the expired passive serialization patent to the letter, but
no more -- and this is a real burden for some applications.
2021-10-10 11:20:46 +00:00
jandberg 05b33a3ec0 Update documentation to mention current status of X11 2021-10-09 08:25:33 +00:00
msaitoh 7928066bd9 Update the description of the NMBCLUSTERS. Add NMBCLUSTERS_MAX. 2021-10-06 05:25:53 +00:00
nia 13076480ca Add sht4xtemp(4). Sort. 2021-10-05 16:36:58 +00:00
andvar 45f3db2a60 s/userpsace/userspace/ 2021-10-04 20:25:20 +00:00
andvar e49c2d1bf9 remove duplicate the article in documentation. 2021-10-04 14:35:20 +00:00
wiz a9ca187139 New sentence, new line. Fix Dd. Use more macros. 2021-10-03 18:20:13 +00:00
brad ee2dd9d79d A driver for the Sensirion SHT40/SHT41/SHT45 temperature and humidity
sensor.  An example of this chip is:

https://www.adafruit.com/product/4885

This is a lower cost chip that provides higher then usual precision
according to the data sheet.  This driver supports all of the published
functions that the chip has.
2021-10-03 17:27:02 +00:00
jmcneill 2017b9f914 efiboot: Build and install bootriscv64.efi for riscv64 builds. 2021-09-30 20:02:54 +00:00
maya f9d97969cb Restore MKNOUVEAUFIRMWARE and MKRADEONFIRMWARE and make gpufw set unconditional
Simplifies logic.
(Second commit - first one was partial)

Restoring MK* requested by mrg on tech-kern discussion
https://mail-index.netbsd.org/tech-kern/2021/09/25/msg027695.html
2021-09-26 15:52:40 +00:00
nia f7f2d033b2 Update remarks on Linux-flavored procfs. 2021-09-26 11:22:29 +00:00
maya f54624bd74 Move DRM-driver firmware from base to its own set, gpufw
This set is only installed on amd64,i386,evbarm.
This set is installed on minimal installs and on install media, in
case someone needs it for basic driver functionality.

Comments:
Switched to a single MK tunable for it - that is probably unneeded.

An upcoming DRM update will include even fatter firmware, and we'd
like to minimize the impact of it.
2021-09-25 08:54:29 +00:00
ryo aa98bec62c add aarch64, and sort architecture names by alphabetical order. 2021-09-23 09:07:39 +00:00
tsutsui 5edb7daeef Fix pasto. WSKBDIO_*BELL ioctls take struct wskbd_bell_data.
Bump date.

XXX1: the wskbd(4) (and all otther wscons(4) related) man page should
      describe more details of all ioctls.
      (usage, args and return values including structures).
XXX2: the wsbell(4) man page has description about all WSKBDIO_*BELL ioctls
      and struct wskbd_bell_data, but maybe they should be moved into this
      wskbd(4) man page and wsbell(4) should be changed to xref wskbd(4).
2021-09-18 18:14:07 +00:00
tsutsui 7239780e82 Update description of struct timecounter (u_int64_t -> uint64_t).
It has been changed since src/sys/sys/timetc.h rev 1.8.
Bump date.
2021-09-18 18:01:18 +00:00
leot f48828b0bf Add DW 2021-09-16 08:33:24 +00:00
nat ea1f37116e Describe how to obtain debugging information from vchiq(4).
Ok nia@
2021-09-16 02:53:28 +00:00
andvar 80f2027016 sysinst/partitions.h: fix typos comments, also fix same typos in other files. 2021-09-11 21:30:46 +00:00
nia 6c5944f65d sort 2021-09-10 22:48:19 +00:00
nia 4e08b86501 iic.4: add missing client devs (those with man pages, many don't have one) 2021-09-10 21:12:20 +00:00
alnsn 65be30e010 Move SOB to offensive acronyms. 2021-09-05 17:29:27 +00:00
msaitoh 8ab7d3270e Use MCLGET() instead of homegrown cluster (jcl) allocation mechanism.
- Before this commit, resource shortage was easily occurred because the total
  number of the clusters is small.

- Reviewed by knakahara and ryo.
2021-08-25 09:06:02 +00:00
mrg d07aa01e08 xorg-server is now at 1.20.13. 2021-08-24 06:29:18 +00:00
mrg 2fa4170300 define variables for the libxcb-* libraries. 2021-08-23 22:13:27 +00:00
andvar 8324be4c9b fix some more typos in comments/log messages, improve wording as well. 2021-08-21 11:55:24 +00:00
mrg ab57e84c1b fix arm64 builds: turn off MKCOMPAT for GCC
no idea why it was enabled as we can't easily target 32 bit.

if we figure this out for aarch32, the subdir names etc will
probably be different, or we can just revive the deleted
files no longer referenced with this commit.
2021-08-19 06:52:37 +00:00
andvar 2e0bf311b3 fix multiplei repetitive typos in comments, messages and documentation. mainly because copy paste code big amount of files are affected. 2021-08-17 22:00:26 +00:00