summaryrefslogtreecommitdiffstats
path: root/sys/pccard/cardinfo.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-07-27 07:32:59 +0000
committerimp <imp@FreeBSD.org>2001-07-27 07:32:59 +0000
commitceb7dfdec7cadfd491953e01ff211c4ef16d9978 (patch)
tree45ef2e2031924796422a60b629d7b804e31f6b0a /sys/pccard/cardinfo.h
parent5323d94f5056a1cff6da3a58669e5415800777c0 (diff)
downloadFreeBSD-src-ceb7dfdec7cadfd491953e01ff211c4ef16d9978.zip
FreeBSD-src-ceb7dfdec7cadfd491953e01ff211c4ef16d9978.tar.gz
Additional clarification.
Diffstat (limited to 'sys/pccard/cardinfo.h')
-rw-r--r--sys/pccard/cardinfo.h9
1 files changed, 8 insertions, 1 deletions
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 };
OpenPOWER on IntegriCloud