summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/umcs.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Correct logic check preventing the device to attach.mpi2017-10-091-2/+2
| | | | | | Fix regression introdruced in previous. Found the hardway and diff from weerd@
* Deactivate the device if I/O fails in attach.mpi2017-08-101-2/+6
| | | | Coverity CID 1453399; ok deraadt@
* Setting the configuration in *_attach() is a bad practise because if itmpi2015-04-141-23/+10
| | | | | | | | | fails it's impossible to debug and you cannot use your device. So instead of calling usbd_set_config_index(), match the right interface. This is trivial with this device because it has only one configuration and interface.
* It's not possible to call umcs_get_status() in interrupt contextmpi2015-04-141-2/+28
| | | | | because it submits synchronous transfers, so schedule a task when necessary.
* Remove some includes include-what-you-use claims don'tjsg2015-03-141-2/+1
| | | | | | | have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@
* Driver for MosChip Semiconductor 78x0 USB multiport serial adapters.mpi2014-12-041-0/+806
Ported from FreeBSD via NetBSD, tested on a ST Lab U-400 provided by weerd@. ok jsg@