openbsd-ports/graphics/s10sh/patches/patch-usb_c
2002-12-30 08:44:36 +00:00

28 lines
783 B
Plaintext

$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;
break;
+ case PRODUCT_ID_S40:
+ *camera_dev = dev;
+ if (opt_debug)
+ printf("Canon S40 found\n");
+ return USB_INIT_S40;
+ break;
case PRODUCT_ID_S100_EU:
case PRODUCT_ID_S100_US:
*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: