freebsd-nq/sys/dev/pccbb
Warner Losh 8b91d5b008 Various interrelated fixes to make suspend / resume work better. We now
can suspend / resume and unload / load cbb and cardbus without errors
on my Lenovo T400, which wasn't possible before. Cards suspending
and resuming in the CardBus slot not yet tested.
o Enable memory cycles to the bridge early (as part of the new
  cbb_pci_bridge_init). This fixes the Bad VCC errors which were
  caused by the code accessing the device registers with this
  cleared. The suspend / resume process clears it.
o Refactor suspend / resume into bus specific code (though the ISA
  code is just stubbed). This isn't strictly necessary, but makes
  the initializaiton code more uniform and should be more bullet
  proof in the face of variant behavior among cardbus bridges.
o Fixup comments in the power-up sequence to reflect reality. These
  comments were written for one regime of power-up, but not updated
  as things were revised.
o Add a paranoid small delay (100ms) to cover noisy cards powering
  down.
o Fix some debugging prints to be easier to grep from dmesg.

Sponsored by: Netflix
2015-01-14 05:41:33 +00:00
..
pccbb_isa.c Various interrelated fixes to make suspend / resume work better. We now 2015-01-14 05:41:33 +00:00
pccbb_pci.c Various interrelated fixes to make suspend / resume work better. We now 2015-01-14 05:41:33 +00:00
pccbb.c Various interrelated fixes to make suspend / resume work better. We now 2015-01-14 05:41:33 +00:00
pccbbdevid.h
pccbbreg.h
pccbbvar.h Various interrelated fixes to make suspend / resume work better. We now 2015-01-14 05:41:33 +00:00