Commit Graph

12832 Commits

Author SHA1 Message Date
jruoho de35f5b630 Xref rfc6056(7). 2020-07-13 15:05:05 +00:00
uwe 08e4367608 Try to improve markup, PostScript output. 2020-07-13 14:11:16 +00:00
pgoyette 78e3bc6422 Imnprove previous. 2020-07-13 13:42:51 +00:00
jruoho f2ada8ae6b Complete the example. 2020-07-13 12:44:04 +00:00
nia f694c820c6 obviously wrong country code 2020-07-13 11:59:37 +00:00
wiz d85411472e Whitespace/macro usage fixes. 2020-07-13 11:24:27 +00:00
nia 02a8d4e3ea wskbd.4: Add KB_LA 2020-07-13 11:15:48 +00:00
nia 4a2e556972 Move description of keyboard layouts to wskbd.4, add newer layouts
Previously, the best reference was pckbd.4. This does not make much
sense to read if you are on, say, an evbarm device with only USB.

wsconsctl.8 contained a vaguer description of supported language names,
which isn't very useful because you can't pass full language names
to the command. Point readers to wskbd.4 instead.

Note in the wskbd.4 page that while all layouts are generally supported
by pckbd(4) and ukbd(4), older keyboard interfaces might only support
a subset.
2020-07-13 11:14:12 +00:00
jruoho 0eb7ac5e23 Add stub manual pages for /etc/changelist and /etc/pkgpath.conf.
Fixes PR bin/55477.
2020-07-13 09:10:34 +00:00
wiz 2f0f2880cd Fix xref. 2020-07-13 08:59:34 +00:00
wiz 63b4dc12b3 New sentence, new line. 2020-07-13 08:58:48 +00:00
jruoho 7d2da5ea1f Add the missing rescue(8) and tests(7) sets. XXX: this manual is somewhat
broken due to the differences in the archival formats used.
2020-07-13 07:26:27 +00:00
simonb f732e865a3 Copy "mach reset" logic from arm32 recently added by jmcneill@. The
previous MIPS "mach reset" DDB command was hard-coded for Octeon Cavium
CPUs only.
2020-07-13 05:20:45 +00:00
skrll 1fde49c064 Note arm KUBSAN support 2020-07-12 13:40:44 +00:00
maxv 0d658a2d6f fix inaccuracy about kmsan 2020-07-12 10:10:53 +00:00
nia 1930f11c1e Update lists of keyboard layouts to add Turkish and Brazilian 2020-07-12 01:36:32 +00:00
skrll d329adb039 Add support for KASAN on ARMv[67]
Thanks to maxv for many pointers and reviews.
2020-07-10 12:25:08 +00:00
wiz 9749401cc3 Remove trailing comma. 2020-07-10 06:28:49 +00:00
thorpej 26c5d1c962 Update pci_configure_bus(9) to reflect the new reality -- no more manual
fiddling with extent maps, use pciconf_resource_{init,add,fini}() instead.
2020-07-10 02:27:13 +00:00
uwe c3c716f32b Fix the include file name in the synopsis.
While here, drop the device path from synopsis,
its place is in the files section.
2020-07-05 03:44:13 +00:00
uwe ae1206698b Clarify initial state some more.
Mention that the initial current octave is 4.  Drop filler verbiage
that octaves are "from C to B".
2020-07-05 01:05:01 +00:00
uwe 918bd55417 Clarify that whitespace is only ignored between groups.
Actually everything that doesn't start a group is ignored.
Whitespace is not allowed inside groups.
2020-07-05 00:38:23 +00:00
uwe bdbca37a95 BUGS: note that meaning of sustain dots differs from the standard notation.
From FreeBSD.
2020-07-05 00:33:18 +00:00
uwe ace06697fe Middle C is in O2 (from RTFS). 2020-07-04 23:24:10 +00:00
uwe 87c8858e80 Add more markup. Edit for clarity. 2020-07-04 23:09:43 +00:00
christos af4576753e add missing arg 2020-07-04 21:07:29 +00:00
uwe 124a6fcf7c Fix off by one in the range of note values (in one instance).
From xordspar0 at gmail.
2020-07-04 19:25:24 +00:00
ryoon f75ffeda10 man4: Add Linux USB 3.0 debu port to ugensa.4 2020-07-04 08:10:21 +00:00
jmcneill 336dbb3e65 Add ddb "mach reset" command for Arm ports. 2020-07-02 11:10:47 +00:00
maxv 64f849a4c1 fix file path 2020-06-30 16:22:55 +00:00
jruoho 319465cf55 As bin/55344 was fixed, note the flags also in rc.conf(5). 2020-06-24 10:30:43 +00:00
wiz bc3f8a62e1 New sentence, new line. Fix macro arguments. Improve Nd.
Remove superfluous Pp. Other minor cleanups.
2020-06-24 08:20:13 +00:00
maxv 61584588ce kernel_sanitizers.7 2020-06-23 16:08:46 +00:00
wiz 6778ca9128 Remove trailing whitespace. 2020-06-19 07:25:20 +00:00
kamil 460ab12717 Document kmem_strdup() and kmem_strndup()
Added in 2018 by christos@ in sys/sys/kmem.h r. 1.11.
2020-06-18 23:30:51 +00:00
wiz e830eb67a9 Add acl(9) from FreeBSD.
Needs work before it should be added to the build.
2020-06-18 20:38:42 +00:00
thorpej 4abc8d232e Add vmem_xfreeall(), which frees all allocated regions in the specified arena.
All outstanding allocations MUST have been performed with vmem_xalloc() or
else the behavior is undefined.  (This also implies that the arena must also
not have a quantum cache; note this in the documentation.)
2020-06-16 01:29:00 +00:00
rkujawa 6944fee265 is -> are 2020-06-14 22:30:44 +00:00
ad 83f424cd54 g/c vm.idlezero 2020-06-13 20:18:00 +00:00
wiz a00a9756c0 Use more markup. 2020-06-12 20:58:43 +00:00
roy fead816208 bpf(4): Add ioctls BIOCSETWF and BIOCLOCK
Once BIOCLOCK is executed, the device becomes locked which prevents the
execution of ioctl(2) commands which can change the underlying parameters
of the bpf(4) device. An example might be the setting of bpf(4) filter
programs or attaching to different network interfaces.

BIOCSETWF can be used to set write filters for outgoing packets.
Currently if a bpf(4) consumer is compromised, the bpf(4) descriptor can
essentially be used as a raw socket, regardless of consumer's UID.
Write filters give users the ability to constrain which packets can be sent
through the bpf(4) descriptor.

Taken from OpenBSD.
2020-06-11 13:36:20 +00:00
sevan 919267d79b Use Dx macro 2020-06-08 20:19:12 +00:00
sevan 7b7e9ceaac Pp before Bl 2020-06-08 17:28:10 +00:00
sevan 0d0557bb3b white space 2020-06-08 17:19:44 +00:00
wiz 4a32f951d1 Add missing comma. 2020-06-04 13:45:19 +00:00
jdolecek 918a50ed58 slightly improve sentence, no need to 'Note' when in NOTES section 2020-05-30 17:18:22 +00:00
jdolecek 4da6fcc004 remove M_SOFTDEP from list of supported malloc types, it's long gone
also remove M_PCB - while it is used by SCTP, it's actually not defined
anywhere

