diff options
author | 2018-04-24 17:22:33 +0000 | |
---|---|---|
committer | 2018-04-24 17:22:33 +0000 | |
commit | 954d25e59e1d51637b17ca94a8e6544c64b2e74a (patch) | |
tree | 122868d642a834dbcdd727c9b5d0cf88e1951eea /sys/dev/usb/usbdivar.h | |
parent | Make futex(2) also return ECANCELED in case SA_RESTART was set. (diff) | |
download | wireguard-openbsd-954d25e59e1d51637b17ca94a8e6544c64b2e74a.tar.xz wireguard-openbsd-954d25e59e1d51637b17ca94a8e6544c64b2e74a.zip |
Fill the 'card' member of v4l2_capability struct with the usb product
name coming from usbd_devinfo_vp() instead of the dummy "Generic USB
video class device" string, makes it easier to differentiate multiple
webcams in firefox's webrtc permission dialog.
ok/help mpi@
Diffstat (limited to 'sys/dev/usb/usbdivar.h')
-rw-r--r-- | sys/dev/usb/usbdivar.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/usb/usbdivar.h b/sys/dev/usb/usbdivar.h index cc653bc5c28..42f7974e90b 100644 --- a/sys/dev/usb/usbdivar.h +++ b/sys/dev/usb/usbdivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: usbdivar.h,v 1.73 2018/02/03 13:37:37 mpi Exp $ */ +/* $OpenBSD: usbdivar.h,v 1.74 2018/04/24 17:22:33 landry Exp $ */ /* $NetBSD: usbdivar.h,v 1.70 2002/07/11 21:14:36 augustss Exp $ */ /* $FreeBSD: src/sys/dev/usb/usbdivar.h,v 1.11 1999/11/17 22:33:51 n_hibma Exp $ */ @@ -257,6 +257,8 @@ usbd_status usbd_fill_iface_data(struct usbd_device *, int, int); usbd_status usb_insert_transfer(struct usbd_xfer *); void usb_transfer_complete(struct usbd_xfer *); int usbd_detach(struct usbd_device *, struct device *); +void usbd_devinfo_vp(struct usbd_device *, char *, size_t, + char *, size_t, int); /* Routines from usb.c */ void usb_needs_explore(struct usbd_device *, int); |