Date: Sun, 17 Jul 2005 07:48:28 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/pccbb pccbb.c Message-ID: <200507170748.j6H7mTXW087315@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2005-07-17 07:48:28 UTC FreeBSD src repository Modified files: sys/dev/pccbb pccbb.c Log: 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. Revision Changes Path 1.125 +38 -10 src/sys/dev/pccbb/pccbb.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507170748.j6H7mTXW087315>