diff options
| author | Warner Losh <imp@FreeBSD.org> | 2003-10-07 04:29:04 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2003-10-07 04:29:04 +0000 |
| commit | a1721d84eb8df0f599bd5f59043fad01c8cc23bb (patch) | |
| tree | 50682054d62bf7aee53db8e3d5754f370d0f1304 /sys/dev | |
| parent | d25d7d01bef14c01db873856e429d5ce72e94557 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/exca/exca.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/exca/exca.c b/sys/dev/exca/exca.c index 77e892f589d16..54b85de39e3b8 100644 --- a/sys/dev/exca/exca.c +++ b/sys/dev/exca/exca.c @@ -576,7 +576,6 @@ exca_wait_ready(struct exca_softc *sc) void exca_reset(struct exca_softc *sc, device_t child) { - int cardtype; int win; /* enable socket i/o */ @@ -595,11 +594,8 @@ exca_reset(struct exca_softc *sc, device_t child) /* disable all address windows */ exca_putb(sc, EXCA_ADDRWIN_ENABLE, 0); - CARD_GET_TYPE(child, &cardtype); - exca_setb(sc, EXCA_INTR, (cardtype == PCCARD_IFTYPE_IO) ? - EXCA_INTR_CARDTYPE_IO : EXCA_INTR_CARDTYPE_MEM); - DEVPRINTF(sc->dev, "card type is %s\n", - (cardtype == PCCARD_IFTYPE_IO) ? "io" : "mem"); + exca_setb(sc, EXCA_INTR, EXCA_INTR_CARDTYPE_IO); + DEVPRINTF(sc->dev, "card type is io\n"); /* reinstall all the memory and io mappings */ for (win = 0; win < EXCA_MEM_WINS; ++win) |
