5323d94f50
power x 0. pccardc power x 0 used to disable the slot. But a suspend/resume would reactivate the pccard. It no longer does that. Now the disabling of the slot is sticy until it is reset with power x 1 or the card is ejected. This seems closer to correct behavior to me. o Process all card state changes the same using pccard_do_stat_change(). o Cleanup disabling the card so that we can preserve the state after the change. Basically, don't set it to empty as often as we do. o On suspend, the new state is "empty" and the laststate is "suspend" o Document state machine with a diagram of states and edges. The edges are labeld to tell the reader what event causes the external state changes. o "machdep.pccard.pcic_resume_reset" may be obsolete now. We always call the bridge driver's resume method on resume now. Otherwise cards won't automatically show up. If it needs to stay, I'll add it back. |
||
---|---|---|
.. | ||
cardinfo.h | ||
cis.h | ||
driver.h | ||
i82365.h | ||
mecia.c | ||
meciareg.h | ||
pccard_beep.c | ||
pccard_nbk.c | ||
pccard_nbk.h | ||
pccard.c | ||
pcic_isa.c | ||
pcic_pci.c | ||
pcic_pci.h | ||
pcic.c | ||
pcicvar.h | ||
plxcard.c | ||
plxcardreg.h | ||
slot.h |