Subject: CVS commit: src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: Charles M. Hannum <mycroft@netbsd.org>
List: source-changes
Date: 01/16/2005 08:51:55
Module Name:	src
Committed By:	mycroft
Date:		Sun Jan 16 08:51:55 UTC 2005

Modified Files:
	src/sys/dev/pci: pccbb.c pccbbvar.h

Log Message:
Christos's crappy Libretto 100CT has an extremely long ramp for socket Vcc
(violating the PC Card spec), so... use the "power cycle" socket event to
determine when we've reached Vcc before proceeding, rather than using a fixed
amount of time.  This has the double advantage that it makes the card attach
time even shorter on sane systems -- the minimum is now ~38ms on my i8500
rather than 222ms.

Probably a similar change should be made to pcic, but it was hard enough
figuring out whether it would work with pccbb.  The chip specs suck.

For now, I'm leaving in a couple of additional printf()s in the hope that I
will get some interesting data from them.


To generate a diff of this commit:
cvs rdiff -r1.110 -r1.111 src/sys/dev/pci/pccbb.c
cvs rdiff -r1.21 -r1.22 src/sys/dev/pci/pccbbvar.h

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