Commit Graph

287585 Commits

Author SHA1 Message Date
nia
dbb501c421 aiomixer: Fix sorting of ac97 controls 2021-05-08 12:53:15 +00:00
nia
8f193ef2d3 doc: imported aiomixer 2021-05-08 12:45:04 +00:00
christos
e30fc55584 mention gdb hack discovered by rin. 2021-05-08 12:27:21 +00:00
christos
2d56ebfab5 PR/56153: Rin Okuyama: alpha miscompiles malloca() macro. 2021-05-08 12:23:47 +00:00
rin
0c720f9cde Turn on constty instead of ttyE0 as done for majority of other ports
in order to make both framebuffer and serial consoles happy.

Also, change TERM from vt220 to vt100 for console and constty
in accordance with other ports.
2021-05-08 10:08:33 +00:00
rin
2b8ef595e1 Add missing aiomixer.debug to fix debug build.
XXX
I *really* hope someone(TM) invent better replacement of
distrib/sets/lists...
2021-05-08 09:23:37 +00:00
rin
b707b569c5 Catch up with this commit:
http://www.nerv.org/netbsd/?q=id:20210507T165558Z.d4aba9e0e053181f2a98ee4ee43012b50949921b

by which per slot tcs_used flag was obsoleted.

No need to initialize __BIT(0) of sc_slots_used here; it is zero anyway
before calling tcattach().
2021-05-08 09:03:30 +00:00
mrg
ef48836c2e avoid accessing stack garbage.
on arm64eb resuming vi(1) would often crash.  in makech(), the 'csp'
variable is either set to current window data, or a local stack
variable's address '&blank'.  the window data has many lines of info
stored, and 'csp++' is used per line here.  unfortunately, a case
existed where 'csp++' operated on csp initialised from '&blank' which
eventually crashes when, on my display with 160 columns and 'csp + 155'
exceeds the mapped stack and crashes.

match the '!_cursesi_screen->curwin' conditional that initialises csp,
and avoid csp++ here.  assert() that csp != &blank in both places that
modify csp.

thanks to jdc@ and mlelstv@.

XXX: possibly also should avoid the putch() here as well.
2021-05-08 04:29:07 +00:00
thorpej
c06247ced2 Use pci_compatible_match(). 2021-05-08 00:27:02 +00:00
thorpej
c119c284e9 More symbol sanitizing. 2021-05-08 00:08:43 +00:00
christos
6bf278a2a9 enable initfini-array since all platforms support it. 2021-05-07 23:00:04 +00:00
thorpej
9db847685b Static'ify more symbols. 2021-05-07 22:46:10 +00:00
nia
209f7af6d7 hook up aiomixer 2021-05-07 21:51:20 +00:00
nia
e2c130f799 aiomixer: display the unit type for value controls 2021-05-07 19:37:03 +00:00
nia
5249aad00a aiomixer: use standout for headings, avoid banding in header
fixed a minor rendering problem when compiled against ncurses.

based mostly on feedback from uwe.
2021-05-07 17:47:30 +00:00
thorpej
b7b2b8a3d8 Liberally sprinkle static around to get more symbols out of the
global namespace.  A small bit of const poisoning in the TC code.
2021-05-07 16:58:33 +00:00
thorpej
e2840100a9 A small bit of const poisoning. 2021-05-07 16:55:58 +00:00
nia
26802ffd8d import aiomixer from git into usr.bin.
aiomixer is a graphical (curses-based) mixer for NetBSD audio.
2021-05-07 16:29:24 +00:00
cjep
72496168ad More test notes from using build.sh against non NetBSD platforms. 2021-05-07 14:52:59 +00:00
rin
893bd8c6b1 For GCC10, add -Wno-unused-result for alloca(0) here and there. 2021-05-07 12:19:48 +00:00
christos
bcc4e02eb3 Don't free things twice (Kengo Nakahara) 2021-05-07 11:11:11 +00:00
hannken
7d26170aba Track the number of cdev and bdev opens and fail dm_detach()
on open devices unless detach is forced.

