Age | Commit message (Collapse) | Author |
|
diff from miod@
|
|
the driver attached to an SDIO card always holds the lock and only
releases it once it detaches. Now with that in mind, some time ago
sdmmc_io_function_disable() and sdmmc_io_function_ready() were changed
to only assert the write lock and not take it, but not all of the tree
was converted. Change sdmmc_io_function_enable() as well, and remove
the enter/exit dance in the interrupt code. Apparently there is no
SDIO driver yet/anymore which would trigger those issues.
ok kettenis@
|
|
|
|
|
|
FullMAC, in comparison to SoftMAC, does most WiFi handling in the
firmware that's running on the controller. This means we have to
work around the net80211 stack while still implementing all the
WiFi interfaces to userland.
This driver is still in early development. So far it can connect
to open WiFis over the USB bus. SDIO and PCIe support, for devices
like the Raspberry Pi 3 or the Macbooks, is not yet implemented.
Also mbufs on the transmit path leak and are not yet freed.
ok stsp@
|
|
|
|
tested by a few
|
|
|
|
with hidmt_input function
|
|
Found the hard way by deraadt@
|
|
Data transfers use a little bit less CPU time now.
Tested by me on RT5209 and on RTS525A by jcs@
ok mpi@ visa@
|
|
This makes it easier to match dmesg output to the device tree.
ok patrick@
|
|
it with a simple ifdef that uses the inline keyword if being compiled
with clang and doesn't use the keyword if being compiled with gcc.
ok kettenis@
|
|
Fix regression introdruced in previous.
Found the hardway and diff from weerd@
|
|
the same time breaks the sparc64 build due to a very similar issue. To
make it work, stop returning a huge struct and instead make the caller
pass a pointer to the struct it allocated only once on the stack.
Similar diff from sashan@
"yeah just make it work, and add it to the mop list" deraadt@
|
|
ok mpi@, jcs@
|
|
ok patrick@, jsg@
|
|
If frequency of an invariant (non-stop) time stamp counter is measured
using an independent working timecounter that has a known frequency, we
can assume that the measured TSC frequency is as good as the resolution
of the timecounter that we use to perform the measurement. This lets us
switch from this high quality but expensive source to the cheaper TSC
without sacrificing precision on a wide range of modern CPUs.
From Adam Steen <adam@adamsteen.com.au> with tweaks from reyk@ and myself.
Tested by brynet@, sthen@ and others, OK mlarkin, sthen
|
|
sensor to the ugold(4) driver.
Patch by Jan Klemkow
Tested by Remi Locherer
ok mpi@ patrick@
|
|
mode bits. From Brad Smith.
|
|
emission temporaries no lifetime markers are emitted. This causes
clang to not re-use stack slots properly. By forcing the function to
be inlined this can be worked around.
ok kettenis@ jsg@
|
|
When bringing the interface down, the driver now waits for any running
tasks to complete before shutting down the hardware.
Based on suggestions by dlg@ and mpi@
Tested by myself, Manuel Giraud, anton@, and jcs@
|
|
rendering the network unusable.
tested by myself
committing on behalf of jsg@
ok deraadt@
|
|
ok patrick@, deraadt@
|
|
of "phy".
ok patrick@, deraadt@
|
|
commits from linux-4.8.x.
The changes are quiet minimal due to the fact that kabylake and skylake share
most of the code because they are both gen9 graphics.
This was tested by many and was also in snapshots for a while.
ok kettenis@
|
|
be triggered by incoming management frames, such as DEAUTH frames. As krw@
found out, a system receiving many such frames would become unresponsive.
Ensure this extra DELAY() only happens if we decide to send an AUTH frame.
ok mpi@ krw@
|
|
Account for the case when wdc is attached to the ISA bus and performs
channel probing using a dummy structure that lacks the back pointer to
the controller's softc.
Bug reported and fix tested by Andrew Daugherity, thanks!
OK phessler, jsg, krw, deraadt
|
|
mkioctls can find the files and not error out as drm headers are not
installed to /usr/include. This results in more complete ioctl coverage
in kdump (not just for drm).
ok kettenis@
|
|
Compiler complained:
warning: large integer implicitly truncated to unsigned type
No functional change.
reported by & ok visa@
|
|
Without it uhid_do_ioctl() will return EINVAL which will make the
upper layer assume that uhid node do not support non-blocking reads.
Fix a regression introduced by the removal of SIGIO support.
Reported by many, fix tested by Bryan Linton, Micah Muer and Nam Nguyen.
|
|
ok stsp@
|
|
- Use R92C_MSR rather than R92C_CR to set media status
- Replace magic numbers with something more readable
ok stsp@
|
|
check that the CORB is running. Fixes a regression introduced in -r1.236
that resulted in printing 'azalia0: CORB is not running' on each suspend
resume cycle. Issue reported on icb by mlarkin; tested by Manuel Giraud,
ratchov and myself.
ok ratchov
|
|
on the Allwinner A64, H3 and H5 SoCs. This makes the onboard ethernet
usable on the popular Pine A64 and NanoPi Neo2. The skeleton used for
this driver is taken from tsec(4).
ok kettenis@
|
|
This assert triggers because of the floor check on amd64/sparc64
when ohci(4) processes its root-hub status change transfers at
IPL_BIO.
Previous to the removal of IPL_SOFTNET, the SPLUSBCHECK macro didn't
do anything, so it is safe to disable this check.
Issue reported by espie@ and krw@
|
|
supports being used as a regmap client to reset or power down a machine,
so this change implements the other side where we provide the registers
to write into.
ok kettenis@
|
|
it a logical OR intead of a binary OR.
From Artturi Alm
|
|
- save product type for future use
|
|
- explicitly clear sc_xfer upon detach
- fix spacing in urng_softc definition
|
|
This is just a step forward which allows further progress to happen in-tree.
The isochronous code path remains disabled for now. Playing audio over
xhci(4) does not work properly yet, and I haven't even tested video input.
Based on a work-in-progress diff by mpi@ from 2015.
ok mpi@
|
|
Other drivers do this, too. Fixes coverity CID 1455436.
|
|
|
|
does
Coverity CID 1455437
|
|
sp variable. Its value is not used, it is overwritten later on.
found by clang -Wuninitialized; OK deraadt@
|
|
not set in all code paths.
found by clang -Wuninitialized; OK deraadt@
|
|
type on the chunks is not the same, we don't actually care because we
are going to clear their metadata anyway, so don't error out. This
allows assembling a new RAID based on a drive that is zeroed and one
that used to be part of a softraid in its previous life.
ok jsing@
|
|
ok stsp
|
|
|
|
ok mpi@
|