summaryrefslogtreecommitdiffstats
path: root/sys/dev/pccbb
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-08-27 01:30:46 +0000
committerimp <imp@FreeBSD.org>2001-08-27 01:30:46 +0000
commit6153dc75cf0d4a084abfa1682acfb6b43ff02179 (patch)
tree8eb6f737c529e72f82de56caddbe2371eeb82fa0 /sys/dev/pccbb
parentd4bbe5708a7e6f2319c93354c1ba08c4b616ea28 (diff)
downloadFreeBSD-src-6153dc75cf0d4a084abfa1682acfb6b43ff02179.zip
FreeBSD-src-6153dc75cf0d4a084abfa1682acfb6b43ff02179.tar.gz
Note difficulties we had in OLDCARD using NEWCARD's methods of debouncing card event interrupts.
Diffstat (limited to 'sys/dev/pccbb')
-rw-r--r--sys/dev/pccbb/pccbb.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/pccbb/pccbb.c b/sys/dev/pccbb/pccbb.c
index e914268..14513fb 100644
--- a/sys/dev/pccbb/pccbb.c
+++ b/sys/dev/pccbb/pccbb.c
@@ -700,6 +700,12 @@ pccbb_event_thread(void *arg)
* Delay 1 second, make sure the user is done with
* whatever he is doing. We tsleep on sc->sc_flags,
* which should never be woken up.
+ *
+ * XXX Note: This can cause problems on card
+ * removal. See OLDCARD's ISR for how you may
+ * have to deal with the debouncing problem. The
+ * crux of the issue is interrupts delivered to
+ * the card after eject are unstable.
*/
tsleep (&sc->sc_flags, PWAIT, "pccbbev", 1*hz);
}
OpenPOWER on IntegriCloud