Commit Graph

299837 Commits

Author SHA1 Message Date
manu b3ea73aa56 Add support for ZTE MF112 and D-Link DWM222 3G USB modems 2023-02-13 14:05:26 +00:00
uwe 7f25702515 audioplay(1): fix typo
From Jim Spath in PR/57228
2023-02-13 13:35:45 +00:00
riastradh 8d71d35c1a mips/asm.h: Cite source for Cavium sync plunger business. 2023-02-13 12:00:18 +00:00
hannken af759f0217 When mounting a union file system set its lower mount only on success.
Reported-by: syzbot+b81b69971581b4f4db00@syzkaller.appspotmail.com
2023-02-13 08:39:40 +00:00
uwe 18b582acb0 services(5): consistently refer to the cdb database
While here, fix a few markup nits.
2023-02-12 22:48:02 +00:00
jschauma 00fdee6448 sort option blocks; no functional change 2023-02-12 20:43:21 +00:00
abs b74dec8e22 Add "-i -E" to /bin/sh called from sysinst
This enables command line editing (primarily for arrow keys, but basic
emacs sequences will also work)

In the event that the shell has been compiled without command line
editing features (for memory contrained install environments) the
-E is ignored
2023-02-12 20:14:32 +00:00
abs 62fe57d219 Enable basic command line editing in evbarm, sparc64 and vax installer shells
(Following the pattern in amd64)

When a user selects "exit installer" or hits ^Z in sysinst, the
calling install.sh runs a shell, plus shows a message indicating
they can type "exit" to return to the installer.

Add -E to the arguments to this shell, to enable command line editing,
(primarily for arrow keys, but basic emacs sequences will also work)

With the change of all the install.sh scripts in amd64, evbarm,
i386, sparc64 and vax are identical apart from NetBSD RCD tags and
the sysctl -nx kern.consdev check (some of the latter are definitely
either wrong, or have an incorrect comment attached. Will return
to later)
2023-02-12 19:27:20 +00:00
abs 1f318b35b6 Switch install.sh to use /usr/sbin/sysinst for sysinst rather than ./sysinst
Matches i386/cdroms/install.sh and amd64/installimage/install.sh

resultant install image verified to still run sysinst correctly
2023-02-12 19:18:41 +00:00
andvar 6c0e29fbe8 s/strucure/structure/ and s/structues/structures/ in comments. 2023-02-12 16:28:32 +00:00
andvar 99b1bc6847 fix various typos in comments. 2023-02-12 16:04:57 +00:00
andvar f5760254b5 fix typo in the include guard definition. 2023-02-12 14:59:22 +00:00
abs 17aad41300 Add optoion GENERIC.local include to the end of ~all GENERIC configs
This excludes atari, sgimips, evbmips, evbppc, evbsh3, and hpcarm
all of which have somewhat specific kernel config file layouts
2023-02-12 14:50:37 +00:00
kardel 1165567d46 PR kern/56052:
allow block-return packets passed through without rule matching.
Included up-stream as https://github.com/rmind/npf/pull/115
2023-02-12 13:38:37 +00:00
kardel 57cb3743d4 PR kern/55654:
Switch default for parameter npf ip4.reassembly to 1.
This makes the NPF default configuration comply with host
requirements for IPv4.
2023-02-12 13:21:28 +00:00
tsutsui 98338f6a0a Actually bump version (missed in the previous commit). 2023-02-12 10:18:23 +00:00
tsutsui 5ab5bb937f Replace DELAY() with one in hp300 bootloader and adjust cpuspeed counts.
Fix boot failure on my ancient Seagate ST52160N drive.
It looks some of such old drives can't respond to SCSI
test-unit-ready command without proper wait after SCSI bus reset.
Bump version again to denote a fix.

XXX we should re-evaluate cpuspeed counts for DELAY() in bootloaders
    (where cache is disabled) on other m68k ports, hp300 and luna68k etc.
2023-02-12 10:04:56 +00:00
nia 38cf7bdeec urndis.4: Add OnePlus 5T 2023-02-12 08:45:18 +00:00
tsutsui 783bf7199c Use common declarations and macros in proper headers.
Also fix inconsistent sdopen() and sdstrategy() args and
remove useless #if 0'ed out code.
No functional change.
2023-02-12 08:25:09 +00:00
nia 4eacd7fbc9 urndis(4): Add OnePlus 5T to the quirky devices list. This allows it to
be attached as an urndis instead of ugen, and to transmit this commit
message across the tubes.
2023-02-11 22:42:49 +00:00
mlelstv 0cd327bec6 Apply ldscript fixes for binutils-2.39. See PR 57223. 2023-02-11 22:42:20 +00:00
nia f3642547d4 regen 2023-02-11 22:41:37 +00:00
nia 2a25227cd7 Add my phone to usbdevs 2023-02-11 22:41:15 +00:00
tsutsui 42aea38f3c Build a RAMDISK root kernel on NetBSD/next68k release build.
No sysinst(8) yet, but useful on bootstrap and rescue ops.
2023-02-11 19:12:31 +00:00
mlelstv 70f4129b0c Merge both SECTIONS declarations into one.
Fixes PR 57223.

