summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1998-12-21 09:56:08 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1998-12-21 09:56:08 +0000
commit4bebe9596d9a9b6790badc819b70abcc91d7f27a (patch)
tree422829789e7b47423a29bafb5c6d984fd0f7c83a /sys
parentbcf198c74ae9911ff69617b46efbb38b90864535 (diff)
zero alignment is not allowed. shorten some long lines.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pcmcia/com_pcmcia.c10
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;
}
}