freebsd-dev/sys/pccard
Warner Losh c1c1a23f53 Attempt to fix and document interactions between suspend/resume and pccardc
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.
2001-07-27 07:21:42 +00:00
..
cardinfo.h Attempt to fix and document interactions between suspend/resume and pccardc 2001-07-27 07:21:42 +00:00
cis.h MFPAO3. Improvement of of pccard cis tuple parsing capability. 2000-04-26 15:36:43 +00:00
driver.h Axe a few __P() while I'm in the neighborhood. 2001-03-22 05:49:18 +00:00
i82365.h On PC-98, map IRQ 6 to IRQ 7 at the pcic level. That is, when we're 2001-06-16 06:18:16 +00:00
mecia.c Initialize cinfo structure at compile time rather than run time since 2001-05-19 06:17:37 +00:00
meciareg.h pcic98reg.h is now contained in meciareg.h. 2001-05-15 23:53:18 +00:00
pccard_beep.c Minor style(9) changes: 2001-05-14 06:15:24 +00:00
pccard_nbk.c Update copyright info 2001-05-25 18:03:07 +00:00
pccard_nbk.h Update copyright info 2001-05-25 18:03:07 +00:00
pccard.c Attempt to fix and document interactions between suspend/resume and pccardc 2001-07-27 07:21:42 +00:00
pcic_isa.c Attempt to fix and document interactions between suspend/resume and pccardc 2001-07-27 07:21:42 +00:00
pcic_pci.c Give hopefully better diagnostics about the card types we reject. 2001-07-27 07:14:12 +00:00
pcic_pci.h Add new pci attachment for pcic. This supports pci cards as well as 2001-06-04 06:49:46 +00:00
pcic.c Attempt to fix and document interactions between suspend/resume and pccardc 2001-07-27 07:21:42 +00:00
pcicvar.h Attempt to fix and document interactions between suspend/resume and pccardc 2001-07-27 07:21:42 +00:00
plxcard.c Change plxic to plxcard, per phk. He thnks plxic is too generic a 2001-06-01 05:20:38 +00:00
plxcardreg.h Change plxic to plxcard, per phk. He thnks plxic is too generic a 2001-06-01 05:20:38 +00:00
slot.h Attempt to fix and document interactions between suspend/resume and pccardc 2001-07-27 07:21:42 +00:00