Commit Graph

17718 Commits

Author SHA1 Message Date
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
christos
c6e7fca7f4 Document and set a default for KERNEL_DIR 2020-04-04 23:54:06 +00:00
christos
2cc98f83cd make sure _OSRELEASE is defined where it is needed. 2020-04-04 23:19:08 +00:00
christos
d361eb2a3d Switch x86 to the new binutils. 2020-04-04 20:47:56 +00:00
christos
d8e96a2d4f Infrastructure for putting kernel+modules in /netbsd/kernel and
/netbsd/modules respectively instead of /netbsd and
/stand/<arch>/<version>/modules.  This is only supported for x86,
and is turned off by default. To try it, add KERNEL_DIR=yes in your
/mk.conf and install a system from that build.
2020-04-04 19:50:53 +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
christos
e9be03e610 Linker semantics have changed; we now don't automatically link dependent
libraries from other DSO's. For example in /usr/bin/passwd:
ld: krb5_passwd.o: undefined reference to symbol \
	'UI_UTIL_read_pw_string@@OPENSSL_1_1_0'
ld: /usr/obj/amd64-x86_64/release/lib/libcrypto.so.14: error adding symbols: \
	DSO missing from command line
2020-04-04 13:33:14 +00:00
maxv
7f5f3e6b75 KCOV doesn't depend on specificdata and cpu_intr_p() anymore, so drop
references.
2020-04-04 07:03:57 +00:00
christos
a4770732da Fix kerberos libraries order 2020-04-04 03:35:01 +00:00
christos
0916a77251 Add libgnuctf 2020-04-04 01:35:22 +00:00
christos
00f1d03533 Switch to binutils.old 2020-04-03 17:57:30 +00:00
roy
61a9079563 Add _dhcpcd entries. 2020-04-02 20:57:20 +00:00
sevan
ab0cf3894f Sync with FreeBSD r359561 2020-04-02 11:09:24 +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
bad
a087c2fcde Belatedly add NanoPi R1. 2020-03-27 23:02:33 +00:00
christos
3958d16a96 As described in tech-userlevel:
- Modify the writing code to only write entries in the new
  format for the terminal descriptions that require it.
- Store new format entries as <name>@v3
- Store old format entries with clamped values as <name> for
  backwards compatibility
- Lookup first <name>@v3 and then <name> if that is not found.
- Don't create terminfo2 anymore; old programs keep working with
  clamped entries, and new programs be able to use the wide
  fields with using the original db file.
2020-03-27 15:11:57 +00:00
thorpej
7dbf99902b Add OrangePi Lite and Lite2. 2020-03-27 02:01:48 +00:00
leot
41ae6fc330 Add HPD
From Rocky Hotas, thanks!
2020-03-26 18:28:09 +00:00
leot
16690ce41b Add TLDW
From Rocky Hotas, thanks!
2020-03-26 18:25:32 +00:00
skrll
c97977ea42 Fix cprng_fast64 return type to match code 2020-03-24 08:48:31 +00:00
mrg
2f8ce28306 note that MKLLVMRT affects more than amdgpu. 2020-03-24 07:56:26 +00:00
kim
ac8e31be1d Fix the currency symbol for fi_FI.ISO8859-1
In the Finnish language, the recommended symbol for euro is the euro sign
where it is available, and the lowercase letter e otherwise.

The use of the ISO currency code EUR is not an abbreviation of the word
euro in the Finnish language, just like FIM is not an abbreviation of
the word markka.

Reference:
    https://www.kielikello.fi/-/euro-
    Euro
    Kielikello 3/1998
    Kotimaisten kielten keskus
    Institute for the Languages of Finland
    [Last retrieved 2020-03-23]
2020-03-23 13:56:12 +00:00
kim
601620aab2 Add C.UTF-8 2020-03-23 08:44:10 +00:00
wiz
5303923225 Fix some typos, remove unnecessary Pp 2020-03-20 08:02:55 +00:00
sevan
6cccac6916 Update to r359157 from FreeBSD 2020-03-20 03:19:43 +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