NetBSD-Bugs archive

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

PR/53066 CVS commit: [netbsd-8] src/sys/dev/usb



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

From: "Martin Husemann" <martin%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/53066 CVS commit: [netbsd-8] src/sys/dev/usb
Date: Sat, 5 May 2018 15:05:40 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Sat May  5 15:05:39 UTC 2018
 
 Modified Files:
 	src/sys/dev/usb [netbsd-8]: xhci.c xhcireg.h
 
 Log Message:
 Pull up following revision(s) (requested by jdolecek in ticket #787):
 
 	sys/dev/usb/xhci.c: revision 1.88-1.90
 	sys/dev/usb/xhcireg.h: revision 1.10
 
 add KASSERT() that sc_child* is set to NULL after child detach; just for
 readability, it's not immediatelly obvious this is done in xhci_childdet()
 no functional changes
 
 trigger the softint processing on that child bus which is not detached yet
 fixes PR kern/53066 by Martin Husemann
 
 enable code to only trigger usb processing when EINT is set, to
 avoid misinterpreting shared interrupt for another device
 
 when clearing USBSTS, actually preserve the bits which spec requires to
 preserve, and actually clear bit 1, which should be actually always
 cleared to zero by spec
 
 also #ifdef XHCI_DEBUG some unnecessary register reads
 this should finally resolve PR kern/53066 also for Martin
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.72.2.5 -r1.72.2.6 src/sys/dev/usb/xhci.c
 cvs rdiff -u -r1.9 -r1.9.6.1 src/sys/dev/usb/xhcireg.h
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index