diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-05-28 12:41:56 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-05-28 12:41:56 +0000 |
commit | b48db2f9debb867cf056a1c1aef5d98a42e0a1a1 (patch) | |
tree | 188a0be3f643582601cfb06473e99371055aaf47 | |
parent | 937b186c70e4e51eb429409f4a8769177598a944 (diff) |
0 alignment is bad, now aic at pcmcia at least attaches!
-rw-r--r-- | sys/dev/pcmcia/aic_pcmcia.c | 4 | ||||
-rw-r--r-- | sys/dev/pcmcia/if_ep_pcmcia.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pcmcia/aic_pcmcia.c b/sys/dev/pcmcia/aic_pcmcia.c index 750d87ef8be..8be6947d65a 100644 --- a/sys/dev/pcmcia/aic_pcmcia.c +++ b/sys/dev/pcmcia/aic_pcmcia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aic_pcmcia.c,v 1.2 1998/10/14 07:34:43 fgsch Exp $ */ +/* $OpenBSD: aic_pcmcia.c,v 1.3 1999/05/28 12:41:55 niklas Exp $ */ /* $NetBSD: aic_pcmcia.c,v 1.6 1998/07/19 17:28:15 christos Exp $ */ /* @@ -133,7 +133,7 @@ aic_pcmcia_attach(parent, self, aux) continue; if (pcmcia_io_alloc(pa->pf, cfe->iospace[0].start, - cfe->iospace[0].length, 0, &psc->sc_pcioh) == 0) + cfe->iospace[0].length, AIC_NPORTS, &psc->sc_pcioh) == 0) break; } diff --git a/sys/dev/pcmcia/if_ep_pcmcia.c b/sys/dev/pcmcia/if_ep_pcmcia.c index d52dd340572..9cce564f64f 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.13 1999/01/28 04:58:30 fgsch Exp $ */ +/* $OpenBSD: if_ep_pcmcia.c,v 1.14 1999/05/28 12:41:55 niklas Exp $ */ /* $NetBSD: if_ep_pcmcia.c,v 1.16 1998/08/17 23:20:40 thorpej Exp $ */ /*- @@ -309,7 +309,7 @@ ep_pcmcia_attach(parent, self, aux) if (i & 0x80) continue; if (pcmcia_io_alloc(pa->pf, i, cfe->iospace[0].length, - 0, &psc->sc_pcioh) == 0) + cfe->iospace[0].length, &psc->sc_pcioh) == 0) break; } if (i >= maxaddr) { |