diff options
author | imp <imp@FreeBSD.org> | 2005-01-11 05:38:01 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-01-11 05:38:01 +0000 |
commit | 57e0fb88c0bbf37dd4599054eef80d2d6d8363cb (patch) | |
tree | 1345cb64055432e57aee4347c63b7e92884faf0c /sys/dev/pccbb | |
parent | d4a4785a60f768ed0f525171050b0145104ab30e (diff) | |
download | FreeBSD-src-57e0fb88c0bbf37dd4599054eef80d2d6d8363cb.zip FreeBSD-src-57e0fb88c0bbf37dd4599054eef80d2d6d8363cb.tar.gz |
The card activation failured message is lame, and not done for other
busses, nor for the 16-bit cards. Eliminate it.
Diffstat (limited to 'sys/dev/pccbb')
-rw-r--r-- | sys/dev/pccbb/pccbb.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pccbb/pccbb.c b/sys/dev/pccbb/pccbb.c index d88ec5a..28b1432 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"); |