Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pcmcia map common memory 8 bit for cis scan when fol...
details: https://anonhg.NetBSD.org/src/rev/f9def252255a
branches: trunk
changeset: 481957:f9def252255a
user: chopps <chopps%NetBSD.org@localhost>
date: Thu Feb 10 09:01:52 2000 +0000
description:
map common memory 8 bit for cis scan when following longlinks.
diffstat:
sys/dev/pcmcia/pcmcia_cis.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 9811c3a66ec0 -r f9def252255a sys/dev/pcmcia/pcmcia_cis.c
--- a/sys/dev/pcmcia/pcmcia_cis.c Thu Feb 10 09:00:19 2000 +0000
+++ b/sys/dev/pcmcia/pcmcia_cis.c Thu Feb 10 09:01:52 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcmcia_cis.c,v 1.16 2000/01/25 06:36:17 chopps Exp $ */
+/* $NetBSD: pcmcia_cis.c,v 1.17 2000/02/10 09:01:52 chopps Exp $ */
#define PCMCIACISDEBUG
@@ -392,7 +392,8 @@
longlink_addr *= 2;
pcmcia_chip_mem_map(pct, pch, longlink_common ?
- PCMCIA_MEM_COMMON : PCMCIA_MEM_ATTR,
+ (PCMCIA_WIDTH_MEM8 | PCMCIA_MEM_COMMON) :
+ PCMCIA_MEM_ATTR,
longlink_addr, PCMCIA_CIS_SIZE,
&pcmh, &tuple.ptr, &window);
@@ -412,7 +413,8 @@
pcmcia_chip_mem_map(pct, pch,
mfc[mfc_index].common ?
- PCMCIA_MEM_COMMON : PCMCIA_MEM_ATTR,
+ ( PCMCIA_WIDTH_MEM8 | PCMCIA_MEM_COMMON )
+ : PCMCIA_MEM_ATTR,
mfc[mfc_index].addr, PCMCIA_CIS_SIZE,
&pcmh, &tuple.ptr, &window);
Home |
Main Index |
Thread Index |
Old Index