diff options
author | 2001-01-28 09:43:41 +0000 | |
---|---|---|
committer | 2001-01-28 09:43:41 +0000 | |
commit | c7c0eef52352a7a1942f73770810c9560c6146a3 (patch) | |
tree | fea03472e6c232caad7e6b12e56720205ef35824 /sys/dev/usb/usb.c | |
parent | sync (diff) | |
download | wireguard-openbsd-c7c0eef52352a7a1942f73770810c9560c6146a3.tar.xz wireguard-openbsd-c7c0eef52352a7a1942f73770810c9560c6146a3.zip |
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/usb.c')
-rw-r--r-- | sys/dev/usb/usb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c index b1a0cb22b41..0683597dfab 100644 --- a/sys/dev/usb/usb.c +++ b/sys/dev/usb/usb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: usb.c,v 1.13 2000/11/08 18:10:38 aaron Exp $ */ +/* $OpenBSD: usb.c,v 1.14 2001/01/28 09:43:42 aaron Exp $ */ /* $NetBSD: usb.c,v 1.47 2000/08/24 14:12:34 augustss Exp $ */ /* $FreeBSD: src/sys/dev/usb/usb.c,v 1.20 1999/11/17 22:33:46 n_hibma Exp $ */ @@ -499,7 +499,7 @@ usbioctl(dev_t devt, u_long cmd, caddr_t data, int flag, struct proc *p) dev = sc->sc_bus->devices[addr]; if (dev == NULL) return (ENXIO); - usbd_fill_deviceinfo(dev, di); + usbd_fill_deviceinfo(dev, di, 1); break; } @@ -621,7 +621,7 @@ usbd_add_dev_event(int type, usbd_device_handle udev) { struct usb_event ue; - usbd_fill_deviceinfo(udev, &ue.u.ue_device); + usbd_fill_deviceinfo(udev, &ue.u.ue_device, USB_EVENT_IS_ATTACH(type)); usb_add_event(type, &ue); } |