Age | Commit message (Collapse) | Author |
|
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@
|
|
|
|
ok mpi@
|
|
ok jca@ kettenis@ deraadt@
|
|
are returned since extras may be OEM-specific values we end up
ignoring anyway, such as on the Lenovo X1C 5th Gen which returns 21
elements.
ok mpi
|
|
It made one of my machines get stuck during boot.
|
|
Otherwise, the Tx attempt can fail due to the firmware's built-in regulatory
domain enforcement.
Because this code runs in interrrupt context we use a DELAY(). It's currently
set to 3 times the beacon interval. This is a bit long as far as DELAYs go,
but since this driver runs state transitions in interrupt context there is
no better way for now. Lower delays weren't reliable enough in my testing.
Makes association work reliably for me on 5GHz. My original plan was to only
add this hack for 5GHz but Holger Mikolon reported that it also helps on 2GHz
channels with regulatory restrictions (e.g. 13), so do it always.
ok mpi@
|
|
Defer probing of the drives to a kthread. This avoids several seconds of
delay() during boot. However, drives may now appear only after init has
started. But this does not affect installs from floppy. In that case the root
ramdisk is linked into the kernel and loaded by the boot loader.
Approach suggested by deraadt@, tested by miod@
|
|
ok kevlo@
|
|
line snuck into the rtl8192ce_bb_vals_2t array. Remove it again.
This broke baseband initialization for RTL8192CE which went unnoticed
because at the time nobody had tested rtwn(4) with that chip and the
driver didn't attach to it.
Problem reported by Martin Wanvik who eventually did this test.
ok kevlo@
|
|
From Greg Kroah-Hartman
c81c4d453edf242af644f7e71f673fc7632f337c in linux-4.4.y/4.4.86
|
|
From Maarten Lankhorst
3416ee45a8cbeb5bc4b13a754873fbb26a27dccb in linux-4.4.y/4.4.85
a0ffc51e20e90e0c1c2491de2b4b03f48b6caaba in mainline linux
|
|
From Chris Wilson
2a9d7664ffb2c223c488058ee6bee61512db9396 in linux-4.4.y/4.4.85
fe4600a548f2763dec91b3b27a1245c370ceee2a in mainline linux
|
|
based on the H3 code which is essentially the same apart from
differing device tree indices.
ok phessler@
|
|
with help from kettenis@
|
|
endpoint companion descriptor.
ok mpi@
|
|
Each TRB contains a remaining TD size, which allows hardware to tell whether
additional TRBs follow within the current transfer without reading ahead.
The length of the first TRB was subtracted from the total length before
calculating the remaining TD sizes. This is wrong because remaining TD sizes
are relative to the size of the entire transfer, including the first TRB.
Our current USB code does not trigger this bug because there is no code in
upper layers yet which triggers use of multiple TRBs per transfer.
ok mpi@
|
|
puts us in line with the linux driver. Also add a DPRINTF for endpoints.
"i'd say go for it" jasper@
|
|
we knock out the correct pins. Sptted by Artturi Alm.
|
|
the sensor does not show the drive state as "unknown".
ok phessler@
|
|
tested by abieber@
|
|
sc_inpipe too
|
|
including ramdisks without usb support...
|
|
ok visa@
|
|
driver per device, start bundling them into a single driver.
urng(4) supports the device currently supported by ualea(4) and adds support for
the Altusmetrum ChaosKey 1.0, by abieber@
This was tested by abieber@ with a ChaosKey and Sean Levy with an Alea II
ok abieber@ deraadt@ naddy@
|
|
|
|
driver only provides support for the RTC embedded on this device. Support
for the voltage regulators will come later. With this diff the Firefly-RK3399
gains a proper clock (if you connect a battery to the board).
|
|
|
|
ok jsg@ kettenis@
|
|
(guenther says: code could need a rewrite using writev(2) though)
|
|
|
|
of the /chosen node in the device tree to decide whether the framebuffer
should be used as the console device. Most, if not all, machines will
have that set to use a serial console and there is no easy way yet to
change that.
ok jsg@
|
|
a process context. In interrupt context, schedule the init task
instead of calling iwm_stop() directly.
ok procter@
|
|
|
|
|
|
|
|
|