summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2015-09-11fairly simple size for free()Theo de Raadt
2015-09-11size for free()Theo de Raadt
2015-09-11Ignore the 'rotation lock' button on my Yoga12Philip Guenther
2015-09-10kqueue(2) support for wsmouse(4), wskbd(4) and wsmux(4).Martin Pieuchot
Needed for libinput port. ok guenther@, miod@
2015-09-10sizes for free(); ok sthenTheo de Raadt
2015-09-10Fix a zx_putchar() stupid bug I introduced nine years ago by actuallyMiod Vallat
initializing variables before they get used.
2015-09-10remove unused macro GEM_CURRENT_MEDIA; ok dlg@ mpi@Stefan Sperling
2015-09-10Show usb stack error code if a firmware page fails to load in urtwn(4).Stefan Sperling
ok mpi@
2015-09-10simple size for free()Theo de Raadt
2015-09-10PPB_EXNAMLEN for the extent name; now easier to pass as a size for free()Theo de Raadt
2015-09-09sizes for free(); ok semarieTheo de Raadt
2015-09-09sizes for free(); ok semarieTheo de Raadt
2015-09-09sizes for free(); ok semarieTheo de Raadt
2015-09-09sizes for free(); ok sthenTheo de Raadt
2015-09-09sizes for free(); ok sthen semarieTheo de Raadt
2015-09-08sizes for free(); ok semarieTheo de Raadt
2015-09-08sizes for free(); checked by semarieTheo de Raadt
2015-09-07Do not set USBD_NO_COPY for interrupt transfers, only bulk transfersMartin Pieuchot
are converted for the moment. From Grant Czajkowski.
2015-09-07Make it possible to use RI_WRONLY for the aframebuffer during early boot.Mark Kettenis
In this case, the caller has to provide the backing store for the screen contents by setting the ri_bs member of "struct rasops_info". The screen contents are retained if the rasops_info descriptor is later reinitialized after adding the RI_VCONS flag. ok yasuoka@, deraadt@
2015-09-07sizes for free(); ok jmatthewTheo de Raadt
2015-09-06Add support for QEMU PCI serial devices in puc(4)Stefan Fritsch
OK deraadt@
2015-09-06regenerate from pcidevsStefan Fritsch
2015-09-06Add ids for Qemu PCI serial devicesStefan Fritsch
OK deraadt@
2015-09-06clarify malloc arguments (base + length...)Theo de Raadt
2015-09-06We actually need an interrupt-safe allocator here, as we call pool_put()Mark Kettenis
with a mutex held, so we can't have it sleep.
2015-09-06sizes for free(); ok jmatthewTheo de Raadt
2015-09-06srom size is tracked, pass to free()Theo de Raadt
2015-09-06firmware size for free()Theo de Raadt
2015-09-06sizes for free() - most are about the firmware memoryTheo de Raadt
2015-09-05Support Synaptics touchpads without W mode.bru
Emulate W mode if a Synaptics model doesn't provide it, and check for the success of the resolution query during setup. ok shadchin@, mpi@
2015-09-05Improve tap-and-drag detection for ALPS touchpads.bru
The ALPS mechanism for gesture detection can produce long delays between a packet that signals a tap and the next packet, which either signals the end of the gesture or the start of a drag-operation. The time spans can exceed the timeouts used by the generic detection mechanism in the synaptics driver. Reporting both the touch and the release event when the second packet has arrived ensures that the tap will be recognized. ok mpi@ shadchin@
2015-09-05Support for xterm-compatible SGR escapes 39 and 49 (reset fg/bg colour toMiod Vallat
default). From Matthew Martin on tech@
2015-09-05regenJonathan Gray
2015-09-05add some braswell idsJonathan Gray
2015-09-04The bnx_tx_pool gets used from interrupt context, so drop the explicitMark Kettenis
backend allocoter here without passing PR_WAITOK to pool_init(9). ok mikeb@
2015-09-04Fix condition used while seaching candidates for "record level"Alexandre Ratchov
control for wskbd. This may fix "record level" keys on certain keyboards.
2015-09-04Do not use an intermediary buffer on the stack of the caller whenMartin Pieuchot
submitting a bulk write request. This also means big bulk write requests are no longer split into multiple small transfers something that libusb consumers do not expect. From Grant Czajkowski <czajkow2 AT illinois DOT edu> as part of the GSoC 2015.
2015-09-04add support for RTL8168HJonathan Gray
tedu tested an almost identical diff from brad that set the same flags.
2015-09-03Properly cancel any pending USB abort task when aborting a transferVisa Hankala
and skip completed transfers in dwc2_abort_xfer(). This fixes some timeout-related crashes. Feedback and ok mpi@
2015-09-03Remove the abort_task field in struct dwc2_xfer. There is an identicalVisa Hankala
field in struct usbd_xfer which is part of dwc2_xfer. ok mpi@
2015-09-03Remove sc->sc_lock and add several splusb()'s in dwc2, to avoid aVisa Hankala
possible lock recursion panic on transfer timeout. The lock is not needed yet because the USB stack is not MP-safe. ok mpi@, "makes sense" jasper@
2015-09-03Do not use an intermediary buffer on the stack of the caller whenMartin Pieuchot
submitting a read request. This also means big read requests are no longer split into multiple small transfers something that libusb consumers do not expect. Tested by ajacatoutot@. Found by Grant Czajkowski <czajkow2 AT illinois DOT edu> during the GSoC 2015.
2015-09-02correct sizes for free(), sighTheo de Raadt
2015-09-01Reject USB requests that could damage the bus integrity, just like itMartin Pieuchot
is done in ugen(4). Found by Grant Czajkowski during the GSoC 2015.
2015-09-01Use the correct free(9) size for the RX ring.Martin Pieuchot
ok dlg@, phessler@
2015-09-01sizes for free(), mostly related to firmwares.Theo de Raadt
ok dlg
2015-09-01free() firmware with right len; ok dlgTheo de Raadt
2015-09-01size for free()Theo de Raadt
2015-09-01uses sizes for free()Theo de Raadt
2015-08-31Use one xfer per pipe instead of doing an alloc/free dance for everyMartin Pieuchot
usbd_transfer(9). This fixes a use-after-free. Bug found by and diff from John L. Scarfone <john AT scarfone DOT net>