freebsd-dev/sys/dev/pccbb
Warner Losh 85ef2343c4 The CD interrupt should only be enabled after we've initialized the
card.  Mask it while we're doing power things, as the PC Card standard
suggests.  Also, poll the POWER_CYCLE bit 10x a second as well as
providing a timeout for power cycle interrupt to happen.

The Ricoh '475 that I have doesn't seem to generate an interrupt for
power at the present time, so the polling is necessary for reasons as
yet unknown.  This results in an interrupt storm warning that I'm
still trying to quantify (the o2micro trick doesn't work to mitigate
this storm).  At the very least, this should help those users that
lost pccards on boot with the prior rev of this code.  My VAIO
PCG-505TS is now happier, but more investigation is necessary.
2005-07-17 07:48:28 +00:00
..
pccbb_isa.c Use the FreeBSD standard license, since there's no reason to use the 2005-01-11 05:33:18 +00:00
pccbb_pci.c Omnibus power and interrupt fixes: 2005-07-14 20:46:59 +00:00
pccbb.c The CD interrupt should only be enabled after we've initialized the 2005-07-17 07:48:28 +00:00
pccbbdevid.h Use the FreeBSD standard license, since there's no reason to use the 2005-01-11 05:33:18 +00:00
pccbbreg.h Use the standard FreeBSD license for these files. 2005-01-13 19:05:25 +00:00
pccbbvar.h Omnibus power and interrupt fixes: 2005-07-14 20:46:59 +00:00