cats, epoc32 and zaurus need a similar fix.
2023-02-11 19:09:57 +00:00
tsutsui c986eee995 Use MI <dev/ic/dc503reg.h> (added for vax smg(4)) for pmax pm(4) too. 2023-02-11 18:30:45 +00:00
tsutsui 128f9742f0 Bump version again to denote NeXT_CUBE_TURBO support. 2023-02-11 18:09:55 +00:00
tsutsui 5b6624775e Bump version to 1.6 to denote recent bootloader's >20 years old bug fixes.
All these fixes should be pulled up to netbsd-10 and netbsd-9.
2023-02-11 18:06:22 +00:00
uwe 60cc207432 bpf(4): fix couple more nits 2023-02-11 18:03:25 +00:00
abs e1dce1bfa4 Enable basic command line editing in i386 installer shells
(Following the pattern in amd64)

When a user selects "exit installer" or hits ^Z in sysinst, the
calling install.sh runs a shell, plus shows a message indicating
they can type "exit" to return to the installer.

Add -E to the arguments to this shell, to enable command line editing,
(primarily for arrow keys, but basic emacs sequences will also work)
2023-02-11 17:52:19 +00:00
uwe 9fc54008d1 bpf(4): fix couple of overlooked markup nits 2023-02-11 12:44:49 +00:00
uwe a9eff7b74b bpf(4): spaces around + in instruction tables
Makes them easier on the eyes.
2023-02-11 12:39:44 +00:00
uwe 6b566ffb7e bpf(4): use nicer glyphs for some operations in PS output 2023-02-11 11:49:02 +00:00
uwe 6a96371d48 bpf(4): make all instruction tables align
Define string max-insn and use it in all tables for the width of the
first column (nroff has variables, shocking, I know).  Define only the
width of the first column, the last column gets all the remaining width.
2023-02-11 11:34:49 +00:00
uwe ab3452b994 bpf(4): use \[<-] instead of <- 2023-02-11 11:02:31 +00:00
tsutsui 71b7dbcfd7 Disable rarely used options and devices, and add options MODULAR instead.
Also enable files-system MSDOS for file exchange via removable media.
2023-02-11 08:27:21 +00:00
tsutsui a81f610241 Remove unnecessary commented out lines. 2023-02-11 07:42:25 +00:00
tsutsui ff984c1e3b Remove nonexistent options SWAPDEBUG. 2023-02-11 07:32:44 +00:00
tsutsui 8c5fe5c1e4 Prepare MD distrib files to build next68k iso-image. 2023-02-11 07:22:30 +00:00
tsutsui e1c329f5ec Enable file-system CD9660.
It's useful for installation especially on emulators.
2023-02-11 07:12:34 +00:00
mrg 2566fddd7b add siisata(4). been running for ages on a rockpro64. 2023-02-11 07:01:32 +00:00
tsutsui f3408a9173 Add comments that "options VAX410" also supports VS3100/m30,m38,m40,m48. 2023-02-11 06:02:56 +00:00
tsutsui 335c818591 Port rasops'fied smg(4) framebuffer driver for VS3100 from OpenBSD/vax.
This allows using more fonts other than 8x15 pixels on smg(4).
Tested on my VAXstation 3100/m30.

Note the bitorder of smg(4) VRAM is LSB first (i.e. LSBit is the
most left side pixel) and this requires more complicated changes
to bitmask ops in MI rasops(9) because several LE machines have
VRAMs whose MSBit is connected to the most left side pixel,
but for now I prepared smg(4) specific putchar and cursor ops
based on old luna68k omrasops.
2023-02-11 05:59:39 +00:00
uki f527611a02 Fix annotation checksum in +CONTENTS of syspkg
- Fix bug that file in DESTDIR is not referenced correctly.
- Change checksum algorithm to SHA256 from MD5.
- Remove invalid option of cksum(1) in regpkg.
2023-02-11 04:16:57 +00:00
uwe 7bd77f6ba6 bpf(4): assorted markup tweaks
This is mostly non-controversial changes to the cargo-culted markup.
While here - add missing .It to BIOCLOCK so that it's not buried in
the text for the previous item and comment out a paragraph about an
ancient SunOS bug.
2023-02-11 02:52:52 +00:00
tsutsui b089952b65 NeXT Turbo Color doesn't have NEXT_P_C16_CMD_REG.
Info from Andreas Grabher on port-next68k@.
2023-02-11 02:34:15 +00:00
tsutsui ff97794b11 Add and check machine type NeXT_CUBE_TURBO (type 8).
Info from Andreas Grabher on port-next68k@.
2023-02-11 02:33:27 +00:00
tsutsui eb8723967b Handle NeXT Turbo VRAM regions properly.
Info from Andreas Grabher on port-next68k@:
 https://mail-index.netbsd.org/port-next68k/2023/02/06/msg000052.html

Also refactor bus_space_map(9) and fix (unused) bus_space_mmap(9).
2023-02-11 02:31:34 +00:00
mrg 543db4848b apply -g1 to the gdb build as well.
reduces the size of gdb.debug and gdbtui.debug by 100MB each on amd64,
and about 70MB total in the debug set.  (across all builds, this may
be in the order of 3-4GB in releasedir output.)
2023-02-10 18:51:32 +00:00
nros 7f44bdb165 Fix xkb_base in the pkg-config file and mapage for xkeyboard-config
The xkbdata files are installed in /usr/X11R7/lib/X11/xkb
not /usr/X11R7/share/X11/xkb. The wrong directory causes
build failures in pkgsrc packages that use the xkb_base
variable.
Also base the datadir on the vars from bsd.x11.mk.
Also use @xkb_base@ instead of /usr/X11R7/share/lib/X11/xkb
in the manpage to show the right xkbdata directory.
2023-02-10 13:22:58 +00:00