aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-09-10 06:32:18 +0000
committerWarner Losh <imp@FreeBSD.org>2002-09-10 06:32:18 +0000
commit2d7a3e94bd087aff4461e093887987e9220e286d (patch)
tree99bce9bed3b5527887dfd64ae72ae2ed1fdad141 /sys/dev
parent2b8356955f6efe0c0e18b7c44f73ada3808687a3 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pccard/card_if.m9
-rw-r--r--sys/dev/pccard/pccard.c7
2 files changed, 0 insertions, 16 deletions
diff --git a/sys/dev/pccard/card_if.m b/sys/dev/pccard/card_if.m
index b321d226a04f1..176249f45815d 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 aa42cf2a5b3e2..d57e178261088 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;