diff options
author | Marcus Glocker <mglocker@cvs.openbsd.org> | 2008-08-11 05:37:02 +0000 |
---|---|---|
committer | Marcus Glocker <mglocker@cvs.openbsd.org> | 2008-08-11 05:37:02 +0000 |
commit | 44fab68a9c993afb3ef1a9e1aef479182af58d62 (patch) | |
tree | 3cef25c48e33e7eedb77bd1d1e584885de1f5259 /sys/dev/usb/uvideo.c | |
parent | be38412e49d78c13c55bcd0a1f1b3c1959bc4dae (diff) |
Since we have ehci(4) isoc support now, don't demote USB2 uvideo(4)
devices to USB1, instead let them attach to ehci(4).
This may break a couple of the devices for the moment, but it's the way
we have to go finally.
Diffstat (limited to 'sys/dev/usb/uvideo.c')
-rw-r--r-- | sys/dev/usb/uvideo.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/dev/usb/uvideo.c b/sys/dev/usb/uvideo.c index d4542dbb576..e93139b6a5d 100644 --- a/sys/dev/usb/uvideo.c +++ b/sys/dev/usb/uvideo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvideo.c,v 1.78 2008/08/10 10:01:25 mglocker Exp $ */ +/* $OpenBSD: uvideo.c,v 1.79 2008/08/11 05:37:01 mglocker Exp $ */ /* * Copyright (c) 2008 Robert Nagy <robert@openbsd.org> @@ -207,9 +207,6 @@ struct video_hw_if uvideo_hw_if = { * they are. They report UICLASS_VENDOR in the bInterfaceClass * instead of UICLASS_VIDEO. Give those devices a chance to attach * by looking up their USB ID. - * - * If the device also doesn't set UDCLASS_VIDEO you need to add an - * entry in usb_quirks.c, too, so the ehci disown works. */ static const struct usb_devno uvideo_quirk_devs [] = { { USB_VENDOR_LOGITECH, USB_PRODUCT_LOGITECH_QUICKCAMOEM_1 } @@ -327,12 +324,6 @@ uvideo_attach(struct device *parent, struct device *self, void *aux) sc->sc_udev = uaa->device; - if (uaa->device->bus->usbrev == USBREV_2_0) { - printf("%s: ehci(4) does not support isochronous transfers " - "yet, disable it.\n", DEVNAME(sc)); - return; - } - /* get the config descriptor */ cdesc = usbd_get_config_descriptor(sc->sc_udev); if (cdesc == NULL) { |