| Age | Commit message (Collapse) | Author | Files | Lines |
|
several Allwinner SoCs. From Artturi Alm, based on code from NetBSD.
Also add axppmic(4), a driver for the AXP209 i2c PMIC, which provides
power down support. Written by Artturi Alm.
|
|
|
|
|
|
|
|
|
|
|
|
This panic happens if iwm_newstate_task() sleeps and wakes up after iwm_stop().
The error path of iwm_newstate_task() attempts to reset driver flags and
firmware state, which should not be done if iwm_stop() has already done so.
A more comprehensive fix for such races is being worked on but not ready yet.
For now, check the generation counter in the error path of iwm_auth() and
only clean up state if that counter hasn't changed.
Problem reported and workaround tested by giovanni@
|
|
|
|
ACPI 4.0 deprecated _BIF for battery status so some newer machines
are exporting _BIX which extends _BIF's package with a few extra
fields. When using _BIX, export the new discharge cycle count as a
sensor.
feedback from kettenis and anton
ok deraadt
|
|
No security benefit since the firmware has DMA access but we should
not have such bad examples in our source tree.
ok kevlo@
|
|
for use by the linux compatibility APIs in drm(4).
While I hate infecting code in sys/kern with this, untangling all the
of having different types and different signedness is too much for me
right now. The best strategy may be to change ticks itself to be long
but that needs some careful auditing.
ok deraadt@
|
|
with expected behavior.
OK mpi@ patrick@
|
|
|
|
|
|
Problem found by Ilja Van Sprundel.
ok kevlo
|
|
supplicant and net80211 state machine changes. While here, make rsu(4)
report the correct channel for received frames to tcpdump(8).
ok deraadt@
|
|
Due to signedness issues the existing checks didn't work as intended.
Problem reported by Ilja Van Sprundel.
ok deraadt@
|
|
Problem reported by Ilja Van Sprundel.
ok stsp@, tb@
|
|
Problem reported by Ilja Van Sprundel.
ok deraadt@ tb@
|
|
as "not configured".
ok mikeb@, millert@, deraadt@
|
|
on libusbhid, generally via SDL, shouldn't do it either since it's not
portable.
Suggested by deraadt@ after Ilja van Sprundel reported an issue with a
stale struct proc pointer in similar code.
ok kettenis@, deraadt@
|
|
double reset sequence.
From and tested by sc.dying at gmail on RTL8152 (ver 4c10) and RTL8153
(ver 5c20).
|
|
the preferred method to access MIDI hardware is through sndiod(8) which
doesn't use it.
Fixes a potential issue with a stale struct proc pointer found by Ilja van
Sprundel.
ok deraadt@, ratchov@
|
|
diffs with Linux.
|
|
|
|
"accessops" pointer before calling it.
|
|
|
|
RNDIS status messages may indicate various conditions reported by
the hardware, including link status events. They're not supposed
to be universally treated as errors.
Issue reported by Artturi Alm, ok armani
|
|
via ioctl are 0.
Noticed by bluhm
ok bluhm millert
|
|
the modeset lock when entering ddb. This avoids triggering various asserts
when the kernel panics while running X.
ok deraadt@
|
|
Found by Ilja Van Sprundel
ok claudio kettenis
|
|
okay millert@
|
|
return ENOBUFS.
Found by Ilja Van Sprundel
OK bluhm@ deraadt@
|
|
the cluster fails in vte_init_tx_ring() the mbuf is removed but the slot
in the ring still holds the pointer. A possible call to vte_stop() would
then cause a double free. Again set pointer to NULL to prevent this.
Found by Ilja Van Sprundel
OK bluhm@
|
|
Issue found by Ilja van Sprundel.
ok deraadt@
|
|
|
|
|
|
|
|
propert for the clock controller module. Prepare for the day when the
u-boot device trees get update.
|
|
list.
|
|
|
|
|
|
|
|
Previously descriptors have referenced DMA maps too loosely which
led to bus_dmamap_unload being called before all fragments have been
completed. This eliminates the last instance of excessive looping
while waiting for a grant table entry to become available.
|
|
in r1.38 of this file, however for some reason the hardware sends RTS frames
at rates other than 1 Mbit/s which of course doesn't help. Not sure what is
causing this problem, but the old behaviour worked better, so revert.
ok krw@
|
|
Attempting to unload the map before all chunks are done may lead
to unnecessary looping.
|
|
|
|
|
|
Fixes "could not remove MAC context" errors seen during AUTH->SCAN transitions.
|
|
possible for such frames to move iwm(4) to the same state, e.g. AUTH->AUTH.
Do not bother the firmware with such no-op state changes because that runs
a high risk of hitting firmware errors.
Problem reported by Gregor Best.
|