NetBSD-Bugs archive

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

PR/53598 CVS commit: src/sys/dev



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

From: "matthew green" <mrg%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/53598 CVS commit: src/sys/dev
Date: Tue, 18 Sep 2018 05:24:10 +0000

 Module Name:	src
 Committed By:	mrg
 Date:		Tue Sep 18 05:24:10 UTC 2018
 
 Modified Files:
 	src/sys/dev/pci: xhci_pci.c
 	src/sys/dev/usb: usb.c
 
 Log Message:
 deal with partial attach failures in usb_attach vs usb_detach aka PR 53598.
 
 - make sure xhci's sc->sc_ios is NULL if failure happens.
 - rearrange usb_attach() / usb_doattach() to make it simpler to clean up.
 - move usb_async_intr softint into usb_once_init().  previously, each USB
   controller would start a new one, and leave the old one leaked.
 - handle controller interrupts without a bus attached
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.13 -r1.14 src/sys/dev/pci/xhci_pci.c
 cvs rdiff -u -r1.172 -r1.173 src/sys/dev/usb/usb.c
 
 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