summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/umbg.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* support Meinberg DCF600USB, from weerd@, ok phesslersthen2019-03-221-4/+17
|
* Delete unnecessary <sys/file.h> includesguenther2017-12-301-2/+1
| | | | ok millert@ krw@
* Avoid calling usbd_set_config_index() in *_attach() and let the stackmpi2016-09-021-8/+2
| | | | | | | do it instead. If anything bad happen due to a malformed descriptor it makes no sense to try to attach a driver, and bail before probing.
* tedu another bunch of DVACT_DEACTIVATE handlers that do nothing but setmpi2014-07-121-23/+5
| | | | the 'dying' flag.
* Clean-up usbd_abort_pipe() usage.pirofti2013-11-151-9/+3
| | | | | | | This function never fails. So change it's return type to void and adjust the copy-pasted callers that were checking the return. "If it compiles, ok" mpi@
* Get rid of various 'typedef struct' definitions and use plain structuremglocker2013-04-151-8/+8
| | | | | | | | | definitions instead. We don't change usb.h for now to stay compatible with userland. Tested by mpi@ on macppc and myself on i386. ok mpi@
* Instead of using a wrapper around usbd_transfer() when submitting ampi2013-04-121-5/+5
| | | | | | | transfer synchronously just pass the USBD_SYNCHRONOUS flag like any other flags when creating a transfer. ok sthen@, mglocker@
* proc.h is way too much header for usb to handle.tedu2013-03-281-2/+2
|
* you probably don't need to include vnode.h or reboot.h. you most definitelytedu2013-03-281-3/+1
| | | | | absolutely do not need to include vnode.h because it includes uvm_extern.h and you want the idiotic TRUE FALSE defines from uvm.
* Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thingmatthew2011-07-031-3/+1
| | | | | | | | that's ever used it, and it's long since been changed to use DVACT_{QUIESCE,SUSPEND,RESUME} instead. ok deraadt@, dlg@; miod@ also agreed with this idea when I brought it up a few weeks ago
* garbage collect "usb events". without /dev/usb there is no way to accessjakemsr2011-01-251-5/+1
| | | | | | them from userland, and nothing in the kernel uses them. ok krw@, miod@
* * replace per-driver dying and/or other state variables with use ofjakemsr2010-12-061-6/+5
| | | | | | | usbd_deactivete() and usbd_is_dying() * use usbd_deactivate() in activate()/DEACTIVATE * convert a few more direct checks of the associated bus' dying flag with usbd_is_dying()
* check that a timeout(9) has been initialized before deleting itjakemsr2010-10-231-3/+5
| | | | ok phessler
* create another kthread to run xfer abort tasks. xfer abort tasks cannotjakemsr2010-10-231-2/+2
| | | | | | | | | | | be run from the generic task kthread, because xfers that need to be aborted block newly queued tasks from running (i.e. the xfer to be aborted blocks the abort of that task). as there are now three types of usb tasks, add an argument to usb_init_task() and another member to struct usb_task to specify the task type. fixes boot hangs that are showing up because we now use usb tasks to attach/detach usb devices.
* remove dying flag in detach() function.yuo2010-09-241-3/+1
| | | | | | The dying flag will be set in activate()/DEACTIVATE. ok deraadt@
* in the detach function remove our usb task before calling any otherderaadt2009-11-211-3/+3
| | | | | teardown functions which could potentially sleep (and then, the usb task would get called for a half-torn down device)
* Get rid of devact enum, substitute it with an int and coresponding defines.pirofti2009-10-131-3/+3
| | | | | | This is needed for the addition of further suspend/resume actions. Okay deraadt@, marco@.
* in ca_attach() there is no need to set .value and .flags of sensors to 0,cnst2009-04-261-5/+1
| | | | since autoconf(9) allocates softc with M_ZERO; ok deraadt
* Kill whitespace, remove unneeded ,mbalmer2008-11-211-10/+10
|
* Convert timeout_add() calls using multiples of hz to timeout_add_sec()blambert2008-09-101-11/+6
| | | | | | | Really just the low-hanging fruit of (hopefully) forthcoming timeout conversions. ok art@, krw@
* Don't use uninitialized variables in umbg_detach.mbalmer2007-11-231-26/+24
|
* Degrade sensor status in an interrupt context.mbalmer2007-11-231-17/+2
|
* Don't use utc_off, time is always reported in UTC.mbalmer2007-11-121-4/+4
|
* Clean up some debugging left-overs.mbalmer2007-11-101-11/+6
|
* knf.mbalmer2007-11-101-3/+2
|
* umbg(4) is a driver to support the USB attached Meinberg USB5131 DCF77mbalmer2007-11-101-0/+500
radio clock. umbg(4) implements a timedelta sensor and reports the signal quality in the Signal sensor as percentage. The signal sensor status further indicates if the clock is free running (WARN). ok dlg, jsg