Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Sep 2001 16:53:57 +0900
From:      non@ever.sanda.gr.jp
To:        stable@FreeBSD.ORG
Subject:   Re: PC Card memory window 
Message-ID:  <20010902165357Q.non@ever.sanda.gr.jp>
In-Reply-To: <20010825090731N.non@ever.sanda.gr.jp>
References:  <200108230755.f7N7tUW82259@harmony.village.org> <200108241855.f7OIt8W96250@harmony.village.org> <20010825090731N.non@ever.sanda.gr.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
I found the reason why nsp in SMIT mode which uses iomem window does
not work.

The SMIT mode of nsp requires 16 bits access but the change in cardd.c 
(1.65->1.66 in -current) made the access into 8 bits. The patch below
(diff with -current) fixed the problem, though I don't know if some
other cards need 8 bits access.

> From: Warner Losh <imp@harmony.village.org>
> Date: Fri, 24 Aug 2001 12:55:08 -0600
> > : memory  0xd4000  96k
> > : in /etc/defautls/pccard.conf seems to be ignored,
> > 
> > OK.  It should not be ignored.  

Still this configuration is ignored.

// Noriaki Mitsunaga //

Index: cardd.c
===================================================================
RCS file: /home2/FreeBSD/ncvs/src/usr.sbin/pccard/pccardd/cardd.c,v
retrieving revision 1.72
diff -u -r1.72 cardd.c
--- cardd.c	2001/08/19 19:16:26	1.72
+++ cardd.c	2001/09/02 07:48:18
@@ -706,7 +706,7 @@
 			sp->mem.cardaddr = 0x4000;
 			sp->mem.flags = MDF_ACTIVE | MDF_16BITS;
 		} else {
-			sp->mem.flags = MDF_ACTIVE;
+			sp->mem.flags = MDF_ACTIVE | MDF_16BITS;
 		}
 
 		if (sp->mem.flags & MDF_ACTIVE)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010902165357Q.non>