Subject: CVS commit: src/sys/dev/usb
To: None <source-changes@NetBSD.org>
From: Matthias Drochner <drochner@netbsd.org>
List: source-changes
Date: 07/11/2007 20:13:15
Module Name:	src
Committed By:	drochner
Date:		Wed Jul 11 20:13:15 UTC 2007

Modified Files:
	src/sys/dev/usb: if_rum.c

Log Message:
Stopgap fix to avoid crash on detach if the attach failed due to eg
USB problems - just return in detach if the softc appears not to be
filled in completely.
(This is a common problem with usb and probably other drivers which
support detach; we need some API support to deal with this cleanly.)


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/sys/dev/usb/if_rum.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.