Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pcmcia awi is an 8-bit only card, so set the 8bit flag.
details: https://anonhg.NetBSD.org/src/rev/8fabf84a0ad7
branches: trunk
changeset: 482053:8fabf84a0ad7
user: chopps <chopps%NetBSD.org@localhost>
date: Sat Feb 12 19:58:35 2000 +0000
description:
awi is an 8-bit only card, so set the 8bit flag.
diffstat:
sys/dev/pcmcia/if_awi_pcmcia.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (22 lines):
diff -r 84761fdcf27e -r 8fabf84a0ad7 sys/dev/pcmcia/if_awi_pcmcia.c
--- a/sys/dev/pcmcia/if_awi_pcmcia.c Sat Feb 12 19:12:52 2000 +0000
+++ b/sys/dev/pcmcia/if_awi_pcmcia.c Sat Feb 12 19:58:35 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_awi_pcmcia.c,v 1.10 2000/02/03 08:52:21 enami Exp $ */
+/* $NetBSD: if_awi_pcmcia.c,v 1.11 2000/02/12 19:58:35 chopps Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -357,9 +357,9 @@
if (pcmcia_mem_alloc(psc->sc_pf, AM79C930_MEM_SIZE, &memh) != 0) {
printf("%s: unable to allocate memory space; using i/o only\n",
sc->sc_dev.dv_xname);
- } else if (pcmcia_mem_map(psc->sc_pf, PCMCIA_MEM_COMMON,
- AM79C930_MEM_BASE, AM79C930_MEM_SIZE,
- &memh, &memoff, &memwin)) {
+ } else if (pcmcia_mem_map(psc->sc_pf,
+ PCMCIA_WIDTH_MEM8|PCMCIA_MEM_COMMON, AM79C930_MEM_BASE,
+ AM79C930_MEM_SIZE, &memh, &memoff, &memwin)) {
printf("%s: unable to map memory space; using i/o only\n",
sc->sc_dev.dv_xname);
pcmcia_mem_free(psc->sc_pf, &memh);
Home |
Main Index |
Thread Index |
Old Index