Subject: CVS commit: src/sys/dev/ic
To: None <source-changes@NetBSD.org>
From: Joerg Sonnenberger <joerg@netbsd.org>
List: source-changes
Date: 05/18/2007 14:10:37
Module Name:	src
Committed By:	joerg
Date:		Fri May 18 14:10:37 UTC 2007

Modified Files:
	src/sys/dev/ic: rtl81x9.c

Log Message:
If the interrupt status register reads as 0xffff in rtk_intr, assume
that the card is gone and abort the loop. This fixes hot-plugging of
cardbus cards.

From FreeBSD's rl(4).


To generate a diff of this commit:
cvs rdiff -r1.73 -r1.74 src/sys/dev/ic/rtl81x9.c

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