Age | Commit message (Collapse) | Author |
|
USBD_INVAL.
ok mpi@
|
|
in free_all_jacks().
ok stsp@ ratchov@
|
|
ok kettenis@
|
|
the device is gone and give back the descriptor to the stack.
Without this usbd_abort_pipe() could end up in an infinite loop.
Issue reported by Tom Murphy.
|
|
|
|
tested in snaps
ok kettenis@
|
|
and attach_all_mididevs(). this ensures unbind_all_jacks() and
usbd_deactivate() happen for both cases.
ok ratchov@
|
|
|
|
|
|
Prevent triggering an assert if two drivers try to submit a command
at the same time.
Issue reported by Tom Murphy.
|
|
|
|
ok mlarkin@
|
|
|
|
pf(4) reassembly is complete. Instead count the holes that are
created when inserting a fragment. If there are no holes left, the
fragments are continuous.
idea from claudio@; OK claudio@ sashan@
|
|
Instead of truncating nanosecond timeouts to zero here and polling, we
should round up to a delay of at least a tick, just like all the other
timespec syscalls.
Fixed in NetBSD kern_event.c v1.62 and FreeBSD r247804.
ok millert@ visa@
|
|
|
|
|
|
provided by the upper layer audio driver.
ok ratchov@
|
|
as they have an X usage.
Should get basic touchscreen functionality on some common
HID-over-i2c devices like laptops.
|
|
when looking for logical min/max of screen.
ok kettenis
|
|
from Jan Klemkow
|
|
There was no way to override a decision made by join's network
selection algorithm (apart from disabling the feature by clearing
the join list). Automatic selection is based on heuristics which
cannot always guess correctly so we need to provide an override.
One specific problem was that if 'nwid foo' and 'nwid bar' were
both visible in the scan and only 'nwid foo' was a member of the
join list, then there was no way at all to connect to 'nwid bar'.
The wireless stack would keep selecting 'nwid foo' instead.
'ifconfig iwm0 nwid bar' command will now disable automatic
network selection and force the use of ESSID 'bar'.
Any of these commands will re-enable automatic network selection:
ifconfig iwm0 -nwid
ifconfig iwm0 nwid ''
ifconfig iwm0 join some-network-id
ok phessler@ deraadt@
|
|
The NMEA 0183 standard says that the first two chars correspond to the
'source' of the message, right now we were only looking for 'GP' prefix
for 'GPS', but this can also be 'GL' for Glonass, 'BD' for BeiDou, 'GA'
for Galileo, or 'GN' for a generic GNSS source.
Match the RMC messages from all those variants, with this i'm able to
use my navilock nl-8002u (which uses GNRMC) as a timedelta sensor for
ntpd, and i have my GPS position in the nmea(4) sensors.
ok deraadt@
|
|
|
|
No functionnal change.
ok deraadt@, bluhm@, visa@
|
|
OK jasper@
|
|
has no side effect, so setting value for ich can be moved under
UAUDIO_DEBUG.
ok ratchov
|
|
OK anton@ deraadt@ kettenis@ mpi@
|
|
|
|
header contains an image size field that is calculated using the
difference between the start of the header and edata. Since we
copy out .dynstr into the EFI binary, make sure that .dynstr is
before edata so that it's included in the image size. This makes
it consistent with efiboot on armv7.
ok kettenis@
|
|
ok patrick@
|
|
that doesn't fit in the rx buffer goes into an aggregation buffer,
allowing jumbo frames to be received. Using 8k aggregation buffers
means we'll only ever need one per packet.
When receiving jumbos, sometimes we get an interrupt before all three
of the completion events are ready, in which case we should not consume
the events that are ready. Expanding the completion ring makes this
happen less frequently, so allocate four cp ring pages instead of one.
|
|
devices. Fixes regression caused by matching on _CID in addition to
matching on _HID.
ok matthieu@, mlarkin@
|
|
kern/tty_pty.c, allocation of ptys was made dynamic with the introduction of
check_pty(). Every time a new struct pty is allocated its corresponding struct
tty is also allocated. It's therefore no longer necessary to ensure that a pty
has a tty allocated after calling check_pty().
ok deraadt@ millert@ mpi@ visa@
|
|
of private futexes and a shared list of shared futexes. This speeds up
futex lookups.
Tested by and OK krw@
OK mpi@
|
|
ok deraadt@, mlarkin@
|
|
the following: a new pty is allocated in which the kernel console output is
redirected to, poll(2):ing from /dev/console at this point would be delegated to
the device with the major number taken from the pty due to the earlier
redirection. Since the pty does not have its correct device major assigned, the
wrong device ends up being used.
ok deraadt@ millert@
|
|
being committed now so we can work on the rest in-tree.
ok mlarkin@
|
|
no realy change, this avoid having to allocate the todr struct in attach
ok deraadt@
|
|
userland.
Inputs from markus@, ok sthen@
|
|
ok patrick@ kettenis@
|
|
ok kettenis@
|
|
final directory in a name unveil was not being added with UNVEIL_INSPECT
if it was not already unveiled. Now passes just added regress test for
this case
|
|
this let's me pull the date back from 2023 to 2018, and have it
stay like that after a reboot.
ok deraadt@
|
|
and Hi3670 SoCs.
|
|
ok patrick@
|
|
|
|
|
|
used outside of dev/kcov.c. Nowadays, struct proc includes a kcov pointer and it
therefore deserves a more descriptive name.
Prodded by visa@; ok deraadt@ visa@
|
|
|