diff options
| author | Warner Losh <imp@FreeBSD.org> | 2007-02-24 15:56:06 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2007-02-24 15:56:06 +0000 |
| commit | e2ae5821fe7078094b2fb5538d6f2b31fcb4fa5f (patch) | |
| tree | 6ccb3a8cd493afc064720967f96d43ea72e1481f /sys/dev/exca | |
| parent | c55e033cca5f567d8f4b08d5f075db18c1c629d7 (diff) | |
Notes
Diffstat (limited to 'sys/dev/exca')
| -rw-r--r-- | sys/dev/exca/exca.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/exca/exca.c b/sys/dev/exca/exca.c index a46ba4763c07..a7ff95668bdd 100644 --- a/sys/dev/exca/exca.c +++ b/sys/dev/exca/exca.c @@ -766,7 +766,7 @@ exca_probe_slots(device_t dev, struct exca_softc *exca, bus_space_tag_t iot, void exca_insert(struct exca_softc *exca) { - if (exca->pccarddev != NULL) { + if (device_is_attached(exca->pccarddev)) { if (CARD_ATTACH_CARD(exca->pccarddev) != 0) device_printf(exca->dev, "PC Card card activation failed\n"); |
