Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pcmcia Pass an appropriate value as alignment (0 is ...
details: https://anonhg.NetBSD.org/src/rev/93b1e5ea50cd
branches: trunk
changeset: 481527:93b1e5ea50cd
user: enami <enami%NetBSD.org@localhost>
date: Tue Feb 01 10:12:04 2000 +0000
description:
Pass an appropriate value as alignment (0 is not such a value).
diffstat:
sys/dev/pcmcia/if_awi_pcmcia.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 11dd7d6e9d90 -r 93b1e5ea50cd sys/dev/pcmcia/if_awi_pcmcia.c
--- a/sys/dev/pcmcia/if_awi_pcmcia.c Tue Feb 01 10:00:41 2000 +0000
+++ b/sys/dev/pcmcia/if_awi_pcmcia.c Tue Feb 01 10:12:04 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_awi_pcmcia.c,v 1.8 2000/02/01 10:00:41 enami Exp $ */
+/* $NetBSD: if_awi_pcmcia.c,v 1.9 2000/02/01 10:12:04 enami Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -194,7 +194,8 @@
* if not, try a different CIS string..
*/
if (pcmcia_io_alloc(psc->sc_pf, cfe->iospace[0].start,
- cfe->iospace[0].length, 0, &psc->sc_pcioh) != 0)
+ cfe->iospace[0].length, cfe->iospace[0].length,
+ &psc->sc_pcioh) != 0)
goto fail;
if (pcmcia_io_map(psc->sc_pf, PCMCIA_WIDTH_AUTO, 0, psc->sc_pcioh.size,
Home |
Main Index |
Thread Index |
Old Index