Commit Graph

303590 Commits

Author SHA1 Message Date
ad a320ca6fbc A dumb test that calling close() on a pipe/socket fd dislodges another
thread in the same process waiting for I/O on the fd.
2023-10-13 18:46:22 +00:00
ad dfdc9d45b3 Rump: sleepq_remove(): don't unlock the sleepq. Spotted by hannken@. 2023-10-13 18:23:54 +00:00
tsutsui 000fba5c24 Remove trailing spaces and TAB. 2023-10-13 16:35:14 +00:00
tsutsui 7b71a1d34f Fix spelling. From OpenBSD/luna88k. 2023-10-13 16:30:01 +00:00
tsutsui 197f8adfcb Fix typo. From OpenBSD/luna88k. 2023-10-13 16:10:24 +00:00
yamaguchi 63d63d93a6 ixl(4): limit receive frame size upto 9600 even if ETHERCAP_VLAN_MTU is enabled 2023-10-13 04:43:35 +00:00
yamaguchi cafaf49724 ixl(4): added ETHERCAP_VLAN_MTU support
PR kern/57652
2023-10-13 02:22:20 +00:00
ad 513d6564aa Comments. 2023-10-12 23:51:05 +00:00
riastradh ac84213a4f heimdal: Make sure whatever uses libhdb also gets libsqlite3 & libm.
Loose ends for static builds in the fix for PR lib/57406.

XXX pullup-10
2023-10-12 17:18:38 +00:00
skrll 10468976fa Fix non-DIAGNOSTIC builds 2023-10-12 11:33:37 +00:00
msaitoh 8e11fcdc92 ixgbe: Don't override the {ixgbe,ixv}_max_interrupt_rate global variable.
Fix a bug that changing hw.ix[gv]X.qY.interrupt_rate would change all
devices all queues default interrupt rate.
2023-10-12 08:06:13 +00:00
msaitoh 7d494b65a6 ixg(4): Don't print wrong error message about ixgbe_num_queues.
Don't override the ixgbe_num_queues global variable. It's the default
value of the number of queues and should not override it because it
will be referenced by later device attach. For example, the number of
MSI-X vector is 64 on X540 and 18 on 82599. When both cards are inserted
to a machine that the number of CPU is 24 and X540 is probed earlier,
ixgbe_num_queues is overridden to 24 and the following error message is
printed when attaching 82599:

	ixg2: autoconfiguration error: ixgbe_num_queues (24) is too large,
	using reduced amount (17).

Note that the number of queues is in sc->num_queuss and referenced
by hw.ixgN.num_queues sysctl.
2023-10-12 05:50:55 +00:00
rin 686619b118 igc(4): igc_init: Enable interrupt after everything is set up
Inspired by "ixgbe: Enable interrupt after setting IFF_RUNNING.":
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/pci/ixgbe/ixgbe.c#rev1.337

Just for sure, callout_schedule(9) for igc_tick() is also postponed.
This is NFC for now, although.

XXX
Check other drivers.
2023-10-12 04:08:44 +00:00
msaitoh 121e5f7e27 ixgbe: Whitespace. No functional change. 2023-10-12 03:43:55 +00:00
uwe ce7bd196f3 sh(1): touch up markup for the ENV example
Don't use Dq in a literal display, ascii quotes are \*q
While here mark up as literal a few things around this example.
2023-10-12 01:45:07 +00:00
uwe e30c599423 syslogd.c: fix a typo in a comment 2023-10-11 23:22:13 +00:00
riastradh 7402475bf9 certdata.awk: Treat CKT_NSS_TRUSTED as untrusted _as a CA_.
This means the certificate is trusted for the listed purpose, not as
a CA to issue certificates for the listed purpose.

Clarify warning message in this case.

