diff --git a/sys/dev/pccard/card_if.m b/sys/dev/pccard/card_if.m index b321d226a04f..176249f45815 100644 --- a/sys/dev/pccard/card_if.m +++ b/sys/dev/pccard/card_if.m @@ -93,15 +93,6 @@ METHOD int detach_card { int flags; } -# -# pccard/cardbus buses call this to request a reprobe of the bus. -# reprobe only initiated if the child bus is the same type the card inserted. -# -METHOD int reprobe_card { - device_t dev; - device_t child; -} - HEADER { #define DETACH_FORCE 0x01 } diff --git a/sys/dev/pccard/pccard.c b/sys/dev/pccard/pccard.c index aa42cf2a5b3e..d57e17826108 100644 --- a/sys/dev/pccard/pccard.c +++ b/sys/dev/pccard/pccard.c @@ -248,8 +248,6 @@ pccard_attach_card(device_t dev) pccard_function_disable(pf); } } - if (sc->sc_enabled_count == 0) - pccard_detach_card(dev, 0); return (0); } @@ -975,11 +973,6 @@ pccard_driver_added(device_t dev, driver_t *driver) struct pccard_function *pf; device_t child; - if (sc->sc_enabled_count == 0) { - CARD_REPROBE_CARD(device_get_parent(dev), dev); - return; - } - STAILQ_FOREACH(pf, &sc->card.pf_head, pf_list) { if (STAILQ_EMPTY(&pf->cfe_head)) continue;