Subject: CVS commit: src/sys/dev/cardbus
To: None <source-changes@NetBSD.org>
From: Masanori Kanaoka <kanaoka@netbsd.org>
List: source-changes
Date: 03/11/2004 16:34:54
Module Name:	src
Committed By:	kanaoka
Date:		Thu Mar 11 16:34:54 UTC 2004

Modified Files:
	src/sys/dev/cardbus: com_cardbus.c

Log Message:
 - Add (missed)"csc->cc_ih = NULL;" in com_cardbus_disable().
 - Check "csc->cc_ih != NULL" before cardbus_intr_disestablish()
   in com_cardbus_detach().

This fixed panic when the card removed.
The card is a "Xircom RealPort Cardbus Ethernet 10/100+Modem 56".

Reported & Tested by Peter Postma <peter.postma@chello.nl>
on current-users.


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 src/sys/dev/cardbus/com_cardbus.c

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