Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic always map attr memory 8 bit, since its defined t...



details:   https://anonhg.NetBSD.org/src/rev/9811c3a66ec0
branches:  trunk
changeset: 481956:9811c3a66ec0
user:      chopps <chopps%NetBSD.org@localhost>
date:      Thu Feb 10 09:00:19 2000 +0000

description:
always map attr memory 8 bit, since its defined that way.

diffstat:

 sys/dev/ic/i82365.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 115ac00c9e82 -r 9811c3a66ec0 sys/dev/ic/i82365.c
--- a/sys/dev/ic/i82365.c       Thu Feb 10 08:45:44 2000 +0000
+++ b/sys/dev/ic/i82365.c       Thu Feb 10 09:00:19 2000 +0000
@@ -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 @@
        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; */



Home | Main Index | Thread Index | Old Index