openbsd-ports/graphics/s10sh/patches/patch-usb_c

28 lines
783 B
Plaintext
Raw Normal View History

2002-12-30 03:44:36 -05:00
$OpenBSD: patch-usb_c,v 1.3 2002/12/30 08:44:36 pvalchev Exp $
--- usb.c.orig Tue Mar 13 06:46:18 2001
+++ usb.c Mon Dec 30 00:30:02 2002
@@ -84,11 +84,23 @@ int USB_camera_init(struct usb_device **
printf("Canon S20 found\n");
return USB_INIT_S20;
2002-07-06 12:32:16 -04:00
break;
+ case PRODUCT_ID_S40:
2002-07-06 12:32:16 -04:00
+ *camera_dev = dev;
+ if (opt_debug)
+ printf("Canon S40 found\n");
+ return USB_INIT_S40;
2002-07-06 12:32:16 -04:00
+ break;
case PRODUCT_ID_S100_EU:
case PRODUCT_ID_S100_US:
2002-07-06 12:32:16 -04:00
*camera_dev = dev;
if (opt_debug)
printf("Canon S100 found\n");
+ return USB_INIT_S100;
+ break;
+ case PRODUCT_ID_S200:
+ *camera_dev = dev;
+ if (opt_debug)
+ printf("Canon S200 found\n");
return USB_INIT_S100;
break;
case PRODUCT_ID_G1: