From 8fe5efa81f5c49f6db8548d384541a8305633de5 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Thu, 8 Sep 2005 17:18:42 +0000 Subject: [PATCH] Minor improvement for the suspend case for Ricoh based (and others) CardBus bridges. --- sys/dev/pccbb/pccbb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/pccbb/pccbb.c b/sys/dev/pccbb/pccbb.c index 120b115773ba..235399c73351 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 */