summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Knudsen <mk@cvs.openbsd.org>2010-07-26 22:17:14 +0000
committerMichael Knudsen <mk@cvs.openbsd.org>2010-07-26 22:17:14 +0000
commit672fc05b0d787fb85e320c4665610a3c659b0579 (patch)
treea5af422b1f5ae64d86f949fa8e4eebfa44844fb6 /sys
parentded00f5cdaed2243e220c879f06bd3b4092982b4 (diff)
Microsoft LifeCam needs the framesize quirk as well.
ok mglocker
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/uvideo.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/usb/uvideo.c b/sys/dev/usb/uvideo.c
index 127367ee99a..1873b9b3b3c 100644
--- a/sys/dev/usb/uvideo.c
+++ b/sys/dev/usb/uvideo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvideo.c,v 1.135 2010/07/26 07:12:21 mglocker Exp $ */
+/* $OpenBSD: uvideo.c,v 1.136 2010/07/26 22:17:13 mk Exp $ */
/*
* Copyright (c) 2008 Robert Nagy <robert@openbsd.org>
@@ -335,6 +335,13 @@ struct uvideo_devs {
NULL,
UVIDEO_FLAG_FIX_MAX_VIDEO_FRAME_SIZE
},
+ {
+ /* Needs to fix dwMaxVideoFrameSize */
+ { USB_VENDOR_MICROSOFT, USB_PRODUCT_MICROSOFT_LIFECAM },
+ NULL,
+ NULL,
+ UVIDEO_FLAG_FIX_MAX_VIDEO_FRAME_SIZE
+ },
};
#define uvideo_lookup(v, p) \
((struct uvideo_devs *)usb_lookup(uvideo_devs, v, p))