Subject: CVS commit: [netbsd-2-0] src/sys/dev/ic
To: None <>
From: Matthias Scheler <>
List: source-changes
Date: 05/29/2004 14:08:18
Module Name:	src
Committed By:	tron
Date:		Sat May 29 14:08:18 UTC 2004

Modified Files:
	src/sys/dev/ic [netbsd-2-0]: wdc.c

Log Message:
Pull up revision 1.174 (requested by bouyer in ticket #397):
In wdcprobe1(), protect the register writability test with splbio().
What we do here seems to trigger interrupts on some pcmcia adapters, which
cause the kernel to hang.
Avoid touching registers of nonexistent drives, once we know which drive is
or is not here.
This makes the "IBM PCMCIA Portable CD-ROM Drive" (external CD drive with
PCMCIA adapter) work.

To generate a diff of this commit:
cvs rdiff -r1.172.2.1 -r1.172.2.2 src/sys/dev/ic/wdc.c

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