Subject: CVS commit: [netbsd-2-0] src/sys/dev/ic
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <firstname.lastname@example.org>
Date: 05/29/2004 14:08:18
Module Name: src
Committed By: tron
Date: Sat May 29 14:08:18 UTC 2004
src/sys/dev/ic [netbsd-2-0]: wdc.c
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.
Add some WDCDEBUG_PRINT((), DEBUG_PROBE).
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 -r126.96.36.199 -r188.8.131.52 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.