in fact add new NOTES section explaining that the malloc types are
actually not used on NetBSD
2020-05-30 17:12:01 +00:00
nia 3b4f5b4cb0 Remove extremely outdated list of supported devices.
Since this man page will likely be read on a running system, I don't
think providing a list of very old devices that might work is
necessarily useful.
2020-05-27 13:49:16 +00:00
jdc e738d60314 Add tadpmu to Makefile and set list. 2020-05-19 06:26:37 +00:00
wiz 80892d06ff Whitespace fixes and a serial comma. 2020-05-18 16:42:05 +00:00
jdc 2f8e1da7e4 Add a basic manual page for tadpmu. 2020-05-18 08:40:44 +00:00
riastradh 9c94f9d816 Remove obsolete paragraph. 2020-05-17 01:00:34 +00:00
tnn 79915ae707 wsdisplay.4: correct ioctl name for WSDISPLAYIO_GET_FBINFO 2020-05-16 20:27:38 +00:00
maya 5cf9e8b81f Remove uyap, USB YAP phone firmware loader.
And the associated ezload EZ-USB code, which is only used by uyap.
It could theoretically be used by other drivers, but none of them are
in tree.

I suspect that this device isn't in use, as phone technology has improved
a lot since 2001 when uyap(4) was added to the tree.

Proposed with no objections on netbsd-users on 13 April 2020
2020-05-16 13:46:10 +00:00
kamil b2e8cbc777 Fix typo
Reported by vezhlys on IRC.
2020-05-15 09:21:59 +00:00
snj f27f66ae80 - prune src/gnu and src/sys/netsmb
- add src/sys/netcan
- remove bogus statement about location of reachover Makefiles
- tweak language
2020-05-14 16:32:57 +00:00
leot 467c5d63f6 Remove a reference to /etc/netstart
It was removed in rc.d era and no longer honored (except by newbtconf(8)).

Noticed by Ottavio Caruso on #netbsd@Freenode, thanks!
2020-05-12 10:20:16 +00:00
riastradh f21348ab88 Remove timedwaitclock.
This did not fix the bug I hoped it would fix in futex, and needs
more design thought.  Might redo it somewhat differently later.
2020-05-11 03:59:33 +00:00
riastradh 4fe11140e4 Mark experimental-default-off knobs clearly as such. 2020-05-10 02:32:32 +00:00
riastradh f96b491d2f Document vm.swap_encrypt. 2020-05-10 02:31:29 +00:00
riastradh 3d1d29c849 Tweak kern.arandom documentation. 2020-05-10 02:30:33 +00:00
wiz de5a2786ff Fix macro usage. 2020-05-07 12:56:19 +00:00
rkujawa c388420a0e Document the HDAUDIO_ENABLE_HDMI and HDAUDIO_ENABLE_DISPLAYPORT options. 2020-05-06 20:15:15 +00:00
riastradh df65398010 Update to reflect change to message. 2020-05-06 18:38:20 +00:00
wiz 8b5b0fc37e Improve markup. 2020-05-04 15:13:45 +00:00
wiz 3b9d941ba3 Break line after macro arguments end. Use \- for minus. 2020-05-04 15:10:40 +00:00
riastradh 5d5b825847 Bump date. 2020-05-03 04:06:15 +00:00
riastradh c97c41e809 Document cv_timedwaitclock. 2020-05-03 04:05:50 +00:00
riastradh 6d64c76acc Add a note about setting the timeout to zero _and_ returning success. 2020-05-03 04:05:28 +00:00
riastradh 5b0aa16b11 Simplify example of cv_timedwaitbt.
It is simpler if there is only one place we check the condition.

That said, there are cases where the caller needs to re-check before
choosing to fail (e.g., futex_wait in kern/sys_futex.c, which must
verify the condition before taking destructive steps to abort the
wait).  But it's not clear that that's the norm.
2020-05-03 04:05:00 +00:00
riastradh a36c0b2b71 Update cv_timedwaitbt documentation to reflect useful reality.
Previously, a negative timeout was forbidden (kassert), a zero or
maybe even just a sufficiently small timeout would block forever, and
we would subtract the time elapsed -- possibly longer than the
timeout, leading to a negative updated timeout, which would trip the
kassert the next time around if used as advertised.  DERP.

Now negative timeouts are still forbidden in order to detect usage
mistakes, but a zero timeout fails immediately and we clamp the
subtracted time to be at least zero so you can always safely call
cv_timedwaitbt in a loop.

