Subject: CVS commit: src/sys/dev/ic
To: None <>
From: Manuel Bouyer <>
List: source-changes
Date: 05/15/2004 17:15:10
Module Name:	src
Committed By:	bouyer
Date:		Sat May 15 17:15:10 UTC 2004

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

Log Message:
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.173 -r1.174 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.