Commit Graph

18158 Commits

Author SHA1 Message Date
ryo
a41b701065 Numeric modifiers conflict with the syntax interpretation of ddb, so use 'b', 'w', 'l', 'q' instead.
Also, change load/store('l','s') to 'r','w' like the other arch.

 >db{0}> machine watch/1 hostname
 >Bad modifier

 >db{0}> machine watch/s1 hostname
 >add watchpoint 0 as ffffc00001087848
2021-03-11 10:34:34 +00:00
nia
00c9e6ab61 Move nvme where I expected to find it (disk controllers section) 2021-03-11 10:33:36 +00:00
nia
2c68c9ba50 Split wifi cards into a separate section, add many more. 2021-03-11 10:28:53 +00:00
simonb
996bea5137 Add printf_nostamp(9), kernel printf() without prepending a timestamp. 2021-03-10 13:27:51 +00:00
wiz
279c4abbec drm(4): allow limiting maximum X/Y resolution
With some drivers (at least radeon(4)), in some cases the driver
does not choose the resolution correctly.  The options
DRM_MAX_RESOLUTION_HORIZONTAL and DRM_MAX_RESOLUTION_VERTICAL allow
limiting the maximum resolution in X and Y direction.
2021-03-10 07:23:42 +00:00
wiz
55d4a9403e Improve wording, use more macros. 2021-03-09 12:02:24 +00:00
msaitoh
47293c3f8d Modify some parameters to reduce packet dropping.
- Background: ixgbe doesn't use common MCLGET() interface and use the
   driver specific cluster allocation mechanism (jcl). The cluster is
   pre-allocated with a fixed number and the current number per queue
   is num_rx_desc * 2 (2048*2=4096). It's too small. It also has a problem
   that the max length of the pcq which is used in the TX path is big
   (4096). Example:

    100M <----- [ixg0                                      ixg1] <----- 1G
                2048 TX descs <--- 4096 pcqs <---- 2048 RX descs

   If a machine forwards a traffic from 1G interface to 100M interface,
   It would require 2048+4096+2048=8192 descriptors, but the current number
   is 2048*2=4096. It's too small. Even if the both interface's link speed
   is the same and only small number of packet is queued in the pcq, 4096
   jcl is small because 2048(RX)+TX(2048)=4096. If jcl is exhausted, not only
   forwarding from ixg1 to ixg0 is dropped, but also another forwarding path
   from ixg1 to another interface(e.g. wm0) is also dropped. Sockets also
   queue packets, so if a lot of sockets are used and/or a socket buffer
   size is changed to bigger one, it'll also become a problem. If the jcl
   is exhausted, evcnt(9) counter "ixgX qY Rx no jumbo mbuf" is incremented.
   Example:
     vmstat -ev | grep ixg1 | grep "no jumbo"
     ixg1 q0 Rx no jumbo mbuf                           0     0 misc
     ixg1 q1 Rx no jumbo mbuf                           0     0 misc
     ixg1 q2 Rx no jumbo mbuf                      141326     0 misc
     ixg1 q3 Rx no jumbo mbuf                           0     0 misc


 - To solve this problem:
   - Add new config parameter IXGBE_JCLNUM_MULTI and set the default to 3
     (2048 * 3). The minimum number is 2. The total number of jcl per queue
     is available with hw.ixgN.num_jcl_per_queue sysctl.
   - Reduce the max length of the pcq() which is used in the TX path from
     4096 to 2048.

 - Reviewed by knakahara@ and ozaki-r@.

 - TODO: Use MCLGET().
2021-03-09 10:03:18 +00:00
rin
e31cf72b5a Build Xorg server for evbppc with minimum wsfb(4) support for Explora. 2021-03-07 10:42:26 +00:00
nia
0425cc10a5 BER 2021-03-07 08:48:36 +00:00
rin
d4ac66a3c1 Build modules for PPC_OEA64 on evbppc64. 2021-03-07 07:37:35 +00:00
rin
6a710fbbfe whitespace --> tab. No functional changes. 2021-03-07 07:30:15 +00:00
rin
f111f7ed2a Fix trivial typo. No need to bump date. 2021-03-06 14:44:02 +00:00
wiz
0c6f663d29 Fix Dd, comment out OpenBSD-only page. 2021-03-01 18:14:05 +00:00
jakllsch
f953b8197c link to rge(4) from pci(4) 2021-03-01 18:08:36 +00:00
jakllsch
dc78acc9bb install rge(4) manual 2021-03-01 18:01:05 +00:00
jakllsch
11a67816dc update rge(4) manual page from OpenBSD 2021-03-01 17:58:33 +00:00
nia
d5df319d8e Add SEE ALSOs for various bus types
suggested by mrg
2021-02-28 07:51:29 +00:00
nia
4ac5e7bd9a add ixl(4) properly 2021-02-27 11:06:32 +00:00
nia
cfea959cbb add ixl(4) 2021-02-27 11:05:38 +00:00
nia
1a72d6a424 spi.4: mention history of ioctl interface 2021-02-27 09:54:59 +00:00
nia
99ad362525 iic.4: Add FILES section. Fix copypasto. 2021-02-27 08:59:24 +00:00
nia
3c780445e5 Describe the i2c ioctl interface 2021-02-27 08:56:14 +00:00
nia
1e4ba3da61 iic.4: add ssdfb 2021-02-27 08:43:15 +00:00
nia
257b759e16 spi.4: Add a FILES section 2021-02-27 08:38:14 +00:00
nia
76102e93c6 Document the userspace /dev/spi interface to the best of my ability.
Add ssdfb(4).

