summaryrefslogtreecommitdiffstats
path: root/lib/libusb
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2015-01-14 05:41:33 +0000
committerimp <imp@FreeBSD.org>2015-01-14 05:41:33 +0000
commit5a9676a3fd89f1bdeaf7fc81c8359fde923c94f0 (patch)
tree03e8b75d5622afe91bdb056f1cb7eeafb54a1f89 /lib/libusb
parent6ea154d79358191f8b35a57387bfe5e064d385ef (diff)
downloadFreeBSD-src-5a9676a3fd89f1bdeaf7fc81c8359fde923c94f0.zip
FreeBSD-src-5a9676a3fd89f1bdeaf7fc81c8359fde923c94f0.tar.gz
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
Diffstat (limited to 'lib/libusb')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud