Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Martin Husemann <martin@netbsd.hut.fi>
List: source-changes
Date: 02/11/2001 01:22:12
Module Name:	syssrc
Committed By:	martin
Date:		Sat Feb 10 23:22:11 UTC 2001

Modified Files:
	syssrc/sys/dev/pcmcia: pcmcia_cis.c

Log Message:
Stopgap fix for PR 9984: sprinkle some (small) delays at appropriate
places into the CIS reading code.

The card in question has IO8 only enabled in its CIS info and is apparently
not able to keep up with quick reads. It words fine in a pcmcia slot but
panics(!) the kernel in a TI 1250 cardbus slot. This may be a failure of
the pci cardbus code when initializing this bridge. When finding (and
fixing) that, we should back this change out.

The card I am testing with is not broken, I have multiple versions of it
(AVM Fritz! pcmcia ISDN card), all work fine on windows and all cause
us to panic because of bogus CIS info read.

XXX - panicing because of bogus CIS data is probably another error.


To generate a diff of this commit:
cvs rdiff -r1.20 -r1.21 syssrc/sys/dev/pcmcia/pcmcia_cis.c

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