No change to imported certificates so no need to regen or pull up --
this designator does not actually appear in certdata.txt, only in
Mozilla nss source code.
2023-10-11 19:57:25 +00:00
riastradh 233a6efae8 igc(4): `nvm_ver & ...' has type int, so use %x, not %hx.
This happens even though nvm_ver is unsigned short (uint16_t),
because of the integer promotions.

Should fix clang build.

XXX pullup-10
2023-10-11 18:19:43 +00:00
riastradh 9a0f495ebc certctl(8): Reword various things in an attempt to clarify.
Suggest /etc/openssl/certs.local in the example config file.  Maybe
we can/should formalize this but let's just start with a suggestion.

XXX pullup-10
2023-10-11 15:28:05 +00:00
msaitoh 14d683fe41 wm(4): Add I219{V,LM}({22,23}) devices (Raptor Lake). 2023-10-11 15:14:28 +00:00
msaitoh 9381d0fcbf wm(4): Add a new workaround for Tiger Lake and newer.
- Define new WM_T_PCH_TGP and use it for Tiger Lake and newer.
   Note that we don't define WM_T_PCH_ADP because we have no any
   Alder Lake specific workaround yet.
 - Add new workaround for Tiger Lake (and newer) in wm_init_locked()
   to avoid packet loss.
2023-10-11 15:05:26 +00:00
msaitoh 358a43719a Regen. 2023-10-11 14:55:25 +00:00
msaitoh d25c96dda8 pcidevs: Add Intel I219{V,LM}({22,23}) 2023-10-11 14:54:58 +00:00
riastradh fa838d7c8f heimdal: No need for -lm, was only added for -lsqlite3.
PR lib/57406

XXX pullup-10
2023-10-11 14:08:25 +00:00
riastradh 48e4cfe1da bsd.prog.mk: krb5 stuff no longer needs to link against sqlite3.
(Why is this here?  Seems like it should be a .mk fragment under
crypto/external/bsd/heimdal -- that way I would have found it for the
previous commit.)

PR lib/57406

XXX pullup-10
2023-10-11 14:08:17 +00:00
riastradh 7ef25fe07f heimdal: Disable sqlite3 credential cache (SCC).
SCC is not usable in Heimdal 7.8.0, and this brings a dependency on
libsqlite3 into libkrb5 and therefore libgssapi, which is problematic
downstream applications that have sqlite3 from pkgsrc or statically
built in.

SCC will undergo substantial revision in the next Heimdal version
(https://github.com/heimdal/heimdal/pull/1143).  We can revisit later
how to deal with this -- perhaps by symbol-renaming a copy of sqlite3
in Heimdal as it looks like upstream intends to do.

PR lib/57406

XXX pullup-10
2023-10-11 12:34:42 +00:00
wiz e1088c05eb agr(4): minor cleanups 2023-10-11 11:00:17 +00:00
msaitoh 500227f209 ixg(4): Print DEVICE_CAPS register. 2023-10-11 09:43:17 +00:00
yamaguchi 714ef6aa93 update history of agr(4)
I proposed to make agr(4) deprecated in NetBSD 10,
and there was not any disagreements.
https://mail-index.netbsd.org/tech-net/2022/06/08/msg008265.html
2023-10-11 09:19:27 +00:00
msaitoh 9f959b7cac s/Neighour/Neighbor/ in comment. No functional change. 2023-10-11 09:13:51 +00:00
skrll ea952cb848 Consistently pass 0 as first and ignored argument to sigprocmask in the
setjmp implementations.

NFCI.
2023-10-11 09:12:20 +00:00
rin e44f222cdc aarch64/GENERIC64: Add ixl(4)
Works just fine for little-endian on LX2K with UEFI firmware.

Not tested for big-endian yet; attach fails on ROCKPro64 due to
host controller problem.

OK yamaguchi@
2023-10-11 07:49:29 +00:00
rin d05323cab8 ixl(4): Print device info on attach
Without PCIVERBOSE option:
ixl0 at pci1 dev 0 function 0: vendor 8086 product 1572 (rev. 0x01)

With PCIVERBOSE option:
ixl0 at pci1 dev 0 function 0: Intel XL710 SFP+ Ethernet (SFI) (rev. 0x01)

OK yamaguchi@
2023-10-11 07:44:53 +00:00
yamaguchi 1dba28331a Update agr(4) manual page
The driver is marked as obsolete.
2023-10-11 06:46:33 +00:00
skrll 1068717982 Trailing whitespace 2023-10-11 06:15:36 +00:00
yamaguchi 37863ae202 ixl(4): update link status in workqueue 2023-10-11 04:44:20 +00:00
yamaguchi fa4922d3c2 ixl(4): use cv_broadcast to wakeup ioctl and workqueue context.
Commands may be issued at the same time from the both context.
2023-10-11 04:29:47 +00:00
yamaguchi 4ed87050af ixl(4): skip getting link status if the last command is running 2023-10-11 04:24:24 +00:00
msaitoh a83882d76d ixg(4): Whitespace. No functional change. 2023-10-11 03:48:35 +00:00
jschauma 998e343024 well, kinda have to add CSRF now, don't we?
+CSRF  cross-site request forgery
2023-10-11 01:21:21 +00:00
jschauma e525aaa3c2 +SSRF server-side request forgery 2023-10-11 01:15:16 +00:00
riastradh 1722a083da hier(7): Document /usr/share/certs/mozilla.
XXX pullup-10
2023-10-10 21:51:01 +00:00
kardel b609dafacd PR kern/57088:
add missing "onewire" link dependency

Thanks Lloyd for pointing me to this PR as
I independently fixed the missing module functionality (and also missing the
link dependency).
2023-10-10 19:21:38 +00:00
abs b95d480d5b Add support for ASMEDIA 0x0624
... an AHCI SATA adaptor which identifies itself as an IDE storage device
2023-10-10 16:46:56 +00:00
abs ac3e543282 Regenerate for ASMEDIA 0x0624 2023-10-10 16:45:53 +00:00
abs 133acefaeb Add entry for ASMEDIA 0x0624 - ASM1062 + JMB575 Port Multiplier 2023-10-10 16:44:16 +00:00
he 838295f73b INSTALL_CI20: bump ramdisk image size since contents grew a bit recently. 2023-10-10 16:23:56 +00:00
simonb 1fdac6ddeb Debug printf tidy up, KNF comma,space nits. 2023-10-10 10:58:03 +00:00
martin b4083223a4 Make more room for ramdisk image (which recently grew a bit) 2023-10-10 10:36:42 +00:00
nia dd1cd64036 Add an example of connecting to an unsecured network with wpa_supplicant 2023-10-10 07:21:00 +00:00