summaryrefslogtreecommitdiff
path: root/sys/dev/usb/ugen.c
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2001-01-28 09:43:44 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2001-01-28 09:43:44 +0000
commit068c901929c8e128152d9695e219c78a5c15d162 (patch)
tree2d13c329b2bb4222759f39870f2dbeb46cd477a5 /sys/dev/usb/ugen.c
parentc4aeeb204ccb14898a9115b35ae590f15a16124f (diff)
Another USB sync with NetBSD. We are still lacking an up-to-date umass(4)
driver. I would appreciate it if someone with the hardware looked into it. I also have to take a closer look at changes to the USB Ethernet drivers, as well as import some drivers we are missing (uftdi, if_upl, yap, etc.)
Diffstat (limited to 'sys/dev/usb/ugen.c')
-rw-r--r--sys/dev/usb/ugen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ugen.c b/sys/dev/usb/ugen.c
index 6fa37f3f683..56b28da7eb3 100644
--- a/sys/dev/usb/ugen.c
+++ b/sys/dev/usb/ugen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ugen.c,v 1.13 2000/11/21 18:45:53 mickey Exp $ */
+/* $OpenBSD: ugen.c,v 1.14 2001/01/28 09:43:41 aaron Exp $ */
/* $NetBSD: ugen.c,v 1.43 2000/10/24 14:53:59 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/ugen.c,v 1.26 1999/11/17 22:33:41 n_hibma Exp $ */
@@ -1224,7 +1224,7 @@ ugen_do_ioctl(struct ugen_softc *sc, int endpt, u_long cmd,
}
case USB_GET_DEVICEINFO:
usbd_fill_deviceinfo(sc->sc_udev,
- (struct usb_device_info *)addr);
+ (struct usb_device_info *)addr, 1);
break;
default:
return (EINVAL);