Based mostly on a mailing list post by mlelstv;
https://mail-index.netbsd.org/port-arm/2019/02/07/msg005454.html
2021-02-27 08:36:05 +00:00
nia
46aa89cc62 Remove references to removed FDDI and Token Ring drivers 2021-02-26 11:12:45 +00:00
nia
c38e5b3db8 Remove extremely outdated list of supported devices 2021-02-26 10:56:48 +00:00
wiz
68242e9d67 More markup. New sentence, new line. 2021-02-26 10:44:31 +00:00
nia
e1a8a9c959 Add a manual page for vchiq(4) 2021-02-26 10:33:46 +00:00
nia
a04f5191f3 usb.4: add usmsc(4) 2021-02-26 09:59:19 +00:00
nia
5f048184ea usb.4: add mue(4) 2021-02-26 09:54:30 +00:00
nia
d7a616fafe usb.4: fix year 2021-02-26 09:51:43 +00:00
nia
da8468c5d7 usb.4: add mos(4) 2021-02-26 09:50:59 +00:00
nia
9dbaac1a44 pci.4: sync list of supported MI PCI devices a bit
I'm not sure what we consider machine-independent-enough for listing
here, so I'm listing drivers that are present in x86 and aarch64 kernels
2021-02-26 09:46:58 +00:00
nia
7ee5fe5cf7 Add a man page for vcaudio(4) 2021-02-26 09:20:58 +00:00
rin
fe456cec99 Adjust for amiga/boot ver 3.1.
Bump date.
2021-02-25 03:43:57 +00:00
mrg
c5fcfabc85 update the list of prefixes/regions/towns in ireland. from:
https://en.wikipedia.org/wiki/Telephone_numbers_in_the_Republic_of_Ireland

(i got a call from letterkenny!)
2021-02-23 21:59:04 +00:00
rillig
107c5090e1 timeradd.3: declare timespeccmp parameters as const
Comparison is implemented as a read-only operation.
2021-02-23 16:47:04 +00:00
wiz
28a0c22ca4 Fix timespeccmp declaration.
From Kouichi Hashikawa in PR 56010.
2021-02-23 09:28:00 +00:00
msaitoh
ffafe9308d Add missing 'q' modifier for the write command. 2021-02-19 08:57:56 +00:00
knakahara
df9470fdc7 In 64 bit architectures, WM_EVENT_COUNTER is enabled by default.
No objection from tech-kern@n.o and tech-net@n.o.

ok'ed by msaitoh@n.o.
2021-02-17 08:15:43 +00:00
leot
53e7d520bd Add HOTP and TOTP 2021-02-12 08:56:04 +00:00
riastradh
17dd2b3b7e rnd(4): Consistently call it the `global pool'.
The `ready pool' is a term I used in a draft that I never committed.
2021-02-12 01:52:09 +00:00
nia
efe89b021b Fix various typos, etc 2021-02-06 13:55:40 +00:00
nia
2e7e30272b Explain the format of the raw PCM data users can read from a pad(4).
Since it's headerless this is important so the data can be interpreted
properly. Also, ordinary audio ioctls cannot be used on a pad and the
format can't be changed, so applications that attempt to automatically
determine the format of a device like audiorecord don't work.
2021-02-06 12:13:44 +00:00
nia
8f7298006c Slightly adjust wording.
It does seem to work with multiple applications concurrently writing to
the device in a quick test I did.
2021-02-06 12:07:57 +00:00
nia
71b5ec1d14 Add another example of recording the output of an application.
Explain something that confused me.
2021-02-06 12:01:57 +00:00
nia
0d373c9fc6 Use /dev/audioX rather than /dev/soundX in examples.
Avoids accidentally running into confusing behavior.
2021-02-06 11:58:10 +00:00
isaki
3ab19efc6f Add a description to close().
> Before call to this, halt_input and halt_output are called if necessary.
2021-02-06 06:15:13 +00:00
jakllsch
e49b55cc57 Add a few network interface offload feature initialisms 2021-01-30 19:20:44 +00:00