NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/22646 (Panic in ohci_add_done())



Does this patch (without the ohci.c patch) help?

Not sure why your camera doesn't like begin asked for strings at the
moment and ohci should do a better good of not getting confused.

Nick
Index: sys/dev/usb/usb.c
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usb.c,v
retrieving revision 1.163
diff -u -p -r1.163 usb.c
--- sys/dev/usb/usb.c	26 Apr 2016 12:58:48 -0000	1.163
+++ sys/dev/usb/usb.c	26 Apr 2016 13:01:18 -0000
@@ -787,7 +787,7 @@ usbioctl(dev_t devt, u_long cmd, void *d
 			error = ENXIO;
 			goto fail;
 		}
-		usbd_fill_deviceinfo(dev, di, 1);
+		usbd_fill_deviceinfo(dev, di, false);
 		break;
 	}
 


Home | Main Index | Thread Index | Old Index