(An alternative would be to fail immediately for all nonpositive
timeouts, and to leave in the timespec the negative time we overshot,
but it's not clear this would be useful.)
2020-05-03 04:04:32 +00:00
jdolecek 40ace5566a link also m_apply(9) to mbuf(9) 2020-05-01 21:43:23 +00:00
riastradh 9dcd95ee64 Combine some related paragraphs. 2020-05-01 19:56:08 +00:00
riastradh 57efbe1b81 Tighten language so it fits in one paragraph again.
This way the first two paragraphs have parallel structure:

- _Applications_ should read from /dev/urandom or sysctl kern.arandom...
- _Systems_ should be engineered to read once from /dev/random...
2020-05-01 19:54:37 +00:00
nia 47b7f85860 rnd.4: Bump dates. 2020-05-01 12:43:33 +00:00
nia 0714b28933 rnd.4: Explain why libraries should use kern.arandom over /dev/urandom 2020-05-01 12:30:16 +00:00
nia a04ab133b7 Update documentation of kern.arandom. It uses cprng_strong(9). 2020-05-01 10:06:09 +00:00
riastradh 5084c1b50f Rewrite entropy subsystem.
Primary goals:

1. Use cryptography primitives designed and vetted by cryptographers.
2. Be honest about entropy estimation.
3. Propagate full entropy as soon as possible.
4. Simplify the APIs.
5. Reduce overhead of rnd_add_data and cprng_strong.
6. Reduce side channels of HWRNG data and human input sources.
7. Improve visibility of operation with sysctl and event counters.

Caveat: rngtest is no longer used generically for RND_TYPE_RNG
rndsources.  Hardware RNG devices should have hardware-specific
health tests.  For example, checking for two repeated 256-bit outputs
works to detect AMD's 2019 RDRAND bug.  Not all hardware RNGs are
necessarily designed to produce exactly uniform output.

ENTROPY POOL

- A Keccak sponge, with test vectors, replaces the old LFSR/SHA-1
  kludge as the cryptographic primitive.

- `Entropy depletion' is available for testing purposes with a sysctl
  knob kern.entropy.depletion; otherwise it is disabled, and once the
  system reaches full entropy it is assumed to stay there as far as
  modern cryptography is concerned.

- No `entropy estimation' based on sample values.  Such `entropy
  estimation' is a contradiction in terms, dishonest to users, and a
  potential source of side channels.  It is the responsibility of the
  driver author to study the entropy of the process that generates
  the samples.

- Per-CPU gathering pools avoid contention on a global queue.

- Entropy is occasionally consolidated into global pool -- as soon as
  it's ready, if we've never reached full entropy, and with a rate
  limit afterward.  Operators can force consolidation now by running
  sysctl -w kern.entropy.consolidate=1.

- rndsink(9) API has been replaced by an epoch counter which changes
  whenever entropy is consolidated into the global pool.
  . Usage: Cache entropy_epoch() when you seed.  If entropy_epoch()
    has changed when you're about to use whatever you seeded, reseed.
  . Epoch is never zero, so initialize cache to 0 if you want to reseed
    on first use.
  . Epoch is -1 iff we have never reached full entropy -- in other
    words, the old rnd_initial_entropy is (entropy_epoch() != -1) --
    but it is better if you check for changes rather than for -1, so
    that if the system estimated its own entropy incorrectly, entropy
    consolidation has the opportunity to prevent future compromise.

- Sysctls and event counters provide operator visibility into what's
  happening:
  . kern.entropy.needed - bits of entropy short of full entropy
  . kern.entropy.pending - bits known to be pending in per-CPU pools,
    can be consolidated with sysctl -w kern.entropy.consolidate=1
  . kern.entropy.epoch - number of times consolidation has happened,
    never 0, and -1 iff we have never reached full entropy

CPRNG_STRONG

- A cprng_strong instance is now a collection of per-CPU NIST
  Hash_DRBGs.  There are only two in the system: user_cprng for
  /dev/urandom and sysctl kern.?random, and kern_cprng for kernel
  users which may need to operate in interrupt context up to IPL_VM.

  (Calling cprng_strong in interrupt context does not strike me as a
  particularly good idea, so I added an event counter to see whether
  anything actually does.)

- Event counters provide operator visibility into when reseeding
  happens.

INTEL RDRAND/RDSEED, VIA C3 RNG (CPU_RNG)

- Unwired for now; will be rewired in a subsequent commit.
2020-04-30 03:28:18 +00:00
jmcneill c2bf22a2df Add support for Realtek RTS522A 2020-04-27 23:06:34 +00:00
simonb 3fd4d3b537 More path markup. Ref wizd(8). 2020-04-26 00:40:10 +00:00
wiz 9f6b6bc85a Use more markup. 2020-04-25 13:51:04 +00:00
simonb 1051ded1d9 Document the "database" configuration option. 2020-04-25 10:56:53 +00:00
jdolecek 642bc4c72b bump date 2020-04-24 13:54:56 +00:00
jdolecek 09a2b15c05 actually MBUFTRACE does splvm(), kpreempt_disable()/enable() and percpu,
this has non-slight overhead - amend documentation to stop claiming
the overhead is slight

adresses PR port-xen/50290
2020-04-24 13:47:50 +00:00
ryo 7d182e1a03 add AQC100, AQC100S, D100 2020-04-24 04:37:27 +00:00
jdolecek 4e451dae6b fix tyop 2020-04-23 15:55:14 +00:00
jdolecek 00eb0f15bf elaborate on why we don't support hardware checksum offloading, and probably
never will
2020-04-23 15:54:36 +00:00
simonb a539149917 Note that these drivers are present on some newer AMD Family 15h
processors.
2020-04-20 11:09:48 +00:00
gutteridge 277fa1cfb2 fstab.5: note the first field is a placeholder for some FSes
Addresses PR misc/52607. (I suppose something about this could also be
added to the man pages for the mount commands for each applicable file
system, but I think this should suffice.)
2020-04-19 19:20:32 +00:00
wiz 0f2169d04c Remove trailing comma. 2020-04-18 18:55:20 +00:00
jdolecek efee1aad48 remove documentation for (non-atomic) boottime, it was eliminated
from kernel in 2020-01-02 by thorpej@
2020-04-17 17:43:38 +00:00
kim 568e57b236 Update date 2020-04-17 13:36:48 +00:00
pgoyette 2a14d5b775 Put the spaces back (they're part of the config(1) syntax) but quote
them to avoid formatting errors
2020-04-16 18:56:04 +00:00
pgoyette 0be19164f9 Remove extraneous spaces 2020-04-16 18:51:47 +00:00
kim aae8c85b3e Add an "rtsol" keyword to ifconfig.if for enabling IPv6 RS/RA 2020-04-15 20:31:57 +00:00
simonb 1c61f00504 Add xref to umodem(4). Mistake picked up by wizd(8), but somewhat
unexpectedly it didn't correct the reference to the one I meant but
got wrong.  Need to remember to file a bug report against wizd(8).
2020-04-13 11:17:27 +00:00
jdolecek a6db9077db remove the In-System design note, related code is about to be dropped and
it doesn't make sense to have a note about things we don't support
2020-04-13 09:15:54 +00:00
wiz 6618bd8ba0 Remove superfluous whitespace & macros. 2020-04-13 08:59:14 +00:00
wiz 5f0ae7a9b4 Fix date. Remove Xr to non-existent modem(4). Serial comma. Use more macros. 2020-04-13 08:46:39 +00:00
wiz 0e961a0fbe Bump date for previous 2020-04-13 08:45:11 +00:00
chs 328da78dac slightly change and fix the semantics of pool_set*wat(), pool_sethardlimit()
and pool_prime() (and their pool_cache_* counterparts):

 - the pool_set*wat() APIs are supposed to specify thresholds for the count of
   free items in the pool before pool pages are automatically allocated or freed
   during pool_get() / pool_put(), whereas pool_sethardlimit() and pool_prime()
   are supposed to specify minimum and maximum numbers of total items
   in the pool (both free and allocated).  these were somewhat conflated
   in the existing code, so separate them as they were intended.

 - change pool_prime() to take an absolute number of items to preallocate
   rather than an increment over whatever was done before, and wait for
   any memory allocations to succeed.  since pool_prime() can no longer fail
   after this, change its return value to void and adjust all callers.

 - pool_setlowat() is documented as not immediately attempting to allocate
   any memory, but it was changed some time ago to immediately try to allocate
   up to the lowat level, so just fix the manpage to describe the current
   behaviour.

 - add a pool_cache_prime() to complete the API set.
2020-04-13 00:27:16 +00:00
simonb cddaf0cb47 Add NetBSD CVS tag. 2020-04-12 02:04:12 +00:00
simonb a91470c59b Add uxrcom driver for Exar XR21V141x USB serial adapters. Based in part
on the OpenBSD single-port XR21V1410 uxrcom driver, but adds support
for multi-port chipsets and uses the common umodem framework instead of
being a standalone driver.

Thanks to skrll@ for much USB clue and mrg@ for financing the
development of this driver.
2020-04-12 01:10:53 +00:00
ad e0bb7e8edd - Make this needed sequence always work for condvars, by not touching the CV
again after wakeup.  Previously it could panic because cv_signal() could
  be called by cv_wait_sig() + others:

	cv_broadcast(cv);
	cv_destroy(cv);

- In support of the above, if an LWP doing a timed wait is awoken by
  cv_broadcast() or cv_signal(), don't return an error if the timer
  fires after the fact, i.e. either succeed or fail, not both.

- Remove LOCKDEBUG code for CVs which never worked properly and is of
  questionable use.
2020-04-10 17:16:21 +00:00
jdolecek 0b4aefec80 add a warning in checksum offload that hardware TCP segmentation might be
slow

on I219 I observe about 35% transmit performance drop when tso4 enabled
2020-04-08 23:01:51 +00:00
jdolecek 1243d69abd bring the section on automatic acquisition of kernel_lock up-to-date 2020-04-07 07:25:09 +00:00
rin 6776cf02ff Remove copy-paste garbage. 2020-04-06 08:26:33 +00:00
jdolecek b122d52951 remove RX flip from diagnostic, it was removed 2020-04-05 19:03:30 +00:00
jdolecek b28734a61b remove SMBFS and nsmb/netsmb - userland part 2020-04-04 15:39:13 +00:00
jdolecek fea2af3136 remove mount_smbfs(8)/nsmb(4) references 2020-04-04 15:32:42 +00:00
roy 61a9079563 Add _dhcpcd entries. 2020-04-02 20:57:20 +00:00
gson 42a6cab883 Fix incorrect device path. OK jmcneill. 2020-04-01 15:42:15 +00:00
gson 1db3cc90ce regen 2020-04-01 15:33:50 +00:00
ryo 36b02b5b3e add missing netmos devices
- NetMos NM9900 PCIe (pucdata.c r1.106)
- NetMos NM9912 PCIe (pucdata.c r1.104)
- NetMos NM9855 PCIe (pucdata.c r1.49)
2020-03-31 07:08:59 +00:00
maya 9d3388e3c9 Don't mention a.out support, which does not exist in ddb any more. 2020-03-30 20:47:57 +00:00
wiz 528cd50a16 Remove trailing whitespace. 2020-03-28 05:47:41 +00:00
isaki 9dfdc1fc6d Add description about channel limitation introduced in audio.c 1.43.
PR kern/54973.
2020-03-28 04:55:08 +00:00
isaki 819aaeb57a Revert 1.96, 1.97 and 1.100. (no response from nia@)
These changes are not correct nor notable unresolvable problem.
If you find any problems, please send a report before changing manpage.
2020-03-28 04:21:58 +00:00
skrll c97977ea42 Fix cprng_fast64 return type to match code 2020-03-24 08:48:31 +00:00
wiz 5303923225 Fix some typos, remove unnecessary Pp 2020-03-20 08:02:55 +00:00
thorpej a3d4be7fa6 Update for recent locking changes. 2020-03-20 01:15:05 +00:00
nia e911afe581 audio.4: 1-12 channels are only universally supported for playback.
When a mono recording device is set to use 1 channel, the kernel will
correct the number of channels back down to 1. This information can be
obtained with AUDIO_GETINFO...
2020-03-17 10:50:59 +00:00
nia 2dc9c196d6 audio.4: Mention the blk_ms sysctl 2020-03-16 19:20:36 +00:00
wiz 6d5974e98f Sort sections. 2020-03-16 13:02:05 +00:00
nia 02ea559cdf pms.4: Typo. 2020-03-16 09:31:41 +00:00
nia bfc83a571c audio.4: O_NONBLOCK isn't the actual problem 2020-03-16 09:20:01 +00:00
nia b65a7a635c audio.4: Remove reference to using O_NONBLOCK
It doesn't work properly, but this turns out to not be a problem in most
code (code where it is generally uses threads)...

Don't provide misleading information about using it, or programmers
might start wondering why their code doesn't work.

Noted by Yorick Hardy on current-users
2020-03-16 08:50:06 +00:00
nia dd302e79dd synaptics: Set up_down_emulation=3 by default.
It's a less surprising default for modern hardware.
2020-03-14 19:29:39 +00:00
ad be9c6147a4 pmap_remove_all(): Return a boolean value to indicate the behaviour. If
true, all mappings have been removed, the pmap is totally cleared out, and
UVM can then avoid doing the work to call pmap_remove() for each map entry.
If false, either nothing has been done, or some helpful arch-specific voodoo
has taken place.
2020-03-14 14:05:42 +00:00
nia 6fe7b60978 synaptics: Make up_down_emulation useful for single-button clickpads
On devices such as the Thinkpad X250, the clickpad can be pressed
to generate mouse button events 1 and 2. There are also additional
physical buttons which the pms(4) driver recognizes as "up/down" buttons
(mouse buttons 3 and 4). Allow these to be remapped to buttons 1 and 2
and used like normal touchpad buttons with the following sysctl:

# sysctl -w hw.synaptics.up_down_emulation=3

While here, adjust the existing "middle button emulation"
(hw.synaptics.up_down_emulation=1) so it works with single-button
clickpads.

XXX: 3 may be a more useful default than the current default,
depending on hardware availability of touchpads with "up/down buttons".

Update the documentation accordingly.
2020-03-14 13:08:18 +00:00
tnn a5b3fa3e75 correct documentation for options TFTPROOT
TFTPROOT does *not* require MEMORY_DISK_IS_ROOT. In fact, it doesn't
work at all when MEMORY_DISK_IS_ROOT is set, because then setroot()
tries to perform dhcp on md0 instead of the network card.
2020-03-07 23:17:47 +00:00
isaki b7468096e2 Describe about (existing) constraints on round_blocksize(). 2020-02-29 05:39:03 +00:00
kim aa06efc870 Typo fix (remove extra TPM) 2020-02-28 07:31:38 +00:00
kim 7fa57f6b97 Fix .Dt to match installed section 2020-02-28 07:30:51 +00:00
uwe 035e2f78b0 Make .Bl -width match the actual .It usage. 2020-02-26 18:39:24 +00:00
uwe 79985dd01d Minor formatting tweaks. 2020-02-26 18:32:57 +00:00
uwe e979ab6242 Fix unedited pasto. 2020-02-26 18:25:39 +00:00
wiz ed72789936 Minor fixes. 2020-02-26 10:06:08 +00:00
wiz 795276af5a Fix Xr section numbers. 2020-02-26 10:04:32 +00:00
riastradh e4d662933e Draft man pages for the standard users and groups.
These are currently listed in order of uid because I went through
src/etc/group and src/etc/master.passwd line by line, and sorting any
other way after the fact -- like lexicographically, how it should be
-- was kinda inconvenient.

Feel free to sort, add information, add historical references,
correct any mistakes, &c., so that these remain living documents
describing NetBSD's standard users and groups and practices around
them.
2020-02-26 07:31:51 +00:00
rin c7f03ba743 Add one more: Buffalo BSUSRC06. 2020-02-25 11:36:48 +00:00
rin 897e200cea Add CableCreation CD0487 to supported adapter list.
Bump date.
2020-02-25 11:32:09 +00:00
mrg 0cf113e74f install rw_lock_op link too. 2020-02-23 08:57:44 +00:00
isaki 92e2bd444b Make start_input/halt_input optional if the driver has no recording,
make start_output/halt_output optional if the driver has no playback.
And remove such never called functions.
2020-02-23 04:02:45 +00:00
ad 284662e223 Add rw_lock_op(): return either RW_READER or RW_WRITER for a lock that is
known to be held by the caller.  Panic if the lock is not held.
2020-02-22 21:24:44 +00:00
martin fe36d07293 Move sysinst man page next to the source 2020-02-19 21:42:53 +00:00
jmcneill 02f33d7bd0 Remove azalia(4) references, spotted by maxv 2020-02-16 10:45:42 +00:00
sevan e15af42da1 grammar 2020-02-13 22:48:11 +00:00
ryoon b48c5a02dc Add description on hw.alps.touchpad_movement_threshold 2020-02-10 16:13:48 +00:00
ryoon 3f4e05bdbc Reflect typo fix, bump date 2020-02-10 15:30:33 +00:00
ryo accb2dabd4 add support VLAN HW filter 2020-02-10 05:53:11 +00:00
jmcneill 428130a8e6 Retire azalia(4). 2020-02-09 16:06:17 +00:00
maxv 1273dfb58e Reference nvmmctl(8). 2020-02-09 12:19:01 +00:00
roy 6847938ebe route(4): add RO_MISSFILTER socket option
This allows filtering of specific RTM_MISS destination sockaddrs.
2020-02-08 14:17:30 +00:00
maxv 081da2e4c3 Retire KLEAK.
KLEAK was a nice feature and served its purpose; it allowed us to detect
dozens of info leaks on the kernel->userland boundary, and thanks to it we
tackled a good part of the infoleak problem 1.5 years ago.

Nowadays however, we have kMSan, which can detect uninitialized memory in
the kernel. kMSan supersedes KLEAK: it can detect what KLEAK was able to
detect, but in addition, (1) it operates in all of the kernel and not just
the kernel->userland boundary, (2) it requires no user interaction, and (3)
it is deterministic and not statistical.

That makes kMSan the feature of choice to detect info leaks nowadays;
people interested in detecting info leaks should boot a kMSan kernel and
just wait for the magic to happen.

KLEAK was a good ride, and a fun project, but now is time for it to go.

Discussed with several people, including Thomas Barabosch.
2020-02-08 07:07:06 +00:00
wiz cb8499b801 Remove duplicate word. 2020-02-07 15:11:46 +00:00
thorpej 4c962dcba7 Document percpu_foreach_xcall(). 2020-02-07 13:02:35 +00:00
riastradh 7735b624a8 Redocument xc_barrier.
Be more clearer, and more correcter, about what it does.
2020-02-01 13:35:11 +00:00
riastradh d92a26fbe9 New function percpu_create.
Associates a constructor and destructor with the percpu.  Currently
the constructor runs immediately, but in principle we could use the
same API for future CPU hotplug support.

This lets you sleep for allocation or draining users before
deallocation when setting up or tearing down a percpu -- currently we
have many abuses of percpu_foreach in tree for that purpose.

Proposed on tech-kern:
https://mail-index.NetBSD.org/tech-kern/2020/01/30/msg026036.html
2020-02-01 12:49:02 +00:00
sevan c8c5fbdc3e new sentence, new line 2020-01-31 00:24:51 +00:00
maya 5e031685d6 remove urio(4), a driver for the Rio500 MP3 player.
At this point it is highly unlikely this 1999 device still has users,
but it still comes up in the context of maxv's USB-fuzzing (and any device
could pretend to be a urio(4)), so it's best to get rid of it.

Renamed all major entries to obsolete, as was done in previous removals.

This still requires an update to sanitizers, but they're located in
"external", perhaps it should be first committed upstream?

Proposed on tech-kern a month ago.
2020-01-29 18:39:00 +00:00
thorpej 264ecc7b95 Remove references to le@pci, and direct users to pcn(4) instead. 2020-01-25 18:53:31 +00:00
thorpej c718a72d76 I overlooked the esh(4) man page when removing HIPPI support; remove it
now.  Thanks maxv@ for noticing and pointing it out.
2020-01-22 14:01:50 +00:00
wiz 6e6411c310 Remove superfluous Pp. 2020-01-21 07:53:51 +00:00
thorpej 4541d6828b Remove FDDI support. 2020-01-20 18:38:17 +00:00
nia 288b76eaef when referring to the "user"/"operator"/"network manager": he -> they 2020-01-20 13:08:40 +00:00
riastradh 08a157de6e Remove filemon(4).
Discussed on tech-kern:
https://mail-index.NetBSD.org/tech-kern/2020/01/13/msg025938.html

This was never (intentionally) enabled by default, and the design has
some shortcomings.  You can get mostly the same results with ktrace,
as in usr.bin/make/filemon/filemon_ktrace.c which is now used instead
of filemon for make's meta mode.

If applications require higher performance than ktrace, or nesting
that ktrace doesn't support, we might consider adding something back
into the vfs system calls themselves, without hijacking the syscall
table.  (Might want a more reliable output format too, e.g. one that
can handle newlines in file names.)
2020-01-19 20:41:17 +00:00
thorpej ed469c22d6 Remove Token Ring support. 2020-01-19 20:00:35 +00:00
thorpej 332fd700ea Remove the de(4) driver, which has long since been supplanted by the
tlp(4) driver, which supports more chips and more board variants.
2020-01-19 17:53:14 +00:00
thorpej c1d9ec8d89 Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is
long since obsolete.
2020-01-19 01:25:03 +00:00
simonb 2fb6b7b160 Revert kern/54790 and kern/54855 NCQ fix that penalised all Samsung
EVO 860 drives.

ok jdolecek@
2020-01-18 11:22:49 +00:00
maya 09ad70fb6c Remove uyurex(4).
This is a driver for a "nonsense machine" made by the art group Maywa-Denki
in 2008. It was disabled by default.

Unfortunately even so it draws development attention (flaws found in the
code, MP-ification needs) and it is best not to continue to maintain this
driver.

Proposed without objections on tech-kern.
2020-01-17 15:00:20 +00:00
skrll 2098dd207b Add '_p' to uvm_physseg_valid to match the function. Bump date. 2020-01-17 12:34:55 +00:00
kardel 3408b8e06e Provide SIOCGIFMEDIA ioctl to deliver link status.
Add link0 (IFF_LINK0) flag to map INIT state to LINK_STATE_DOWN
instead of LINK_STATE_UNKNOWN. This allows routing software to
suppress routes to the interface of the carp interface when in
init state (e. g. link down in the parent interface).
2020-01-16 12:56:39 +00:00
msaitoh b45be541ba Update for AMD FCHs (HUDSON, BOLTON and KERNCZ). 2020-01-14 15:43:19 +00:00
wiz 592c2ae6b6 New sentence, new line. 2020-01-14 09:30:34 +00:00
jdolecek 94fd4cfd58 bump date for previous change 2020-01-13 21:43:38 +00:00
jdolecek ee272eac35 document the wd(4) sysctl nodes, and add the note about the Sumsung EVO drives
part of fix for PR kern/54790 and PR kern/54855
2020-01-13 21:43:06 +00:00
uwe 15b02c1c94 Sort the list. Minor markup and wording tweaks. 2020-01-13 16:11:53 +00:00
uwe 6c5f0f40cb Oops. Restore the dot lost in -width ".Dv ..." 2020-01-13 16:01:37 +00:00
uwe 33f5687847 Fix -width in the tagged list of special "handle" values. 2020-01-13 15:59:11 +00:00
uwe 45e536efb2 Minor tweaks.
Use same -indent for lists of values that are OR'ed as one argument.
Use consistent markup for dli_* member names.
Untabify Dl_info definition so that it lines up in PS output.
2020-01-13 15:54:48 +00:00
kamil 1d600a251c Fix a typo 2020-01-13 14:25:06 +00:00
kamil a653af7d46 Correct the authorship note of dlinfo(3) 2020-01-13 14:24:16 +00:00
uwe ecd640553b Miscellaneous fixes.
No space after asterisk in "type *arg".
There's no "-width indent", use something relevant instead.
Do not document the structure tag of the Link_map typedef.
Give the Link_map members a paragraph of their own for readability.
Give them a bit more breathing space in the tagged list.
Spell pooka's name correctly.

TODO: The text is pleonastic in several places ("Do foo.  On success
does foo." etc) and could use some copy editing.
2020-01-13 14:10:52 +00:00
wiz c6a8c7ed71 Add missing El. Fix grammar. 2020-01-13 11:47:06 +00:00
wiz 204fd08087 Clean up dash use. Remove superfluous Pp. 2020-01-13 11:44:02 +00:00
kamil 230d4c0473 Bump date in dlfcn(3) 2020-01-13 09:00:59 +00:00
kamil b99c657a23 Bump date in dlinfo(3) 2020-01-13 09:00:20 +00:00
kamil 2fcff62046 Cross-Link from dlfcn(3) to dlinfo(3) 2020-01-13 08:29:05 +00:00
kamil ee05bbd41a Document dlinfo(3)
Man-page taken from FreeBSD.
2020-01-13 08:25:02 +00:00
sevan e75b3ef75f Update callout_halt() to match src/sys/sys/callout.h 2020-01-12 20:49:21 +00:00
nia 64cbb87e66 Note some more layouts that work with KB_SWAPCTRLCAPS. 2020-01-11 21:45:08 +00:00
sevan 156bc3dc15 Import rge(4) from OpenBSD for Realtek's RTL8125 based 2.5GbE network cards. 2020-01-11 20:56:50 +00:00
maya 67719436d2 Fix markup typo. 2020-01-10 14:56:00 +00:00
maya 4fece28851 Add some more licenses appearing in external.
Remove mentions of src/gnu that no longer exists.
Mention /usr/pkg/etc.
Bump date
2020-01-10 12:58:41 +00:00
wiz d21e55a432 Break line after macro ends; add article 2020-01-01 20:13:19 +00:00
ryo 6d2cfc2125 add support Aquantia AQC seriese 10G network adapters.
this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.
2020-01-01 10:11:21 +00:00
uwe 7b0d3f464c Use -dash list instead of -tag list without content. 2019-12-30 00:49:56 +00:00
wiz 37492cb5bd Add missing '-width' argument to macro. 2019-12-29 23:03:20 +00:00
triaxx f47126f28c urndis.4: add LGE Nexus 5 as a knonw working device. 2019-12-29 20:58:34 +00:00
msaitoh 417c7af79c s/conjuction/conjunction/ 2019-12-27 10:13:59 +00:00
msaitoh a0403cde04 s/transfered/transferred/ 2019-12-27 09:41:48 +00:00
msaitoh 157af15806 Update supported device list with part number. From FreeBSD. 2019-12-25 15:56:35 +00:00
reed 99bf06da72 Simplify Subsection formatting
Had a formatting issue with mandoc but not groff.
Reported to mandoc developer. Bug in mandoc
but was recommended to not use the "weird" feature.
2019-12-23 17:31:54 +00:00
maxv 87107185b5 Revert the removal of filemon. 2019-12-23 06:45:36 +00:00
wiz 1d3f9bf21d Improve wording. 2019-12-20 14:09:23 +00:00
yamaguchi e8ed765847 Add information for ixl(4)'s VLAN hardware filter 2019-12-20 02:24:02 +00:00
maxv e67f51b8f7 Retire filemon, discussed on tech-kern@. 2019-12-18 07:37:17 +00:00
joerg fcbdfe5fba Teach ddb(4) about printing the full mount list. 2019-12-15 20:29:08 +00:00
pgoyette 08f76bd663 Point out that spurious wake-ups are possible, and that an LWP should
check for resource availability after being awoken.
2019-12-12 02:34:55 +00:00
scole bb0577334b Synchronize htdocs, manual, comments, and code so that enabling the platinumfb is done using "platinum" in openfirmware settings. Remove "screen" option which was somewhat disingenuous. 2019-12-11 21:04:47 +00:00
yamaguchi ab26da02e0 Added the manual for ixl(4) 2019-12-10 13:07:28 +00:00
yamaguchi a5e8635231 Ported driver for Intel Ethernet 700 series
reviewed by msaitoh and knakahara
2019-12-10 12:08:52 +00:00
mlelstv f12d5d1854 Drop comment about dk_lookup being in the wrong place. 2019-12-08 12:23:00 +00:00
wiz 27a591f890 Sort SEE ALSO. 2019-12-08 10:57:17 +00:00
nia d4aa4cb973 Replace mention of azalia with hdaudio 2019-12-08 02:57:52 +00:00
nia ff58397b58 Add hdaudio 2019-12-08 02:54:54 +00:00
uwe 55d76dd035 Simplify markup for inline code to plain .Li in most places.
Use backslashes to protetect embedded spaces in inline code to prevent
filling from stretching them.

Use .Fn and .Fa to refer only to things this manual page documents,
they are not to be used for "a function" or "a function argument" in
general.

In code examples drop the empty line at the beginning of a function
(mandated by the KNF when there are no variables) - it doesn't help
readability here.
2019-12-08 00:00:59 +00:00
wiz 70da9690a6 Simplify macro usage. 2019-12-07 12:22:19 +00:00
kamil 86db9970db Remove misleading comments from core(5)
netbsd_elfcore_procinfo is still in version 1.
cpi_siglwp is stored in the same netbsd_elfcore_procinfo version (1).

The size of struct is stored in cpi_cpisize and the struct can be
expanded without versioning the struct.
2019-12-06 18:03:49 +00:00
riastradh c91905c4be Save the entropy seed daily in /etc/security. 2019-12-06 14:43:29 +00:00
riastradh 915366b261 Update rnd(9) man page to reflect reality since netbsd-7.
- Note rndsource_setcb, RND_FLAG_HASCB, and rnd_add_data_sync.
- Note user's obligation to serialize access to each rndsource.
2019-12-04 03:04:43 +00:00
riastradh 560cfcce81 Use .Sy, not .Em, for bold-faced WARNING of impending doom.
Underline and, worse, italic aren't as good at catching the eye.
2019-11-30 02:47:14 +00:00
riastradh 4ff9c3de4a Document relation to atomic_ops(3) and membar_ops(3). 2019-11-30 02:38:44 +00:00
riastradh 44366f2bcd Document xc_barrier. 2019-11-30 02:22:23 +00:00
riastradh be06bc7780 Missed a spot: delete mb.9 from MLINKS too. 2019-11-29 22:38:28 +00:00
riastradh 86f9decda4 New atomic load/store operations for the kernel.
Guarantee no fusing and no tearing, and can optionally impose
ordering relative to other memory operations.

Unordered:
- atomic_load_relaxed
- atomic_store_relaxed

Ordered:
- atomic_load_acquire
- atomic_load_consume
- atomic_store_release

These are intended to match C11 semantics, and can be defined in
terms of the C11 atomic API when ready.
2019-11-29 22:17:23 +00:00
riastradh bb04fd03e6 Nix obsolete mb(9) man page. 2019-11-29 20:31:35 +00:00
ad e1ebacd1d3 Update to match recent changes. 2019-11-23 19:46:38 +00:00
tkusumi b94e44675e autofs: Change my email address in man pages to netbsd.org 2019-11-21 15:24:17 +00:00
hikaru 87bee1d028 Add opencrypto driver for Intel QuickAssist. 2019-11-20 09:37:44 +00:00
christos ee0c356bd6 Sync with FreeBSD which capitalizes the control character names, and adds
a binary set.
Add a table with the full names for the control character set.
2019-11-19 05:11:33 +00:00
gutteridge 360e979690 re.4: msaitoh@ added the NCube vendor ID that identifies the TP-Link
TG-3468 v2 as well.
2019-11-18 05:01:36 +00:00
wiz 99bcd5fce2 file system police. New sentence, new line. 2019-11-17 11:46:38 +00:00
mlelstv 7bc0ae990c Document new functions vn_bdev_open and vn_bdev_openpath. 2019-11-16 22:09:56 +00:00
nia dc40b3d931 Document usage of KERN_ARND 2019-11-16 17:33:09 +00:00
jdolecek bff033fe7d document vm.ubc_direct 2019-11-14 21:23:46 +00:00
isaki 8799519c62 Add some audio drivers in SEE ALSO. 2019-11-13 07:52:25 +00:00
wiz 625842098e Remove self-reference 2019-11-12 12:50:04 +00:00
wiz 3f63b553ac Update list of audio drivers in SEE ALSO.
Based on audioplay(1) man page, where I'll remove them shortly.
2019-11-12 12:49:06 +00:00
wiz 5952ea0ef1 Make a sentence easier to read, and fix some nits. 2019-11-11 11:06:27 +00:00
gutteridge 2ce1a612c2 re.4: note additional cards supported, and tweak another detail
This driver also works as-is with a D-Link DGE-530T rev. D2 and a
TP-Link TG-3468 v3, as both match pre-existing PCI vendor and device ID
values. (It should also work with a TG-3468 v2, but would need another
vendor ID match added for that variant.) While here, also note it
supports UDP checksum offload, too.
2019-11-10 23:14:16 +00:00
christos bfcdd97237 Document __FPTRCAST
XXX: more macros need documentation (__CAST etc.)
2019-11-10 18:45:09 +00:00
msaitoh 9068f29f34 Add support for KSZ80[0456]1, KSZ8721, KSZ9[01]31, KS8731 and KSZ9477.
It also supports LAN7430's internal PHY. First wrote by nisimura@ and added
some device support by me. Not tested well.
2019-11-06 16:02:53 +00:00
wiz 39fe99ec7b Remove superfluous Pp. 2019-11-06 11:55:18 +00:00
dyoung 19dbe0f014 Fix typo: vmem_add(9) does not actually take an `addrp` argument. 2019-11-05 22:19:43 +00:00
tnn 089ec8953f documentation for WSDISPLAYIO_FBINFO 2019-11-02 19:22:36 +00:00
tnn 81811bfe84 expand section on GPIOREAD 2019-11-02 18:56:41 +00:00
wiz 8cce55b527 Mention smscphy. Link to jmphy. Bump date. 2019-11-02 16:36:56 +00:00
wiz c410605877 Fix date. Improve history. Wording. Punctuation nit. 2019-11-02 16:34:49 +00:00
wiz aa781b6b21 Add missing quote. 2019-11-02 16:34:30 +00:00
wiz 6c167d6055 Fix RCS Id. Improve history. Punctuation nits. 2019-11-02 16:34:14 +00:00
tnn 29b6793c06 ssdfb: update manpage 2019-11-02 14:47:35 +00:00
msaitoh 2eec381762 Port SMSC LAN87xx 10/100 Ethernet PHY driver from FreeBSD with some cleanup
and IFM_NONE support.
2019-11-01 02:53:22 +00:00
msaitoh c9c1388e4a Add jmphy.4. 2019-10-30 13:32:32 +00:00
msaitoh d4bacf091b Add jmphy(4) from OpenBSD. 2019-10-30 12:06:25 +00:00
wiz ca05e4ffba "file system" police. 2019-10-28 13:43:10 +00:00
wiz fb89dfc245 Use Nx. Improve wording. Sort SEE ALSO. 2019-10-28 13:41:31 +00:00
wiz 78ec798ef6 Sort SEE ALSO. 2019-10-28 13:38:03 +00:00
ozaki-r b2358a5409 Implement a front-end driver of virtio-9p called vio9p
In conjunction with mount_9p, it enables a NetBSD system running as a VM guest
to mount an exported filesystem by the host via virtio-9p.  It exports a 9p
end-point of virtio-9p via a character device file for mount_9p.

Reviewed by yamaguchi@
2019-10-28 02:56:40 +00:00
martin fdafaadd05 Add support for Nuvoton NCT5104D GPIO chips, as found on PC Engines APU
systems. From Andrew Doran in PR kern/54648.
2019-10-25 17:39:56 +00:00
msaitoh b4093656b6 Add support for Killer E2400 and E2500. 2019-10-17 09:13:48 +00:00
ryoon 34216fb6c3 Add Apple adapter, A1433 2019-10-15 13:21:19 +00:00
maxv 066833e6eb Improvements in tpm(4):
- Remove interrupt support, do polling only, avoids unnecessary trouble.
 - Simplify a few things.
 - Fix the suspend function, the SaveState command is 0x98, not 0x9C.
 - Make the driver MP-safe.
 - Sync the man page with reality.
2019-10-08 18:43:02 +00:00
wiz c46f45b0b3 Fix date. Add RCS Id. 2019-10-07 14:29:28 +00:00
wiz c6844e3115 New sentence, new line. 2019-10-07 14:29:21 +00:00
msaitoh d3ce678f8d Add support IC Plus IP1000* PHYs. PR/kern 42314 first reported by
Tomokazu HARADA and patch provided by Andrius V.
2019-10-07 11:53:40 +00:00
uwe bc5cb90f91 Use .Bl -tag -width Fn. There's no such thing as -width compact
or, rather, there is, but the width specified is that of the word
"compact".
2019-10-06 17:21:28 +00:00
uwe 48eb05d281 Avoid using .Fn for XC_HIGHPRI_IPL as it looks inconsistent with
.Dv XC_HIGHPRI
2019-10-06 17:14:18 +00:00
uwe 7c1ff2f1ba Format (*func)(arg1, arg2) so that "func" too is formatted as an
argument (the incantation is, admittedly, rather baroque and kludgy).
2019-10-06 17:01:15 +00:00
ryoon dfe601d86e Fix a pasto, uhdiev, bump date 2019-10-05 06:28:50 +00:00
gutteridge 4b075bd22c panic.9: add xrefs to printf(3) and printf(9)
printf(3) fmt strings are referenced in the body, and there might as
well be a cross-reference to other kernel message output functions.
2019-10-04 21:55:00 +00:00
rin d66ba54477 Describe roundup2(9) in roundup(9).
Bump date.

Install it also as roundup2(9).
2019-10-02 08:21:08 +00:00
sevan f3e3e81ae9 Document standards and correct history.
via Free / OpenBSD.
2019-09-30 13:44:52 +00:00
christos 63ec74c9e4 document that mstohz take and return unsigned int 2019-09-28 15:11:19 +00:00
wiz 2f5074a348 New sentence, new line. 2019-09-23 18:43:59 +00:00
jmcneill fc0d064c28 mcx(4) will appear in 9.0 2019-09-23 18:26:52 +00:00
christos 02cdd248ec Add a new member to struct vfsstat and grow the unused members
The new member is caled f_mntfromlabel and it is the dkw_wname
of the corresponding wedge. This is now used by df -W to display
the mountpoint name as NAME=
2019-09-22 22:59:37 +00:00
dsainty c5e7c3ca96 Purge an ancient email address, use dsainty@NetBSD.org instead 2019-09-22 07:42:28 +00:00
jmcneill a594e6948a Add support for Mellanox 5th generation ethernet devices. This driver
supports the ConnectX-4 Lx EN, ConnectX-4 EN, ConnectX-5 EN, and
ConnectX-6 EN adapters.

Driver ported from OpenBSD.
2019-09-21 14:04:12 +00:00
wiz d465c255f1 Fix date, add comma in enumeration. 2019-09-20 13:42:24 +00:00
mrg fe950ae3d5 add mos(4) driver for Moschip MCS7730/MCS7830/MCS7832 usb ethernet.
ported from openbsd.  usbnet version loses about 40% of code.
2019-09-20 10:34:54 +00:00
gson 3738f96e99 MKZFS is no longer the default on i386; it was disabled in 2015 in
bsd.own.mk 1.846.
2019-09-16 12:57:10 +00:00
manu 3f984dd2cd Remove obsoeolete BUGS note that UEFI bootloader does not support multiboot 2019-09-16 01:57:58 +00:00
gutteridge 4b9e0a77d2 fstab.5: add mention of zfs 2019-09-15 21:04:40 +00:00
maxv a342a8d3c1 Regen for vHCI, IPMI (was forgotten it seems), and srt (for which a man
page is now available).
2019-09-15 15:15:02 +00:00
tnn 7c284eeeb5 add SYNOPSIS for how to make ugen capture specific vendor & product 2019-09-14 11:19:38 +00:00
wiz 78994265c6 New sentence, new line. Bump date for previous. 2019-09-13 07:11:04 +00:00
manu 31a86650fb Document that bootdev option accepts device specification as NAME=label 2019-09-13 01:34:19 +00:00
sevan 88fd7a1b6c struct buf is typedefed to buf_t
specify the width argument for Bl
2019-09-12 21:08:35 +00:00
sevan a3f227edb3 Update parameter list, struct buf is typedefed to buf_t 2019-09-12 20:32:30 +00:00
ryo 77e643c7fb - examin/m displays with splitting by spaces as specified size
- add support 'q' modifier on all arch
- consider endianness
2019-09-10 09:32:04 +00:00
ryo 31e239d6f3 Add support for 'p' qualifier for pointer values on examine.
this shows as a pointer with symbol if possible. (e.g. "x/p $sp,10")
2019-09-10 08:16:04 +00:00
sevan 822b4698de Adjust history
Based on zero(4s) manual on P1334 of
http://chiclassiccomp.org/docs/content/computing/Sun/software/800-1751-10_SunOS4.0Reference_RevA_9May88.pdf
2019-09-09 01:22:24 +00:00
sevan ec2478416f wtmp was actually arount in v2
https://www.tuhs.org/Archive/Distributions/Research/1972_stuff/unix_2nd_edition_manual.pdf
via Ingo Schwarze <schwarze@OpenBSD>
2019-09-09 00:21:03 +00:00
sevan 8a189553dd core(5) was in v1
https://www.bell-labs.com/usr/dmr/www/man51.pdf
via Ingo Schwarze <schwarze@OpenBSD>
2019-09-09 00:14:55 +00:00
wiz 581b8a8821 Remove superfluous Pp. 2019-09-07 19:32:52 +00:00
sevan a39b301ea0 Extend history section
https://www.bell-labs.com/usr/dmr/man41.pdf
via Ingo Schwarze <schwarze@OpenBSD>
2019-09-07 16:37:20 +00:00
sevan ab9636cfb1 I missread a diff before making the change for the previous commit.
Drop the reference to v7 and the direct struct.
https://www.bell-labs.com/usr/dmr/www/man51.pdf
2019-09-07 12:17:10 +00:00
sevan a817d3689b dir(5) was what appeared in v7, the struct was called direct.
Fix history for dirent.

via Ingo Schwarze <schwarze@OpenBSD>
2019-09-07 11:35:01 +00:00
msaitoh bcf5b1471b Add support SIOCZIFDATA as ixgbe.c.
BUGS
     The following event counters are not cleared by SIOCZIFDATA because the
     corresponding registers are read only and not cleared on read:

           Good Packets Received
           Good Octets Received
           Multicast Packets Received
           Good Packets Transmitted
           Good Octets Transmitted
2019-09-05 10:01:30 +00:00
wiz d7f41ab186 New sentence, new line. Use \(em. 2019-09-04 05:37:06 +00:00
riastradh 8c9fd3588e Update NIST SP800-90A reference. 2019-09-04 04:03:25 +00:00
riastradh 31473673fa Replace slightly wrong rant by shorter and slightly less long rant.
(If X and Y in Z/2Z are independent, then so are X and X+Y.  What was
I thinking.)
2019-09-04 04:00:04 +00:00
riastradh c85d1d2343 Update man page to reflect switch from CTR_DRBG to Hash_DRBG. 2019-09-04 03:15:20 +00:00
gutteridge fc526dea88 urndis.4: note two additional brands/models known to work 2019-09-01 23:01:01 +00:00
wiz edfa7875a1 fetch(9) -> ufetch(9). Remove reference to unimplemented ppi(9). 2019-09-01 19:09:00 +00:00
wiz 7fe9b221bc fetch(9) -> ufetch(9). Remove superfluous Pp. 2019-09-01 19:08:35 +00:00
wiz 8a9aa6762b fetch(9) -> ufetch(9) 2019-09-01 19:08:22 +00:00
sevan 3402eb4f2c utmp(5) was present in v1
https://www.bell-labs.com/usr/dmr/www/man51.pdf
Earliest version of wtmp I could find was in v3
https://minnie.tuhs.org/cgi-bin/utree.pl?file=V3/man/man5/wtmp.5
2019-09-01 19:04:59 +00:00
sevan 167ab6fb0f passwd(5) was in v1
https://www.bell-labs.com/usr/dmr/www/man51.pdf
2019-09-01 18:57:05 +00:00
oster 9f2ab3a020 s/Xr store/Xr ustore/ to fix cross-references in these man-pages. 2019-09-01 17:50:32 +00:00
sevan dae97b56ad grammar 2019-09-01 15:08:52 +00:00
sevan 1b6d199210 Update arpresolve arguments 2019-09-01 14:49:11 +00:00
sevan 6be8c991bd Grammar
Document history
2019-09-01 14:40:07 +00:00
sevan b5df3a23fa Document history 2019-09-01 14:34:54 +00:00
sevan 0aad8f52a4 Document history 2019-09-01 14:22:12 +00:00
sevan 2428025147 spelling and grammar 2019-09-01 13:39:07 +00:00
sevan 016e22c37c Improve readability 2019-09-01 13:30:54 +00:00
sevan 202400c27b new sentence, new line 2019-09-01 12:56:14 +00:00
sevan 35f9263c55 grammar
address warnings from mandoc -Tlint while here.
2019-09-01 12:50:22 +00:00
maya eeb355e2e9 List bwfm at sdmmc 2019-09-01 08:04:48 +00:00
uwe 30c555fd2c Move the text that explains that cd(1) is a shell built-in to the very
beginning of the description where it can be seen prominently.
Improve formatting.
2019-08-31 21:35:50 +00:00
sevan 8f2ae5e634 Direct reader to shell documentation generally, rather than csh(1) specifically.
Mention variables OLDPWD and PWD.
2019-08-31 17:34:46 +00:00
sevan 3d85f14dad Document history 2019-08-30 21:41:42 +00:00
wiz 386e0403d4 Various minor fixes. 2019-08-30 09:24:19 +00:00
wiz be3f189986 Fix date. 2019-08-30 09:22:17 +00:00
mrg 0483faae68 document usbnet diagnostics in usbnet(4). remove all the no longer
present messages in specific drivers for the usbnet drivers.
2019-08-30 08:54:58 +00:00
uwe 4a712029ca New sentence - new line. Minor markup tweaks. 2019-08-29 16:08:14 +00:00
sevan ac2e3e80e3 Earliest reference to /dev/null I can find is in v4 sh(1) and nulldev in
nsys/ken/subr.c
via TUHS archive
https://minnie.tuhs.org/cgi-bin/utree.pl?file=V4
2019-08-29 15:22:08 +00:00
wiz dd0e934ad9 Add RCS Id, sort sections. 2019-08-28 22:11:25 +00:00
rmind 0e4f0bc520 Install thmap(9) man page. 2019-08-28 21:48:14 +00:00
rmind be44fde23f Add thmap(9) man page. Reviewed by wiz@.
Forgot to commit it half a year ago.
2019-08-28 20:08:11 +00:00
wiz b480f76e08 Mark up NULL. Capitalize NetBSD. 2019-08-23 07:14:35 +00:00
mrg 454a193c22 update for usbnet_mii and read/write reg return change. 2019-08-23 05:37:05 +00:00
gson f185b2bce9 Don't say that makeoptions DEBUG="-g" also turns on options DEBUG,
because it does not.  Fixes PR kern/54438.
2019-08-20 14:03:55 +00:00
maya ccb8bdcbd4 G/C mention of SCIOCREPROBE, removed in 1998.
Thanks to Hiroyuki Bessho in PR kern/34146
2019-08-18 11:53:23 +00:00
wiz 68efb6081c Typo fixes, 'file system'; new sentence, new line; expand IA-32.
Bump date for previous.
2019-08-18 08:12:36 +00:00
manu 05a5afb967 Document new GPT and RAIDframe capacity of bootstrap code
While there, also document EFI setup and some bugs
2019-08-18 02:23:48 +00:00
maxv 3808726a03 Unlink KMEM_GUARD leftovers. 2019-08-15 12:24:08 +00:00
wiz 377f156ee7 Fix Xr usage. 2019-08-15 08:37:13 +00:00
mrg d3025cbd35 - document locking requirements more
- expand uno_foo() docs to include return type and parameters
- expand uno_intr() docs
- add uno_tick()
- fix various typoes
2019-08-15 08:33:14 +00:00
uwe c3a403baa3 Drop xref to wsfontload(8). 2019-08-13 13:22:16 +00:00
uwe 93e3945ee8 Formatting tweaks. 2019-08-13 10:31:19 +00:00
maya 48ffb757ab Document pain of using wsmux with more than one type of keyboard from
userland.
2019-08-13 07:09:49 +00:00
nia 0af042a9d7 Fix some apparant typos of wscons defines.
These don't exist anywhere in /usr/include, but the corrected variants
do.

No idea why WSMOUSE_EVENT_VERSION is the odd one out. That seems incorrect
too.
2019-08-12 11:11:28 +00:00
mrg 24747793a5 remove mention of dv_private and note that usbnet must be first.
fix Ethernet capitalisation in one place.
2019-08-12 00:01:23 +00:00
wiz 7c3a4c78f7 Minor fixes. 2019-08-11 22:03:16 +00:00
mrg fc57de4558 minor rewording of a few places and add a new section to describe
the type of changes required to port a driver to usbnet interfaces.
2019-08-11 21:33:08 +00:00