summaryrefslogtreecommitdiffstats
path: root/sys/dev/pccbb
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-09-08 17:18:42 +0000
committerimp <imp@FreeBSD.org>2005-09-08 17:18:42 +0000
commitfc07baa4602d0f93acb217e81c98ab6057e2f88d (patch)
treec7faf1776a9a4ac0b0e2188d93a9c7b862a28625 /sys/dev/pccbb
parentef20387462249d9fa96d969e6271e6bff631454a (diff)
downloadFreeBSD-src-fc07baa4602d0f93acb217e81c98ab6057e2f88d.zip
FreeBSD-src-fc07baa4602d0f93acb217e81c98ab6057e2f88d.tar.gz
Minor improvement for the suspend case for Ricoh based (and others)
CardBus bridges.
Diffstat (limited to 'sys/dev/pccbb')
-rw-r--r--sys/dev/pccbb/pccbb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/pccbb/pccbb.c b/sys/dev/pccbb/pccbb.c
index 120b115..235399c 100644
--- a/sys/dev/pccbb/pccbb.c
+++ b/sys/dev/pccbb/pccbb.c
@@ -1554,6 +1554,7 @@ cbb_suspend(device_t self)
int error = 0;
struct cbb_softc *sc = device_get_softc(self);
+ cbb_power_disable_socket(device_get_parent(self), self);
cbb_set(sc, CBB_SOCKET_MASK, 0); /* Quiet hardware */
bus_teardown_intr(self, sc->irq_res, sc->intrhand);
sc->flags &= ~CBB_CARD_OK; /* Card is bogus now */
OpenPOWER on IntegriCloud