diff options
author | Nate Williams <nate@FreeBSD.org> | 1997-10-28 17:51:25 +0000 |
---|---|---|
committer | Nate Williams <nate@FreeBSD.org> | 1997-10-28 17:51:25 +0000 |
commit | ec510cabb066488af6e05697c867f11652e96a58 (patch) | |
tree | dd8e764dd628744d7dc754a254883eab979eb312 /sys/pccard/cardinfo.h | |
parent | af8eceb3f642774df3e5b81de7f39805a796adcd (diff) | |
download | src-ec510cabb066488af6e05697c867f11652e96a58.tar.gz src-ec510cabb066488af6e05697c867f11652e96a58.zip |
- Disable cards when doing a suspend by emulating that they have been
removed. Add a new state 'suspend' so we 'fake' insertion events at
resume time for the cards that have been suspended.
[
The code still works if you remove the card during suspend, switch the
card during suspend, or combinations of both.
]
Reviewed by: frf@xocolatl.com
Notes
Notes:
svn path=/head/; revision=30815
Diffstat (limited to 'sys/pccard/cardinfo.h')
-rw-r--r-- | sys/pccard/cardinfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pccard/cardinfo.h b/sys/pccard/cardinfo.h index 159a8e761761..91da7268af43 100644 --- a/sys/pccard/cardinfo.h +++ b/sys/pccard/cardinfo.h @@ -54,7 +54,7 @@ /* * Slot states for PIOCGSTATE */ -enum cardstate { noslot, empty, filled }; +enum cardstate { noslot, empty, suspend, filled }; /* * Descriptor structure for memory map. |