Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-01-08 | Make aml_rdpciaddr() work for for devices behind bridges. The code now | Mark Kettenis | |
uses the mapping between AML nodes and PCI devices that we establish. Because _INIT methods may end up calling aml_rdpciaddr(), make sure we create that mapping early. Also handle devices that aren't actually present. These devices are now included in the mapping and reads will return an all-ones patterm whereas writes are a no-op.. ok mlarkin@ | |||
2017-01-08 | Display color depth alongside resolution when attaching inteldrm and | Frederic Cambus | |
radeondrm, using the same scheme as efifb(4). OK mpi@, visa@, kettenis@ | |||
2017-01-08 | Make urtwn(4) use AMRR instead of letting the firmware handle rate scaling. | Stefan Sperling | |
For now this only affects RTL8188EU chips, perhaps because the author of this patch does not own any devices containing any of the other chips (hint hint). Patch by misha aka Mikhail / mp39590 at gmail ok mpi@ | |||
2017-01-07 | regen | Mike Larkin | |
2017-01-07 | Some newer Intel Xeon E5v4 PCI ids, from Hrvoje Popovski | Mike Larkin | |
ok deraadt | |||
2017-01-07 | Remove unused MIX_CN_CIN macro, make umidi_evlen[] static, style(9). | Alexandre Ratchov | |
From Michael W. Bombardieri. Thanks. | |||
2017-01-05 | Checking whether mbuf list is empty is done by the if_input now | Mike Belopuhov | |
2017-01-05 | Microsoft has allocated us a SubID that we can use to identify OpenBSD | Mike Belopuhov | |
2017-01-05 | Don't let producer index become equal with the consumer when writing | Mike Belopuhov | |
A nod to the re.c commit by dlg@, perhaps pure paranoia, but works nevertheless. While here replace a more expensive modulo operation with a subtraction. | |||
2017-01-04 | In the set_params() routine, remove the AUDIO_ENCODING_ULINEAR case | Alexandre Ratchov | |
as upper layers calls it with AUDIO_ENCODING_ULINEAR_{LE,BE} only. | |||
2017-01-04 | better handle empty or full rx rings. | David Gwynne | |
currently re appears to end up spinning on landisk. the most obvious cause of this would be an inability to add entries on the rx ring when we run out of mbufs. cope with this by calling rxeof from the isr when the FIFO_OVERFLOW status bit is set. rxeof in turn unconditionally tries to fill the rx ring, even if it doesnt dequeue any packets off the ring. while here limit the number of entries that can go on the rx ring to 1 less than the size of the ring. a full ring looks the same as an empty ring (cos the producer and consumer are the same in both cases), so avoid letting this happen. ok deraadt@ who hit problems on his landisk and tested this diff | |||
2017-01-03 | Add simplefb(4), a driver to support the framebuffer set up by the firmware | Mark Kettenis | |
on some platforms that use device trees. Works on Allwinner (sunxi) and should also work on Raspberry Pi (broadcom) armv7 platforms. ok jsg@, visa@ | |||
2017-01-03 | No need to set use_maxpkt twice. From Michael W. Bombardieri. Thanks. | Alexandre Ratchov | |
2017-01-03 | If gain is above MAX, no need to check whether it's below MIN. | Alexandre Ratchov | |
From Michael W. Bombardieri. Thanks. | |||
2017-01-03 | No need to include sys/malloc.h. From Michael W. Bombardieri. Thanks. | Alexandre Ratchov | |
2016-12-29 | Eliminate 68 unused static variables that gcc complains about. | Kenneth R Westerback | |
ok deraadt@ | |||
2016-12-27 | Add cast to silence warnings generated by clang. | Mark Kettenis | |
ok mpi@ | |||
2016-12-26 | Fix typo, happend -> happened | Jeremie Courreges-Anglas | |
2016-12-24 | Make the boot programs support booting from softraid on 4K byte sector | YASUOKA Masahiko | |
disks. test gonzalo ok tom krw jsing | |||
2016-12-24 | Remove some unused variables that have been removed upstream as well. | Mark Kettenis | |
Fixes some clang warnings. ok jsg@ | |||
2016-12-24 | Put a bit more unused code under #ifdef notyet to prevent a clang warning. | Mark Kettenis | |
2016-12-23 | Define HAL_OPCODE using enum ieee80211_opmode to prevent clang from warning | Mark Kettenis | |
about an implicit enum conversion. ok stsp@ | |||
2016-12-23 | Add missing sentinel. | Mark Kettenis | |
ok deraadt@ | |||
2016-12-23 | Hide static inline functions that are only used in debug code behind the same | Mark Kettenis | |
#ifdef as the debug code itself. Prevents clang from warning about these functions being unused. ok stsp@, deraadt@ | |||
2016-12-23 | Implement disk detaching | Mike Belopuhov | |
2016-12-21 | Remove the rwlock paranoia since we're under KERNEL_LOCK anyway | Mike Belopuhov | |
2016-12-20 | Fix compiler warnings generated by clang. This matches upstream commit | Mark Kettenis | |
1cd73ff70d13a22faa95db8323382dd6d036554e by Alex Deucher, whose commit message makes me suspect that Brad Smith mailed us a diff back in 2013 that we ignored. ok jsg@ | |||
2016-12-20 | In midiread() and midiwrite(), add a second goto label to | Alexandre Ratchov | |
factor calls to mtx_leave() before returning. From Michael W. Bombardieri <mb at ii.net>. Thanks! | |||
2016-12-20 | Fix many typos. From Michael W. Bombardieri <mb at ii.net>. Thanks | Alexandre Ratchov | |
2016-12-20 | Simplify the activate() functions of auglx(4), autri(4), and | Alexandre Ratchov | |
auvia(4). From Michael W. Bombardieri <mb at ii.net>. Thanks. | |||
2016-12-20 | Group identical close_in_jack() and close_out_jack() into a single | Alexandre Ratchov | |
routine. From Michael W. Bombardieri <mb at ii.net>. Thanks! | |||
2016-12-20 | Set free(9) size argument. From Michael W. Bombardieri <mb at ii.net>. | Alexandre Ratchov | |
Thanks. | |||
2016-12-19 | Implement interface detaching | Mike Belopuhov | |
2016-12-19 | Add experimental support for device hot-plugging | Mike Belopuhov | |
We're installing watches on all nodes under "device/" and re-scan the subtree every time the watch is triggered looking for changes in the output. Tested with xnf(4) and xbf(4), helpful hints from Roger Pau Monne, thanks! | |||
2016-12-18 | Use %zu/%d to print size_t/ssize_t. Cast recno_t (a.k.a. u_int32_t) | Kenneth R Westerback | |
to (unsigned long) to match %lu formats. Makes gcc happier and quieter. ok deraadt@ | |||
2016-12-18 | Remove comparison of array which is always non-NULL. Fixes clang warning. | Mark Kettenis | |
ok jca@ (a while back) | |||
2016-12-18 | Add cast to mask and shift macros to silence warnings generated by clang. | Mark Kettenis | |
ok millert@ | |||
2016-12-18 | While copying out channel flags to userspace, omit the HT channel flag if | Stefan Sperling | |
we're not in 11n mode. This will allow tcpdump to show the mode correctly. ok mpi@ | |||
2016-12-16 | When running on Azure, the initial timesync "sync" message is not correct, | Reyk Floeter | |
ignore it and only use the timesync "sample" messages. OK mikeb@ | |||
2016-12-15 | Remove rasops2 (2-bit color depth) functions, they are unused. | Frederic Cambus | |
It seems unlikely that any future new platform will ever need them. OK mpi@ | |||
2016-12-15 | Regen usbdevs | Paul Irofti | |
2016-12-15 | Add Intel Bluetooth devices found on x250 and x260 Thinkpads. | Paul Irofti | |
2016-12-15 | fix build when DIAGNOSTIC is not defined | Jonathan Gray | |
ok mikeb@ | |||
2016-12-14 | Kill compat for old VNDIOCSET; ok deraadt@ | Jeremie Courreges-Anglas | |
2016-12-14 | Various typos and minor cleanup | Mike Belopuhov | |
2016-12-13 | Use new xs_{get,set}num functions instead of hand-rolled weirdness | Mike Belopuhov | |
2016-12-13 | Fix up tsleep priorities and make them interruptible | Mike Belopuhov | |
With help from and OK sf, OK mpi on the previous version. | |||
2016-12-13 | Bounce unaligned transfer data through a scratch buffer | Mike Belopuhov | |
Thanks to the detailed report from Nathanael Rensen, the issue with unaligned transfer data became apparent: the backend expects buffers be multiple of 512 bytes and to be 512 byte aligned, which is not always satisfied. This isn't an issue when requests are coming from the buffer cache, but can happen with raw device access since physio(9) ensures the former requirement is met by disallowing non-block sized reads, but doesn't enforce the latter. It remaps userland buffers into the kernel virtual space which preserves the data offset within the memory page and thus the original alignment. Buffers with offsets under the block size can't be referenced by Blkfront ring descriptors that measure data in blocks and must be substituted with temporary buffers for the duration of the I/O operation. | |||
2016-12-13 | Poll until the ITSDONE flag is set on the transfer | Mike Belopuhov | |
2016-12-12 | Use DPRINTF instead of printf() in #ifdef UAUDIO_DEBUG section. From | Alexandre Ratchov | |
Michael W. Bombardieri <mb at ii.net> |