summaryrefslogtreecommitdiffstats
path: root/sys/dev
AgeCommit message (Collapse)AuthorFilesLines
2015-09-09sizes for free(); ok semariederaadt3-19/+19
2015-09-09sizes for free(); ok semariederaadt2-7/+7
2015-09-09sizes for free(); ok semariederaadt3-20/+16
2015-09-09sizes for free(); ok sthenderaadt5-41/+44
2015-09-09sizes for free(); ok sthen semariederaadt2-5/+5
2015-09-08sizes for free(); ok semariederaadt2-9/+9
2015-09-08sizes for free(); checked by semariederaadt3-17/+17
2015-09-07Do not set USBD_NO_COPY for interrupt transfers, only bulk transfersmpi1-2/+3
are converted for the moment. From Grant Czajkowski.
2015-09-07Make it possible to use RI_WRONLY for the aframebuffer during early boot.kettenis2-7/+120
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 jmatthewderaadt1-12/+13
2015-09-06Add support for QEMU PCI serial devices in puc(4)sf1-1/+26
OK deraadt@
2015-09-06regenerate from pcidevssf2-2/+17
2015-09-06Add ids for Qemu PCI serial devicessf1-1/+4
OK deraadt@
2015-09-06clarify malloc arguments (base + length...)deraadt1-2/+2
2015-09-06We actually need an interrupt-safe allocator here, as we call pool_put()kettenis1-2/+2
with a mutex held, so we can't have it sleep.
2015-09-06sizes for free(); ok jmatthewderaadt1-22/+22
2015-09-06srom size is tracked, pass to free()deraadt1-3/+3
2015-09-06firmware size for free()deraadt1-5/+5
2015-09-06sizes for free() - most are about the firmware memoryderaadt1-5/+5
2015-09-05Support Synaptics touchpads without W mode.bru2-26/+19
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.bru2-23/+43
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 tomiod1-1/+13
default). From Matthew Martin on tech@
2015-09-05regenjsg2-2/+127
2015-09-05add some braswell idsjsg1-1/+26
2015-09-04The bnx_tx_pool gets used from interrupt context, so drop the explicitkettenis1-2/+2
backend allocoter here without passing PR_WAITOK to pool_init(9). ok mikeb@
2015-09-04Fix condition used while seaching candidates for "record level"ratchov1-3/+5
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 whenmpi1-7/+13
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 RTL8168Hjsg2-9/+6
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 transfervisa1-2/+13
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 identicalvisa2-8/+5
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 avisa2-88/+15
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 whenmpi1-8/+12
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(), sighderaadt1-3/+3
2015-09-01Reject USB requests that could damage the bus integrity, just like itmpi1-2/+11
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.mpi1-2/+2
ok dlg@, phessler@
2015-09-01sizes for free(), mostly related to firmwares.deraadt6-28/+34
ok dlg
2015-09-01free() firmware with right len; ok dlgderaadt1-2/+2
2015-09-01size for free()deraadt1-2/+3
2015-09-01uses sizes for free()deraadt1-5/+6
2015-08-31Use one xfer per pipe instead of doing an alloc/free dance for everympi1-30/+38
usbd_transfer(9). This fixes a use-after-free. Bug found by and diff from John L. Scarfone <john AT scarfone DOT net>
2015-08-30Modify kernel to prepare boot from UEFI.yasuoka1-1/+2
- Add new boot arg "bios_efi_info_t" to pass the paramters from UEFI - Make bios(4) and acpi(4) be able to probe with the parameters from UEFI - Add efifb(8). It uses the framebuffer from UEFI and it will work as a backend of wsdisplay(4) and wsfb (X11 video driver). Disabled by the kernel config for this moment input and ok kettenis
2015-08-30Add the number of midi ports to the card description, and use it toratchov2-16/+18
prevent cards with no midi connectors from attaching midi(4) devices.
2015-08-30size for free(); ok krwderaadt1-3/+3
2015-08-30Track rom size, for free()deraadt2-8/+7
2015-08-29firmware sizes are known; use them for free()deraadt4-10/+10
2015-08-29video sub-drivers will not return EINVAL in size variable. (Well,deraadt2-7/+8
a broken USB driver could, then what happens?) 0 is the right error. Also, keep track the size for free()
2015-08-29Set the rx mbuf size to MCLBYTES + ETHER_ALIGN for strict alignmentkettenis1-4/+3
architectures to communicate better what size is needed to mclgeti. Makes ix(4) consistent with em(4). ok mikeb@, dlg@
2015-08-29_NLIST_DO_ELF is no longer needed: it's the only optionguenther1-10/+1
ok deraadt@
2015-08-28Set the midi_isopen flag to zero before the chip is reset, as the flagratchov1-2/+4
is used to determine the interrupt mask. Currently this doesn't matter, but once suspend/resume works, this will matter.
2015-08-28remove forgotten debug printf in envy_midi_closeratchov1-2/+1