From 44b423d73b62bf129118711ab0ea8ea0c8f28878 Mon Sep 17 00:00:00 2001 From: chopps Date: Thu, 10 Feb 2000 09:00:19 +0000 Subject: [PATCH] always map attr memory 8 bit, since its defined that way. --- sys/dev/ic/i82365.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/dev/ic/i82365.c b/sys/dev/ic/i82365.c index cbb15e715c0b..8716e5fae92f 100644 --- a/sys/dev/ic/i82365.c +++ b/sys/dev/ic/i82365.c @@ -1,4 +1,4 @@ -/* $NetBSD: i82365.c,v 1.46 2000/02/05 20:02:42 nathanw Exp $ */ +/* $NetBSD: i82365.c,v 1.47 2000/02/10 09:00:19 chopps Exp $ */ #define PCICDEBUG @@ -921,7 +921,8 @@ pcic_chip_do_mem_map(h, win) int reg; int kind = h->mem[win].kind & ~PCMCIA_WIDTH_MEM_MASK; int mem8 = - (h->mem[win].kind & PCMCIA_WIDTH_MEM_MASK) == PCMCIA_WIDTH_MEM8; + (h->mem[win].kind & PCMCIA_WIDTH_MEM_MASK) == PCMCIA_WIDTH_MEM8 + || (kind == PCMCIA_MEM_ATTR); DPRINTF(("mem8 %d\n", mem8)); /* mem8 = 1; */