PR kern/54969 (Disk cache is no longer flushed on shutdown)
2021-05-07 09:54:43 +00:00
hannken
47c6510732 Make sure the unit number of device-mapper devices matches their minor number. 2021-05-07 09:53:39 +00:00
msaitoh
7a9d05b407 Print the error value of ixgbe_reset_hw() for debugging. 2021-05-07 09:15:52 +00:00
christos
9feb722ead PR/56148: Andreas Gustafsson: lib/libc/stdio/t_printf:snprintf_float test
randomly fails.
Add checks to all places where lshift is called because it can return NULL
2021-05-06 16:15:33 +00:00
rin
735b9693ea PR port-mvme68k/56146
Build wrtvid as tools.
2021-05-06 13:23:36 +00:00
rin
b7e3a91e98 Unhook elf2bb and txlt as they are built as tools. 2021-05-06 13:07:00 +00:00
cjep
b84b6c59df Update with information from recent testing of different Linux variants
on AWS. Also FreeBSD 13.
2021-05-06 07:32:15 +00:00
mrg
f119d7e9a4 avoid GCC-10 warnings. 2021-05-06 06:52:18 +00:00
yamaguchi
5d69fa28dc do not clear destination address if there is no saved address
and add initialization of saved_hisaddr for safety

0.0.0.0 was sometimes configured to destination address when
ipcp close was occurred before ipcp tlu.
Following messages will be appeared when the issue is encountered and
debug for pppoe(4) is enabled.

tc-so:[     1.890005] pppoe0: ipcp close(starting)
(snip)
tc-so:[     1.890005] pppoe0: ipcp_open(): no IP interface
2021-05-06 06:18:16 +00:00
yamaguchi
a0c635c379 Added m_freem for safety
pointed out by knakahara@, thanks.
2021-05-06 02:05:09 +00:00
yamaguchi
0c15ac9ed3 Added missing waiting for DAD completion 2021-05-06 01:09:43 +00:00
jmcneill
bf4c995c05 Fix GENERIC64 build 2021-05-05 20:58:03 +00:00
jdolecek
23c31e7fd3 disable MSI for SiI3124 - interrupts don't seem to work on this old board
when MSI is enabled, maybe because it's behind a PCI bridge

PR kern/55115 by John D. Baker
2021-05-05 19:30:51 +00:00
thorpej
d150dc8d01 Remove unneeded Makefile dependency for things which have long since
used opt_*.h headers.
2021-05-05 15:39:39 +00:00
thorpej
8c0088cdb7 Remove unused dot_conv() function. 2021-05-05 15:36:17 +00:00
thorpej
f19bd5bd6d Disable preemption around the main work of badaddr_read() and delay();
they both use "current CPU" resources.
2021-05-05 15:34:54 +00:00
thorpej
9927e7a8be Make scb_strat() static. 2021-05-05 14:58:57 +00:00
christos
20fa0b90d9 PR/56147: Miroslav Lichvar: Avoid memory leak if strdup fails. 2021-05-05 14:49:59 +00:00
jmcneill
cd8fccb48b Add loadfile_machdep.h for riscv 2021-05-05 12:47:02 +00:00
jmcneill
0b0528ef1b evbarm: Add support for Allwinner V3s SoCs. 2021-05-05 10:25:36 +00:00
jmcneill
6c4affb922 Add support for Allwinner V3s, from Rui-Xiang Guo. 2021-05-05 10:24:04 +00:00
mrg
3a698d51e8 don't assume host BUFSIZ is sufficent. small BUFSIZ leads to
always happens errors in the testsuite.  switch all these buffers
to be 4KiB sized.  reported by embr <git@liclac.eu>
2021-05-05 07:41:48 +00:00
mrg
ddeab5ea7f include <stdint.h>. bozo_unconst() uses uintptr_t defined here.
from embr <git@liclac.eu>.
2021-05-05 07:09:19 +00:00
simonb
9067f6d4d2 Sprinkle some static. 2021-05-05 06:47:29 +00:00
simonb
cc8be526c0 The watchdog setup code isn't used (yet), so don't compile in the
octeon_nmi_stack that it uses either.
2021-05-05 06:46:37 +00:00
thorpej
efdf627147 Decorate cpu_info_list with __read_mostly; it's never modified once
all the CPUs are attached.
2021-05-05 03:54:16 +00:00
thorpej
0cdcacbb9b Moar static. 2021-05-05 02:15:18 +00:00
thorpej
af8fe53583 Add a linker script for the kernel. The main difference vs the
standard built-in for "ld -N" is to actually process the
.data.cacheline_aligned and .data.read_mostly sections correctly.
2021-05-05 01:35:35 +00:00
khorben
6af4ccb24b prekern: add warnings upon problems collecting entropy
As submitted on port-amd64@ (part 3/3)

Tested on NetBSD/amd64.
2021-05-04 21:13:38 +00:00