diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pcmcia/com_pcmcia.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/pcmcia/com_pcmcia.c b/sys/dev/pcmcia/com_pcmcia.c index 94fc99eb1b3..7864f7f6f7c 100644 --- a/sys/dev/pcmcia/com_pcmcia.c +++ b/sys/dev/pcmcia/com_pcmcia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: com_pcmcia.c,v 1.5 1998/10/14 07:34:43 fgsch Exp $ */ +/* $OpenBSD: com_pcmcia.c,v 1.6 1998/12/21 09:56:07 niklas Exp $ */ /* $NetBSD: com_pcmcia.c,v 1.15 1998/08/22 17:47:58 msaitoh Exp $ */ /*- @@ -245,15 +245,15 @@ retry: if (autoalloc == 1) { if (cfe->iomask == 3) { - if (!pcmcia_io_alloc(pa->pf, 0, cfe->iospace[0].length, - cfe->iospace[0].length, - &psc->sc_pcioh)) { + if (!pcmcia_io_alloc(pa->pf, 0, + cfe->iospace[0].length, + cfe->iospace[0].length, &psc->sc_pcioh)) { goto found; } } } else { if (!pcmcia_io_alloc(pa->pf, cfe->iospace[0].start, - cfe->iospace[0].length, 0, &psc->sc_pcioh)) { + cfe->iospace[0].length, 1, &psc->sc_pcioh)) { goto found; } } |