From ceb7dfdec7cadfd491953e01ff211c4ef16d9978 Mon Sep 17 00:00:00 2001 From: imp Date: Fri, 27 Jul 2001 07:32:59 +0000 Subject: Additional clarification. --- sys/pccard/cardinfo.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'sys/pccard/cardinfo.h') diff --git a/sys/pccard/cardinfo.h b/sys/pccard/cardinfo.h index 0c48451..f31427e 100644 --- a/sys/pccard/cardinfo.h +++ b/sys/pccard/cardinfo.h @@ -78,13 +78,20 @@ * * Note, the above diagram is for the state. On suspend, the laststate * gets set to suspend to tell pccardd what happened. Also the nil state - * means that when the no state change has happened. + * means that when the no state change has happened. Note: if you eject + * while suspended in the inactive state, you will return to the + * empty state if you do not insert a new card and to the inactive state + * if you do insert a new card. * * Some might argue that inactive should be sticky forever and * eject/insert shouldn't take it out of that state. They might be * right. On the other hand, some would argue that eject resets all * state. They might be right. They both can't be right. The above * represents a reasonable compromise between the two. + * + * Some bridges allow one to query to see if the card was changed while + * we were suspended. Others do not. We make no use of this functionality + * at this time. */ enum cardstate { noslot, empty, suspend, filled, inactive }; -- cgit v1.1