summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/pcmcia/if_ep_pcmcia.c4
-rw-r--r--sys/dev/pcmcia/if_sm_pcmcia.c4
-rw-r--r--sys/dev/pcmcia/if_wi_pcmcia.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/pcmcia/if_ep_pcmcia.c b/sys/dev/pcmcia/if_ep_pcmcia.c
index ed8ade5303f..cc169c59d26 100644
--- a/sys/dev/pcmcia/if_ep_pcmcia.c
+++ b/sys/dev/pcmcia/if_ep_pcmcia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ep_pcmcia.c,v 1.28 2002/03/14 01:27:01 millert Exp $ */
+/* $OpenBSD: if_ep_pcmcia.c,v 1.29 2002/07/01 13:31:06 fgsch Exp $ */
/* $NetBSD: if_ep_pcmcia.c,v 1.16 1998/08/17 23:20:40 thorpej Exp $ */
/*-
@@ -338,7 +338,7 @@ ep_pcmcia_attach(parent, self, aux)
return;
}
- printf(" port 0x%lx/%d", psc->sc_pcioh.addr, cfe->iospace[0].length);
+ printf(" port 0x%lx/%d", psc->sc_pcioh.addr, psc->sc_pcioh.size);
switch (pa->product) {
case PCMCIA_PRODUCT_3COM_3C562:
diff --git a/sys/dev/pcmcia/if_sm_pcmcia.c b/sys/dev/pcmcia/if_sm_pcmcia.c
index cf8f75d6a08..911c0a86ab6 100644
--- a/sys/dev/pcmcia/if_sm_pcmcia.c
+++ b/sys/dev/pcmcia/if_sm_pcmcia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sm_pcmcia.c,v 1.16 2002/03/14 01:27:01 millert Exp $ */
+/* $OpenBSD: if_sm_pcmcia.c,v 1.17 2002/07/01 13:31:06 fgsch Exp $ */
/* $NetBSD: if_sm_pcmcia.c,v 1.11 1998/08/15 20:47:32 thorpej Exp $ */
/*-
@@ -189,7 +189,7 @@ sm_pcmcia_attach(parent, self, aux)
return;
}
- printf(" port 0x%lx/%d", psc->sc_pcioh.addr, cfe->iospace[0].length);
+ printf(" port 0x%lx/%d", psc->sc_pcioh.addr, psc->sc_pcioh.size);
/*
* First try to get the Ethernet address from FUNCE/LANNID tuple.
diff --git a/sys/dev/pcmcia/if_wi_pcmcia.c b/sys/dev/pcmcia/if_wi_pcmcia.c
index 04b7e6c2d2f..8ef6965d25e 100644
--- a/sys/dev/pcmcia/if_wi_pcmcia.c
+++ b/sys/dev/pcmcia/if_wi_pcmcia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wi_pcmcia.c,v 1.36 2002/06/25 15:13:09 millert Exp $ */
+/* $OpenBSD: if_wi_pcmcia.c,v 1.37 2002/07/01 13:31:06 fgsch Exp $ */
/* $NetBSD: if_wi_pcmcia.c,v 1.14 2001/11/26 04:34:56 ichiro Exp $ */
/*
@@ -363,7 +363,7 @@ wi_pcmcia_attach(parent, self, aux)
}
state++;
- printf(" port 0x%lx/%d", psc->sc_pcioh.addr, cfe->iospace[0].length);
+ printf(" port 0x%lx/%d", psc->sc_pcioh.addr, psc->sc_pcioh.size);
sc->wi_ltag = sc->wi_btag = psc->sc_pcioh.iot;
sc->wi_lhandle = sc->wi_bhandle = psc->sc_pcioh.ioh;