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())



The following reply was made to PR kern/22646; it has been noted by GNATS.

From: Nick Hudson <skrll%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost,
 Andreas Gustafsson <gson%gson.org@localhost>
Cc: 
Subject: Re: kern/22646 (Panic in ohci_add_done())
Date: Tue, 26 Apr 2016 14:04:57 +0100

 This is a multi-part message in MIME format.
 --------------090601000904070803000502
 Content-Type: text/plain; charset=windows-1252; format=flowed
 Content-Transfer-Encoding: 7bit
 
 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
 
 --------------090601000904070803000502
 Content-Type: text/x-patch;
  name="usb.c.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="usb.c.diff"
 
 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;
  	}
  
 
 --------------090601000904070803000502--
 


Home | Main Index | Thread Index | Old Index