From 2e553bc25069eeeaf344cab2b006655cb04de92c Mon Sep 17 00:00:00 2001 From: nate Date: Tue, 28 Oct 1997 17:51:25 +0000 Subject: - 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 --- sys/pccard/cardinfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/pccard/cardinfo.h') diff --git a/sys/pccard/cardinfo.h b/sys/pccard/cardinfo.h index 159a8e7..91da726 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. -- cgit v1.1