From eb523c72cfc4cef74f172aa1918d92fa62052282 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Tue, 11 Jan 2005 05:38:01 +0000 Subject: The card activation failured message is lame, and not done for other busses, nor for the 16-bit cards. Eliminate it. --- sys/dev/pccbb/pccbb.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/pccbb/pccbb.c b/sys/dev/pccbb/pccbb.c index d88ec5a5bf00f..28b1432c2d72b 100644 --- a/sys/dev/pccbb/pccbb.c +++ b/sys/dev/pccbb/pccbb.c @@ -540,9 +540,7 @@ cbb_insert(struct cbb_softc *sc) } else if (sockstate & CBB_STATE_CB_CARD) { if (sc->cbdev != NULL) { sc->flags &= ~CBB_16BIT_CARD; - if (CARD_ATTACH_CARD(sc->cbdev) != 0) - device_printf(sc->dev, - "CardBus card activation failed\n"); + CARD_ATTACH_CARD(sc->cbdev); } else { device_printf(sc->dev, "CardBus card inserted, but no cardbus bus.\n"); -- cgit v1.3