History log of /openbsd-src/sys/dev/usb/umcs.c (Results 1 – 12 of 12)
Revision Date Author Comments
# 81508fe3 23-May-2024 jsg <jsg@openbsd.org>

remove unneeded includes; ok mpi@


# 2923759d 10-Apr-2023 jsg <jsg@openbsd.org>

fix setting parity bits
ok mglocker@


# c520a48c 09-Apr-2022 naddy <naddy@openbsd.org>

constify method tables in USB serial drivers

ok miod@


# 4b1a56af 09-Jan-2022 jsg <jsg@openbsd.org>

spelling
feedback and ok tb@ jmc@ ok ratchov@


# f88cb03e 31-Jul-2020 mglocker <mglocker@openbsd.org>

Nuke all occurrences of usbd_abort_pipe() if it gets called right
before usbd_close_pipe(), since usbd_close_pipe() already takes care
about aborting non-empty pipes.

As investigated by gerhard@ usb

Nuke all occurrences of usbd_abort_pipe() if it gets called right
before usbd_close_pipe(), since usbd_close_pipe() already takes care
about aborting non-empty pipes.

As investigated by gerhard@ usbdi.c rev. 1.57 did add usbd_abort_pipe()
to usbd_close_pipe(), but the drivers didn't get cleaned up afterwards.

ok gerhard@

show more ...


# 739356a6 17-Mar-2020 mpi <mpi@openbsd.org>

Prevent out-of-bound read if `rate' doesn't match known values.

CID 1453258

ok kettenis@


# d89ebf1c 09-Oct-2017 mpi <mpi@openbsd.org>

Correct logic check preventing the device to attach.

Fix regression introdruced in previous.

Found the hardway and diff from weerd@


# 49c516da 10-Aug-2017 mpi <mpi@openbsd.org>

Deactivate the device if I/O fails in attach.

Coverity CID 1453399; ok deraadt@


# 4dd0bafb 14-Apr-2015 mpi <mpi@openbsd.org>

Setting the configuration in *_attach() is a bad practise because if it
fails it's impossible to debug and you cannot use your device.

So instead of calling usbd_set_config_index(), match the right

Setting the configuration in *_attach() is a bad practise because if it
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.

show more ...


# 364e4a0c 14-Apr-2015 mpi <mpi@openbsd.org>

It's not possible to call umcs_get_status() in interrupt context
because it submits synchronous transfers, so schedule a task when
necessary.


# 21dab745 14-Mar-2015 jsg <jsg@openbsd.org>

Remove some includes include-what-you-use claims don't
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@


# 1b055645 04-Dec-2014 mpi <mpi@openbsd.org>

Driver for MosChip Semiconductor 78x0 USB multiport serial adapters.

Ported from FreeBSD via NetBSD, tested on a ST Lab U-400 provided by
weerd@.

ok jsg@