summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb_subr.c
AgeCommit message (Expand)Author
2021-11-06USB style. NFC.skrll
2021-11-06config_pending_incr doesn't need KERNEL_LOCK protectionskrll
2021-09-07usb(4): Fix xfer race between software abort and hardware completion.riastradh
2021-08-07Merge thorpej-cfargs2.thorpej
2021-06-13usb(4): Bus exploration is single-threaded -- assert it so.riastradh
2021-06-13Fix last patch.mlelstv
2021-06-13Use correct integer lengths for properties.mlelstv
2021-06-13Fix non-DIAGNOSTIC build.mlelstv
2021-06-13usb(4): Tighten interface locking and pipe references.riastradh
2021-06-12usb(4): Nix unused struct usbd_interface::ui_priv.riastradh
2021-06-12usb(4): Make usbd_fill_iface_data atomic.riastradh
2021-06-12usb(4): Merge logic in usbd_kill_pipe and usbd_close_pipe.riastradh
2021-06-12usb(4): Fix fix for interface change pipe fix.riastradh
2021-06-12usb(4): Fix races between usbd_open_pipe* and usbd_set_interface.riastradh
2021-06-12usb(4): Fix racy endpoint reference counting.riastradh
2021-06-12usb(4), uhub(4): Sprinkle usbhist.riastradh
2021-06-12usb(4): Sprinkle kernel lock assertions.riastradh
2021-06-12usb(4): Verify dev->ud_subdevs is still there before freeing it.riastradh
2021-06-12usb(4): kmem_zalloc(KM_SLEEP) cannot fail; nix error branch.riastradh
2021-04-24Merge thorpej-cfargs branch:thorpej
2021-02-17Expose more descriptor items as device properties.mlelstv
2020-06-11Update for proplib(3) API changes.thorpej
2020-05-31Reset ud_ifaces and ud_cdesc to NULL, to prevent use-after-free inmaxv
2020-05-31also set ifc->ui_endpoints to NULL in usbd_free_iface_data() when the valuejdolecek
2020-05-31If we failed because we didn't encounter an endpoint, do not attempt tomaxv
2020-03-14fix more broken kernhist formats (now I got them all).christos
2020-03-14revert the 0x% -> %# change for fixed width formats pointed out by uwe.christos
2020-02-08Move three functions into usbdi_util.c, where they belong. No functionalmaxv
2019-10-03Fix memory leaks. Was wondering where memory had gone after several hoursmaxv
2019-09-15Reset ud_pipe0 to NULL before calling usbd_setup_pipe_flags(). If the callmaxv
2019-08-28add new usbd_do_request_len() that can allocate a larger thanmrg
2019-08-21convert pairs of USBHIST_CALLED()+USBHIST_LOG*() intomrg
2019-08-07Introduce USB_DESCRIPTOR_SIZE (3), and fix two bugs:maxv
2019-07-31 1) Make sure we have a complete endpoint descriptor header, otherwisemaxv
2019-07-23 1) If the descriptor length is bigger than the USB string descriptormaxv
2019-07-19revert previous. meant to delete that change...mrg
2019-07-19call ure_stop_locked(), not ure_stop(), from ure_init_locked() tomrg
2019-07-06Revert previous, for now.maxv
2019-07-06Fix two length checks, otherwise a malicious USB key plugged in themaxv
2019-02-12Do not set p->up_serialise twice in usbd_setup_pipe_flags().rin
2019-01-27Merge the [pgoyette-compat] branchpgoyette
2018-10-23Make USB port iteration code consistent, always startint at port #1manu
2018-09-18add config_pending usage to uhub and general USB device attachment.mrg
2018-08-02Fix usb_rem_task_wait API.riastradh
2018-07-29Use usb_rem_task_wait in usbd_kill_pipe.riastradh
2018-04-30add missing KERNEL_LOCK protection around autoconf calls.mlelstv
2017-12-26Fix typo in a commentkhorben
2017-12-08Be more defensive towards malicious USB deviceskhorben
2017-10-28Update the kernhist(9) kernel history code to address issues identifiedpgoyette
2017-06-01remove checks for failure after memory allocation calls that cannot fail:chs